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?
Thanks,
-k.
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!
Cheers
Stefan
-----Original Message-----
From: grass-user <grass-user-bounces@lists.osgeo.org> On Behalf Of Ken Mankoff
Sent: torsdag 3. juni 2021 14:52
To: GRASS user list <grass-user@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?
Thanks,
-k.
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fgrass-user&data=04|01||2cddb4a2a6d5405dea7608d9268e5c1d|6cef373021314901831055b3abf02c73|0|0|637583215134654760|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=Z2O6uqTrNnybW9a%2FCVMqVjsU1ShF6gut2Jwhev03Jms%3D&reserved=0