[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!

Cheers
Stefan

-----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?

Thanks,

  -k.
_______________________________________________
grass-user mailing list
grass-user at lists.osgeo.org
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fgrass-user&data=04%7C01%7C%7C2cddb4a2a6d5405dea7608d9268e5c1d%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637583215134654760%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Z2O6uqTrNnybW9a%2FCVMqVjsU1ShF6gut2Jwhev03Jms%3D&reserved=0


More information about the grass-user mailing list