[gdal-dev] Merge multiple TIFF / NC in single NC

Even Rouault even.rouault at spatialys.com
Wed Jun 16 08:28:24 PDT 2021


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
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev

-- 
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/20210616/d59586de/attachment.html>


More information about the gdal-dev mailing list