Dear list,

as a follow-up to https://gis.stackexchange.com/questions/319147/using-gdalwarp-for-reprojecting-netcdf-file with a sample netcdf file linked in the comments:

The netcdf (really HDF5) contains lat and lon bands to reference the cells to WGS84 coordinates. Unfortunately, some rows contain nodata values for the monitored parameters and the lat-lon coordinates. This seems to break gdalwarp -geoloc.

My workaround is to create a vrt file for the requested subdataset, manually remove the GCP points with nodata values, and gdalwarp without the -geoloc option (i.e. use the remaining GCPs).

Is there a config option for GDALwarp to omit those nodata values in the geolocation array? Or is it worth to open a ticket for it?


Greetings,
Andre Joost

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

Reply via email to