[gdal-dev] HDF5 output

hosein imani hoseinimani95 at gmail.com
Thu Dec 24 03:27:33 PST 2020


Awesome, thanks!

On Thu, Dec 24, 2020 at 14:45 Even Rouault <even.rouault at spatialys.com>
wrote:

> On mercredi 23 décembre 2020 23:49:45 CET hosein imani wrote:
> > Hello
> > Does gdal_translate have capability to convert a format to HDF5?
> > I tried to convert “tiff”format to “HDF5” bud I got an error message
> > ERROR 1: HDF5 driver has no creation capabilities
> > If gdal doesn’t convert to HDF5, how could i convert to HDF5
> > Please advise
>
> If you use the netCDF driver with the FORMAT=NC4 creation option, this
> will
> generate a netCDF 4 file, which is technically a HDF5 file
>
> gdal_translate your.tif dest.h5 -of netCDF -co FORMAT=NC4
>
> See https://gdal.org/drivers/raster/netcdf.html
>
> Even
>
> --
> Spatialys - Geospatial professional services
> http://www.spatialys.com
>
-- 
Hosein Imani
Environmental Engineering, M.Sc
School of Civil Engineering
Sharif University of Technology
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20201224/921ba5c6/attachment.html>


More information about the gdal-dev mailing list