On lundi 31 août 2020 00:11:54 CEST Zhan Li wrote:
> Hi, when I use gdal_translate to convert a raster file (e.g., either GTiff
> or VRT) into netCDF format, it always loses some important metadata items
> such as scale_factor, add_offset and etc. What am I doing it wrong? Can
> anyone help me to solve this problem?

As scale_factor=1 and add_offset=0 in that dataset, they have no effect, and 
are 
thus not stored when converted to GeoTIFF.

valid_range is explicitly discarded from source metadata when converting into 
netCDF. I'm not completely sure of the rationale for that.

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to