<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>All,</p>
    <p>    Thanks for your responses!  I couldn't get skip() to work
      properly (it left gaps in the images) but lterp() worked great and
      I was able to cut the rendering time by about 85% by plotting at
      1/4 the original resolution!<br>
    </p>
    <p>Cheers,</p>
    <p>Bob<br>
    </p>
    <div class="moz-cite-prefix">On 12/15/2020 12:56 PM, Adams, Jennifer
      M. (GSFC-610.2)[ADNET SYSTEMS INC] wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:E59E51E3-4DA4-4C83-B9B9-461ADFCF494C@nasa.gov">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}</style>
      <div class="WordSection1">
        <div>
          <p class="MsoNormal">Jeff wrote:<o:p></o:p></p>
        </div>
        <div>
          <div>
            <p class="MsoNormal"><i>>>You can write a control file
                and adjust the nx and ny values in the XDEF and YDEF
                lines
                <o:p></o:p></i></p>
            <p class="MsoNormal"><i>>> so that GrADS attempts to
                plot your fields on a coarser grid.
                <o:p></o:p></i></p>
            <p class="MsoNormal"><o:p> </o:p></p>
            <p class="MsoNormal">This will only work if the grid is not
              rectilinear and you are using PDEF, where the XDEF/YDEF
              entries describe the destination grid for the pdef
              interpolation. Otherwise, the XDEF and YDEF entries must
              match the native grid.
              <o:p></o:p></p>
          </div>
          <div>
            <p class="MsoNormal"><o:p> </o:p></p>
          </div>
          <div>
            <p class="MsoNormal">The lterp() and skip() functions will
              work, but I suggest using ‘define’ to copy the original
              grid into memory first. This will mean you do the file I/O
              only once, and will speed up any function you apply to the
              original grid.
              <o:p></o:p></p>
            <p class="MsoNormal">--Jennifer<o:p></o:p></p>
            <p class="MsoNormal"><o:p> </o:p></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div>
          <div>
            <p class="MsoNormal">On Tue, Dec 15, 2020 at 7:36 AM Robert
              Kuligowski <<a href="mailto:bob.kuligowski@noaa.gov"
                moz-do-not-send="true">bob.kuligowski@noaa.gov</a>>
              wrote:<o:p></o:p></p>
          </div>
          <blockquote style="border:none;border-left:solid #CCCCCC
            1.0pt;padding:0in 0in 0in
            6.0pt;margin-left:4.8pt;margin-right:0in">
            <p class="MsoNormal">All,<br>
              <br>
                   I have some netCDF files with 6501 lines and 18,000
              columns that <br>
              I'm plotting in GrADS, and creating the .png  output files
              is taking a <br>
              long time.  I clearly don't need that much detail in the
              actual image, <br>
              so is there a simple way to sample or aggregate the data
              in GrADS before <br>
              plotting in order to make it render more quickly?  I
              looked through the <br>
              documentation but wasn't able to find the droids I'm
              looking for.  Thanks!<br>
              <br>
              Cheers,<br>
              <br>
              -- <br>
              Bob Kuligowski, Ph.D.<br>
              Meteorologist<br>
              NOAA/NESDIS/Center for Satellite Applications and Research
              (STAR)<br>
              <br>
              Mailing Address:<br>
              National Oceanic and Atmospheric Administration<br>
              NESDIS STAR/SMCD<br>
              Bob Kuligowski<br>
              NCWCP E/RA2<br>
              5830 University Research Court<br>
              2nd Floor, Office #2828<br>
              College Park, MD 20740-3818<br>
              <br>
              Phone:  (301) 683-3593<br>
              Fax  :  (301) 683-3616<br>
              <br>
              <a
href="https://gcc02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.star.nesdis.noaa.gov%2Fstar%2FKuligowski_B.php&data=04%7C01%7Cjennifer.m.adams%40nasa.gov%7C315c22bfb3f344b97bba08d8a11df848%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C637436497384567088%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=XneMEb94S96wGtuJ79Z5RxGIN1rsamcavKZ82GT4S0I%3D&reserved=0"
                target="_blank" moz-do-not-send="true">http://www.star.nesdis.noaa.gov/star/Kuligowski_B.php</a><br>
              <a
href="https://gcc02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.star.nesdis.noaa.gov%2Fsmcd%2Femb%2Fff%2Findex.php&data=04%7C01%7Cjennifer.m.adams%40nasa.gov%7C315c22bfb3f344b97bba08d8a11df848%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C637436497384567088%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=TJCSlpV34%2BC%2Fxg3IHH9WB1MqgT3vKOmi47u27r4ccSA%3D&reserved=0"
                target="_blank" moz-do-not-send="true">http://www.star.nesdis.noaa.gov/smcd/emb/ff/index.php</a><br>
              <br>
              _______________________________________________<br>
              gradsusr mailing list<br>
              <a href="mailto:gradsusr@gradsusr.org" target="_blank"
                moz-do-not-send="true">gradsusr@gradsusr.org</a><br>
              <a
href="https://gcc02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgradsusr.org%2Fmailman%2Flistinfo%2Fgradsusr&data=04%7C01%7Cjennifer.m.adams%40nasa.gov%7C315c22bfb3f344b97bba08d8a11df848%7C7005d45845be48ae8140d43da96dd17b%7C0%7C0%7C637436497384577049%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=c94Glc9YJ3gAT4WZMUQn%2BhRewczA4H8hj0nqzbv1dd4%3D&reserved=0"
                target="_blank" moz-do-not-send="true">http://gradsusr.org/mailman/listinfo/gradsusr</a><o:p></o:p></p>
          </blockquote>
        </div>
        <p class="MsoNormal"><br clear="all">
          <br>
          -- <o:p></o:p></p>
        <div>
          <div>
            <div>
              <div>
                <div>
                  <div>
                    <div>
                      <div>
                        <div>
                          <div>
                            <p class="MsoNormal"><span
                                style="font-size:10.0pt">Jeff Duda,
                                Research Scientist</span><o:p></o:p></p>
                          </div>
                          <div>
                            <p class="MsoNormal">University of Colorado
                              Boulder<o:p></o:p></p>
                          </div>
                          <div>
                            <p class="MsoNormal">Cooperative Institute
                              for Research in Environmental Sciences<o:p></o:p></p>
                          </div>
                          <div>
                            <p class="MsoNormal">NOAA/OAR/ESRL/Global
                              Systems Laboratory<br>
                              <span style="font-size:10.0pt">Boulder, CO</span><o:p></o:p></p>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
gradsusr mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
<a class="moz-txt-link-freetext" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Bob Kuligowski, Ph.D.
Meteorologist
NOAA/NESDIS/Center for Satellite Applications and Research (STAR)

Mailing Address:
National Oceanic and Atmospheric Administration
NESDIS STAR/SMCD
Bob Kuligowski
NCWCP E/RA2
5830 University Research Court
2nd Floor, Office #2828
College Park, MD 20740-3818

Phone:  (301) 683-3593
Fax  :  (301) 683-3616

<a class="moz-txt-link-freetext" href="http://www.star.nesdis.noaa.gov/star/Kuligowski_B.php">http://www.star.nesdis.noaa.gov/star/Kuligowski_B.php</a>
<a class="moz-txt-link-freetext" href="http://www.star.nesdis.noaa.gov/smcd/emb/ff/index.php">http://www.star.nesdis.noaa.gov/smcd/emb/ff/index.php</a>

</pre>
  </body>
</html>