[GRASS-user] Extracting data from 4D or higher D (not 3D) NetCDF file

Stefan Blumentrath Stefan.Blumentrath at nina.no
Thu Jun 3 07:36:56 PDT 2021

Hei Ken,

I am working on an import module for that right now, if the netCDF file follows the CF convention.

I do have a prototype in a private git repo. Will invite you to test if you like...
Hope I can publish it soon!


-----Original Message-----
From: grass-user <grass-user-bounces at lists.osgeo.org> On Behalf Of Ken Mankoff
Sent: torsdag 3. juni 2021 14:52
To: GRASS user list <grass-user at lists.osgeo.org>
Subject: [GRASS-user] Extracting data from 4D or higher D (not 3D) NetCDF file

Hello GRASS List,

I regularly extract raster slices from a 3D NetCDF using the 'band' option to r.external or r.in.gdal.

I now have a NetCDF file with a 4D raster (x,y,layer,t). Is there some way to access all x, all y, one layer, and loop through t?


grass-user mailing list
grass-user at lists.osgeo.org

More information about the grass-user mailing list