<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <span style="white-space: pre-wrap">
</span>
    <blockquote type="cite"
cite="mid:CALRbqOS5aNSnC1OquYHcyvO-0OUOVKuchWqNEEpwSURCkn7g8A@mail.gmail.com">
      <pre class="moz-quote-pre" wrap="">Sorry, I was writing to .gdalalg.json trying to replicate the example
at <a class="moz-txt-link-freetext" href="https://gdal.org/en/latest/programs/gdal_raster_pipeline.html#programs/gdal_raster_pipeline-2">https://gdal.org/en/latest/programs/gdal_raster_pipeline.html#programs/gdal_raster_pipeline-2</a>.
I was expecting it would write the file, and that in API use the
"output" dataset arg would also be opened on the GDALG, but that
probably doesn't make sense. It works fine when the final write step
is to .tif or .vrt. I should have explored that more first.</pre>
    </blockquote>
    <p>Ah ok, yes writing to the .gdalg.json file is a bit of special
      case. But you can just GDALOpen() the file afterwards to get the
      dataset</p>
    <span style="white-space: pre-wrap">
</span>
    <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
  </body>
</html>