<div dir="ltr">Dear Jennifer,<div> I am interested in your scripts. Thank you for having such a vibrant generous and thoughtful spirit. </div><div>Happy New Year!</div><div><br></div><div>Faisal</div><div>
<br><br><div class="gmail_quote">On Sat, Jan 5, 2013 at 12:02 PM, Andrew Friedman <span dir="ltr"><<a href="mailto:andfried@berkeley.edu" target="_blank">andfried@berkeley.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="auto" style="word-wrap:break-word"><div>Dear Jennifer,</div><div>I would be very interested in these scripts.</div><div>Thanks much,</div><div>Andrew<div><div class="h5"><br><br>On Jan 4, 2013, at 4:00 PM, Jennifer Adams <<a href="mailto:jma@cola.iges.org" target="_blank">jma@cola.iges.org</a>> wrote:<br>
<br></div></div></div><div><div class="h5"><blockquote type="cite">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 face="Courier"><br></font></div><div>
<div style="margin-top:6.48pt;margin-bottom:0pt;margin-left:0in;text-indent:0in;text-align:left;direction:ltr;word-break:normal"><font 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;word-break:normal"><span style="color:rgb(1,1,1);font-family:'Lucida Sans'"><span style="white-space:pre-wrap">        </span>Aggregate files over
time dimension</span></div>
<div style="margin-top:5.76pt;margin-bottom:0pt;margin-left:.5in;text-indent:0in;text-align:left;direction:ltr;word-break:normal"><font color="#010101" face="'Lucida Sans'">Make use of ensemble
dimension when appropriate</font></div>
<div style="margin-top:5.76pt;margin-bottom:0pt;margin-left:.5in;text-indent:0in;text-align:left;direction:ltr;word-break:normal"><font color="#010101" face="'Lucida Sans'">Identify missing or
overlapping time periods </font></div>
<div style="margin-top:5.76pt;margin-bottom:0pt;margin-left:.5in;text-indent:0in;text-align:left;direction:ltr;word-break:normal"><font color="#010101" face="'Lucida Sans'">Assign non-standard
dimensions <br>
<span> </span><span> </span>(e.g. basin averages or fixed fields)</font></div>
<div style="margin-top:5.76pt;margin-bottom:0pt;margin-left:.5in;text-indent:0in;text-align:left;direction:ltr;word-break:normal"><font 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;word-break:normal"><font color="#010101" face="'Lucida Sans'">• Create PDEF files
for non-rectilinear grids </font></div>
<div style="margin-top:5.76pt;margin-bottom:0pt;margin-left:.5in;text-indent:0in;text-align:left;direction:ltr;word-break:normal"><font color="#010101" face="'Lucida Sans'">For ocean and sea ice realms</font></div>
<div style="margin-top:5.76pt;margin-bottom:0pt;margin-left:.5in;text-indent:0in;text-align:left;direction:ltr;word-break:normal"><font color="#010101" face="'Lucida Sans'">ESMF’s RegridWeightGen utility
generates the<br>
<span> </span>interpolation weights</font></div>
<div style="margin-top:5.76pt;margin-bottom:0pt;margin-left:.5in;text-indent:0in;text-align:left;direction:ltr;word-break:normal"><font color="#010101" face="'Lucida Sans'">Vector fields must be rotated from
grid-relative <br>
<span> </span>to Earth-relative
coordinates before interpolation</font></div>
</div><div><font color="#010101" face="'Lucida Sans'"><br></font></div><div><br><div>
<span style="font-size:12px"><span style="border-spacing:0px 0px;text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:12px;white-space:normal;font-family:Helvetica;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" target="_blank">jma@cola.iges.org</a></div><div><br>
</div><br></span></span>
</div>
<br></div></div></blockquote></div></div><div class="im"><blockquote type="cite"><span>_______________________________________________</span><br><span>gradsusr mailing list</span><br><span><a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a></span><br>
<span><a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a></span><br></blockquote></div></div><br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>Faisal M. Al Zawad</div><div>Manager</div><div>Climate Change Unit<br>Office of Vice President</div>
<div>Presidency of Meteorology and Environment<br> <br>Tel. +96626536194</div><div>Fax +96626524214<br>Mob +966599550595</div></div>
</div></div>