[gdal-dev] gdal raster calc and -i nested pipeline, proper usage?

Even Rouault even.rouault at spatialys.com
Sun Apr 5 13:45:26 PDT 2026


See 
https://gdal.org/en/latest/programs/gdal_raster_calc.html#programs/gdal_raster_calc-6 


Le 05/04/2026 à 22:14, Scott via gdal-dev a écrit :
> Greetings,
>
> Is the following proper usage?
>
> gdal raster pipeline \
>    ! calc -i [ ! stack --resolution=highest -i *.tif ! materialize ] 
> --flatten --calc=mean --dialect=builtin \
>    ! write -o result.tif --co COMPRESS=DEFLATE --overwrite
>
> ...results in the error:
>
> ERROR 1: Failed to open $$nested_pipeline_0x563f54398d00$$
> 0...10...20...30...40...50...60...70...80...90...100 - done.
>
> Removing materialize altogether or adding -o tmp.tif to materialize 
> results in the same error.
>
> Debian 12
> GDAL 3.13.0dev-8e81b0c5db, released 2026/03/24
>
> Thanks!
> Scott
>
-- 
http://www.spatialys.com
My software is free, but my time generally not.



More information about the gdal-dev mailing list