Hello gdal community!

I would like to use gdal_grid (https://gdal.org/programs/gdal_grid.html) to 
rasterize scattered data stored in a NetCDF file. My scattered data consists of 
a single scalar value, z, defined at an Easting and Northing coordinate pair.  
I also have an EPSG code. I am having difficulty structuring my NetCDF file so 
that gdal_grid is able to understand it. I have tried all three methods 
documented in the NetCDF Raster Driver documentation - 
https://gdal.org/drivers/raster/netcdf.html#georeference

  1.
UNIDATA CF-1 convention
  2.
lat/lon grid array
  3.
Following metadata directly (via e.g. 
Northernmost_Northing,Southernmost_Northing etc)

but have been unsuccessful in getting gdal_grid to understand my netCDF file. I 
have built gdal 3.8.3 from source and I have enabled 
`-DGDAL_ENABLE_DRIVER_NETCDF=ON`.

Would it be possible to provide a minimal working example netCDF schema (or 
output of e.g. ncdump) that gdal_grid can recognize?

Thanks in advance for your help,

 Ewan.


_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to