[gdal-dev] Gdal_translate into HDF4 fails

Even Rouault even.rouault at spatialys.com
Fri Feb 18 06:39:41 PST 2022


if you gdal_translate -of netCDF -co FORMAT=NC4 , the resulting netCDF 
file will actually be a HDF5 file (with netCDF "decorations"):

- https://gdal.org/drivers/raster/netcdf.html#creation-options

- 
https://www.unidata.ucar.edu/software/netcdf/docs/interoperability_hdf5.html

Le 18/02/2022 à 15:24, Lorenzo Di Giacomo a écrit :
> Hi guys, i was reading the question and i was wondering if it's 
> possibile do the same translate operation with HDF5, like:
> gdal_translate -of HDF5Image 3band.tif out.h5, i tried but doesn't 
> work and says "
>
> HDF5 driver has no creation capabilities."
>
> Thanks
>
-- 
http://www.spatialys.com
My software is free, but my time generally not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20220218/247453e2/attachment.html>


More information about the gdal-dev mailing list