<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Please file an issue about that<br>
    </p>
    <div class="moz-cite-prefix">Le 15/10/2024 à 07:39, Michael Sumner
      via gdal-dev a écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:CAAcGz99M4VHu8y4W-RKLZsXZRdYRtt6u8Tgg4MpfPiqHjqtpdw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">When I use compression for ZARR_V2 with these small
        block sizes, I get an error: 
        <div><br>
        </div>
        <div>gdal_translate "/vsicurl/<a
href="https://github.com/cran/png/blob/master/inst/img/Rlogo.png?raw=true"
            moz-do-not-send="true" class="moz-txt-link-freetext">https://github.com/cran/png/blob/master/inst/img/Rlogo.png?raw=true</a>"
          lz4.zarr -of ZARR -co FORMAT=ZARR_V2 -co BLOCKSIZE=4,25,26 -co
          COMPRESS=LZ4  -co INTERLEAVE=BAND</div>
        <div><br>
          Input file size is 100, 76<br>
          0ERROR 1: Decompressed tile lz4.zarr/lz4/0.0.0 has not
          expected size after filters<br>
          <div><br>
          </div>
          <div>It's fine with COMPRESS=NONE, but other compression-on
            options error also. </div>
          <div><br>
          </div>
          <div>With larger block sizes it's seemingly ok</div>
          <div><br>
          </div>
          <div>gdal_translate "/vsicurl/<a
href="https://github.com/cran/png/blob/master/inst/img/Rlogo.png?raw=true"
              moz-do-not-send="true" class="moz-txt-link-freetext">https://github.com/cran/png/blob/master/inst/img/Rlogo.png?raw=true</a>"
            lz4.zarr -of ZARR -co FORMAT=ZARR_V2 -co BLOCKSIZE=4,100,100
            -co COMPRESS=LZ4  -co INTERLEAVE=BAND<br>
            <br>
          </div>
          <div>Input file size is 100, 76<br>
            0...10...20...30...40...50...60...70...80...90...100 - done.<br>
          </div>
          <div><br>
          </div>
          <div>Is there some kind of minimum on block size, I tried to
            find a combination that gave a clue, it's below 4x100x100,
            and doesn't seem related to single chunk or multiple. </div>
          <div><br>
          </div>
          <div>Cheers, Mike</div>
          <div><br>
          </div>
          <span class="gmail_signature_prefix">-- </span><br>
          <div dir="ltr" class="gmail_signature"
            data-smartmail="gmail_signature">
            <div dir="ltr">Michael Sumner<br>
              Research Software Engineer<br>
              Australian Antarctic Division<br>
              Hobart, Australia<br>
              e-mail: <a href="mailto:mdsumner@gmail.com"
                target="_blank" moz-do-not-send="true"
                class="moz-txt-link-freetext">mdsumner@gmail.com</a></div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
    </blockquote>
    <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.
Mostly a fool, sometimes acting like a professional (or vice versa)</pre>
  </body>
</html>