[gdal-dev] gdal raster calc and -i nested pipeline, proper usage?
Scott
public at postholer.com
Sun Apr 5 14:04:18 PDT 2026
Right. RTFM. Worked perfect!
On 4/5/26 13:45, Even Rouault wrote:
> 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
>>
More information about the gdal-dev
mailing list