|

R: Get data from a NetCDF

List the data attributes Accessing the var property of our netCDF varialbe will list the data attributes for the netCDF file. The output shows us this dataset has one data attribute with the name ‘data’. Which is contained within the names property of var. Calling the names property directly after the attributes() call gives the same result. We can get the name of specific…

|

PyQGIS: Loading and symbolizing raster layers

More information can be found in the PyQGIS Developer Cookbook. Requirements QGIS version 3.0, or greater Objectives Load and symbolize a raster layer with pyqgis Get statistics from a raster band Open the QGIS Python Console From the menu, select Plugins -> Python Console, or Ctrl + Alt + P (Windows) You can type directly into…