<HTML><HEAD></HEAD>
<BODY
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space"
dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>Dear Jennifer,</DIV>
<DIV> </DIV>
<DIV>Your scripts can be very useful for our work, can I please get them?</DIV>
<DIV> </DIV>
<DIV>thanks,</DIV>
<DIV> </DIV>
<DIV>Anat</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=jma@cola.iges.org
href="mailto:jma@cola.iges.org">Jennifer Adams</A> </DIV>
<DIV><B>Sent:</B> Saturday, January 05, 2013 2:00 AM</DIV>
<DIV><B>To:</B> <A title=gradsusr@gradsusr.org
href="mailto:gradsusr@gradsusr.org">GrADS Users Forum</A> </DIV>
<DIV><B>Subject:</B> [gradsusr] CMIP5 and GrADS</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">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> </DIV>
<DIV>
<DIV><FONT class=Apple-style-span face=Courier><BR></FONT></DIV>
<DIV><!--StartFragment-->
<DIV
style="TEXT-ALIGN: left; MARGIN-TOP: 6.48pt; TEXT-INDENT: 0in; unicode-bidi: embed; DIRECTION: ltr; MARGIN-BOTTOM: 0pt; MARGIN-LEFT: 0in; WORD-BREAK: normal; mso-line-break-override: none; punctuation-wrap: hanging"><FONT
class=Apple-style-span color=#010101 face="'Lucida Sans'">•Create GrADS
descriptor files</FONT></DIV>
<DIV
style="TEXT-ALIGN: left; MARGIN-TOP: 6.48pt; TEXT-INDENT: 0in; unicode-bidi: embed; DIRECTION: ltr; MARGIN-BOTTOM: 0pt; MARGIN-LEFT: 0in; WORD-BREAK: normal; mso-line-break-override: none; punctuation-wrap: hanging"><SPAN
style="FONT-FAMILY: 'Lucida Sans'; COLOR: rgb(1,1,1)"
class=Apple-style-span><SPAN style="WHITE-SPACE: pre"
class=Apple-tab-span></SPAN>Aggregate files over time dimension</SPAN></DIV>
<DIV
style="TEXT-ALIGN: left; MARGIN-TOP: 5.76pt; TEXT-INDENT: 0in; unicode-bidi: embed; DIRECTION: ltr; MARGIN-BOTTOM: 0pt; MARGIN-LEFT: 0.5in; WORD-BREAK: normal; mso-line-break-override: none; punctuation-wrap: hanging"
class=O1><FONT class=Apple-style-span color=#010101 face="'Lucida Sans'">Make
use of ensemble dimension when appropriate</FONT></DIV>
<DIV
style="TEXT-ALIGN: left; MARGIN-TOP: 5.76pt; TEXT-INDENT: 0in; unicode-bidi: embed; DIRECTION: ltr; MARGIN-BOTTOM: 0pt; MARGIN-LEFT: 0.5in; WORD-BREAK: normal; mso-line-break-override: none; punctuation-wrap: hanging"
class=O1><FONT class=Apple-style-span color=#010101
face="'Lucida Sans'">Identify missing or overlapping time periods </FONT></DIV>
<DIV
style="TEXT-ALIGN: left; MARGIN-TOP: 5.76pt; TEXT-INDENT: 0in; unicode-bidi: embed; DIRECTION: ltr; MARGIN-BOTTOM: 0pt; MARGIN-LEFT: 0.5in; WORD-BREAK: normal; mso-line-break-override: none; punctuation-wrap: hanging"
class=O1><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
style="TEXT-ALIGN: left; MARGIN-TOP: 5.76pt; TEXT-INDENT: 0in; unicode-bidi: embed; DIRECTION: ltr; MARGIN-BOTTOM: 0pt; MARGIN-LEFT: 0.5in; WORD-BREAK: normal; mso-line-break-override: none; punctuation-wrap: hanging"
class=O1><FONT class=Apple-style-span color=#010101 face="'Lucida Sans'">Handle
365_day calendars</FONT></DIV>
<DIV
style="TEXT-ALIGN: left; MARGIN-TOP: 6.48pt; TEXT-INDENT: 0in; unicode-bidi: embed; DIRECTION: ltr; MARGIN-BOTTOM: 0pt; MARGIN-LEFT: 0in; WORD-BREAK: normal; mso-line-break-override: none; punctuation-wrap: hanging"><FONT
class=Apple-style-span color=#010101 face="'Lucida Sans'">• Create PDEF files
for non-rectilinear grids </FONT></DIV>
<DIV
style="TEXT-ALIGN: left; MARGIN-TOP: 5.76pt; TEXT-INDENT: 0in; unicode-bidi: embed; DIRECTION: ltr; MARGIN-BOTTOM: 0pt; MARGIN-LEFT: 0.5in; WORD-BREAK: normal; mso-line-break-override: none; punctuation-wrap: hanging"
class=O1><FONT class=Apple-style-span color=#010101 face="'Lucida Sans'">For
ocean and sea ice realms</FONT></DIV>
<DIV
style="TEXT-ALIGN: left; MARGIN-TOP: 5.76pt; TEXT-INDENT: 0in; unicode-bidi: embed; DIRECTION: ltr; MARGIN-BOTTOM: 0pt; MARGIN-LEFT: 0.5in; WORD-BREAK: normal; mso-line-break-override: none; punctuation-wrap: hanging"
class=O1><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
style="TEXT-ALIGN: left; MARGIN-TOP: 5.76pt; TEXT-INDENT: 0in; unicode-bidi: embed; DIRECTION: ltr; MARGIN-BOTTOM: 0pt; MARGIN-LEFT: 0.5in; WORD-BREAK: normal; mso-line-break-override: none; punctuation-wrap: hanging"
class=O1><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>
<DIV> </DIV>
<DIV apple-content-edited="true"><SPAN style="FONT-SIZE: 12px"
class=Apple-style-span><SPAN
style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-SPACING: 0px 0px; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; FONT: 12px helvetica; WHITE-SPACE: normal; ORPHANS: 2; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -khtml-text-decorations-in-effect: none; -apple-text-size-adjust: auto"
class=Apple-style-span>
<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> </DIV><BR class=Apple-interchange-newline></SPAN></SPAN></DIV>
<DIV> </DIV></DIV></DIV>
<P>
<HR>
_______________________________________________<BR>gradsusr mailing
list<BR>gradsusr@gradsusr.org<BR>http://gradsusr.org/mailman/listinfo/gradsusr<BR></DIV></DIV></DIV></BODY></HTML>