<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <br>
    <br>
    <div class="moz-cite-prefix">On 1/31/22 10:29, Andrew Bell wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CACJ51z1zrpzphUJxv5JtBm5tMkuij9oVQV5RrrVRYrWyiNgCZg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr"><br>
        </div>
        <br>
        <div class="gmail_quote">
          <div dir="ltr" class="gmail_attr">On Mon, Jan 31, 2022 at
            11:06 AM Jim Klassen <<a
              href="mailto:klassen.js@gmail.com" moz-do-not-send="true"
              class="moz-txt-link-freetext">klassen.js@gmail.com</a>>
            wrote:<br>
          </div>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px
            0.8ex;border-left:1px solid
            rgb(204,204,204);padding-left:1ex"><br>
            A hack to save half the memory would be to use
            std::vector<float> instead of
            std::vector<double>.  The data I am working with is
            fine with 6 decimal digits of vertical precision (1cm at
            1000m).  I'd might feel differently about that if I was
            working in mountainous areas.<br>
          </blockquote>
          <div><br>
          </div>
          <div>If you're going to pursue this, I would recommend writing
            a separate filter. You can now write rasters with
            writers.raster, so the filter can do whatever and just pass
            the raster on to the writer. You might also look at
            filters.zsmooth (which seems to be missing from the doc
            index). It's not exactly what you're looking for, but it
            could be modified to do something quite similar with not
            much effort. It only runs in standard mode.</div>
          <div><br>
          </div>
        </div>
        -- <br>
        <div dir="ltr" class="gmail_signature">Andrew Bell<br>
          <a href="mailto:andrew.bell.ia@gmail.com" target="_blank"
            moz-do-not-send="true" class="moz-txt-link-freetext">andrew.bell.ia@gmail.com</a></div>
      </div>
    </blockquote>
    <br>
    That's interesting.<br>
  </body>
</html>