<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear All, <div>I will be giving a presentation at the AMS meeting next week on strategies I've used to download CMIP5 data. It's kind of a technical talk, maybe only of interest to a few members of this forum, but there is one slide that is relevant for GrADS (the text is below). I've done a bit of scripting to automatically generate descriptor files (for 'xdfopen' and 'open' when PDEF is necessary). The script parses the list of data files to determine the range of time steps for a particular variable and then generates the relevant CHSUB entries. It also does some other data-management checking to make sure the files cover a continuous, non-overlapping time span. Other functionality is listed below under the first bullet. I also have some code that will create PDEF files for non-rectilinear grids. ESMF's RegridWeightGen tool and a custom C program I wrote to translate the weights into a PDEF file make this a relatively easy job, allowing GrADS to handle a lot of data that were previously inaccessible. Although these scripts were all written for CMIP5 data, they can be adapted for other data sets. At some point, I'd like to bring some of this code under the hood of GrADS, but that is still a bit far off… In any case, please let me know if you are interested in any of my scripts -- it seems a shame to spend so much time developing code for only one person to use.</div><div>--Jennifer</div><div><br></div><div><div><font class="Apple-style-span" face="Courier"><br></font></div><div>
<!--StartFragment-->
<div style="margin-top:6.48pt;margin-bottom:0pt;margin-left:0in;text-indent:
0in;text-align:left;direction:ltr;unicode-bidi:embed;mso-line-break-override:
none;word-break:normal;punctuation-wrap:hanging"><font class="Apple-style-span" color="#010101" face="'Lucida Sans'">•Create GrADS
descriptor files</font></div><div style="margin-top:6.48pt;margin-bottom:0pt;margin-left:0in;text-indent:
0in;text-align:left;direction:ltr;unicode-bidi:embed;mso-line-break-override:
none;word-break:normal;punctuation-wrap:hanging"><span class="Apple-style-span" style="color: rgb(1, 1, 1); font-family: 'Lucida Sans'; "><span class="Apple-tab-span" style="white-space:pre">        </span>Aggregate files over
time dimension</span></div>
<div class="O1" style="margin-top:5.76pt;margin-bottom:0pt;margin-left:.5in;
text-indent:0in;text-align:left;direction:ltr;unicode-bidi:embed;mso-line-break-override:
none;word-break:normal;punctuation-wrap:hanging"><font class="Apple-style-span" color="#010101" face="'Lucida Sans'">Make use of ensemble
dimension when appropriate</font></div>
<div class="O1" style="margin-top:5.76pt;margin-bottom:0pt;margin-left:.5in;
text-indent:0in;text-align:left;direction:ltr;unicode-bidi:embed;mso-line-break-override:
none;word-break:normal;punctuation-wrap:hanging"><font class="Apple-style-span" color="#010101" face="'Lucida Sans'">Identify missing or
overlapping time periods </font></div>
<div class="O1" style="margin-top:5.76pt;margin-bottom:0pt;margin-left:.5in;
text-indent:0in;text-align:left;direction:ltr;unicode-bidi:embed;mso-line-break-override:
none;word-break:normal;punctuation-wrap:hanging"><font class="Apple-style-span" color="#010101" face="'Lucida Sans'">Assign non-standard
dimensions <br>
<span style="mso-spacerun: yes"> </span><span style="mso-spacerun: yes"> </span>(e.g. basin averages or fixed fields)</font></div>
<div class="O1" style="margin-top:5.76pt;margin-bottom:0pt;margin-left:.5in;
text-indent:0in;text-align:left;direction:ltr;unicode-bidi:embed;mso-line-break-override:
none;word-break:normal;punctuation-wrap:hanging"><font class="Apple-style-span" color="#010101" face="'Lucida Sans'">Handle 365_day
calendars</font></div>
<div style="margin-top:6.48pt;margin-bottom:0pt;margin-left:0in;text-indent:
0in;text-align:left;direction:ltr;unicode-bidi:embed;mso-line-break-override:
none;word-break:normal;punctuation-wrap:hanging"><font class="Apple-style-span" color="#010101" face="'Lucida Sans'">• Create PDEF files
for non-rectilinear grids </font></div>
<div class="O1" style="margin-top:5.76pt;margin-bottom:0pt;margin-left:.5in;
text-indent:0in;text-align:left;direction:ltr;unicode-bidi:embed;mso-line-break-override:
none;word-break:normal;punctuation-wrap:hanging"><font class="Apple-style-span" color="#010101" face="'Lucida Sans'">For ocean and sea ice realms</font></div>
<div class="O1" style="margin-top:5.76pt;margin-bottom:0pt;margin-left:.5in;
text-indent:0in;text-align:left;direction:ltr;unicode-bidi:embed;mso-line-break-override:
none;word-break:normal;punctuation-wrap:hanging"><font class="Apple-style-span" color="#010101" face="'Lucida Sans'">ESMF’s RegridWeightGen utility
generates the<br>
<span style="mso-spacerun: yes"> </span>interpolation weights</font></div>
<div class="O1" style="margin-top:5.76pt;margin-bottom:0pt;margin-left:.5in;
text-indent:0in;text-align:left;direction:ltr;unicode-bidi:embed;mso-line-break-override:
none;word-break:normal;punctuation-wrap:hanging"><font class="Apple-style-span" color="#010101" face="'Lucida Sans'">Vector fields must be rotated from
grid-relative <br>
<span style="mso-spacerun: yes"> </span>to Earth-relative
coordinates before interpolation</font></div>
<!--EndFragment--></div><div><font class="Apple-style-span" color="#010101" face="'Lucida Sans'"><br></font></div><div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="font-size: 12px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>--</div><div>Jennifer M. Adams</div><div>IGES/COLA</div><div>4041 Powder Mill Road, Suite 302</div><div>Calverton, MD 20705</div><div><a href="mailto:jma@cola.iges.org">jma@cola.iges.org</a></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span>
</div>
<br></div></div></body></html>