Either with gdal_merge.py -separate -o out.nc in1.tif ... in2.tif
(https://gdal.org/programs/gdal_merge.html), but it might be memory hungry
Or use gdalbuildvrt -separate tmp.vrt in1.tif ... in2.tif +
gdal_translate tmp.vrt out.nc
Le 16/06/2021 à 17:22, Lorenzo Di Giacomo a écrit :
Hi everybody, initially i have 1 NetCDF and for each band i create 1
GEOTIFF.
Now, i have X ( where X = #bands) TIFF files and i want to come back
to 1 NetCDF file.
How should i do it?
P.S. i saw that with gdal_translate i can also transform each GEOTIFF
in one NetCDF, but at the end i cant find a way to merge all this
files into 1 single NetCDF.
If you have any suggestions i'll really appreciate it, thanks
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
--
http://www.spatialys.com
My software is free, but my time generally not.
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev