<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Dear Jeniffer<div>I am also interested in your developed scripts. It can do a lot of good to my work.</div><div><br></div><div>Regards</div><div><br></div><div>Zaheer<br><br><div><div id="SkyDrivePlaceholder"></div>&gt; From: gradsusr-request@gradsusr.org<br>&gt; Subject: gradsusr Digest, Vol 35, Issue 5<br>&gt; To: gradsusr@gradsusr.org<br>&gt; Date: Sat, 5 Jan 2013 00:48:12 -0500<br>&gt; <br>&gt; Send gradsusr mailing list submissions to<br>&gt;         gradsusr@gradsusr.org<br>&gt; <br>&gt; To subscribe or unsubscribe via the World Wide Web, visit<br>&gt;         http://gradsusr.org/mailman/listinfo/gradsusr<br>&gt; or, via email, send a message with subject or body 'help' to<br>&gt;         gradsusr-request@gradsusr.org<br>&gt; <br>&gt; You can reach the person managing the list at<br>&gt;         gradsusr-owner@gradsusr.org<br>&gt; <br>&gt; When replying, please edit your Subject line so it is more specific<br>&gt; than "Re: Contents of gradsusr digest..."<br>&gt; <br>&gt; <br>&gt; Today's Topics:<br>&gt; <br>&gt;    1. Re: 2D array loop (Jeff Duda)<br>&gt;    2. CMIP5 and GrADS (Jennifer Adams)<br>&gt;    3. Re: CMIP5 and GrADS (See Hai Ooi)<br>&gt; <br>&gt; <br>&gt; ----------------------------------------------------------------------<br>&gt; <br>&gt; Message: 1<br>&gt; Date: Fri, 4 Jan 2013 11:48:35 -0600<br>&gt; From: Jeff Duda &lt;jeffduda319@gmail.com&gt;<br>&gt; Subject: Re: [gradsusr] 2D array loop<br>&gt; To: GrADS Users Forum &lt;gradsusr@gradsusr.org&gt;<br>&gt; Message-ID:<br>&gt;         &lt;CAAig09CjEDFfFzq6DpBjLMCVv=nxSu+a4jxtiM=RzOGtrg8ccg@mail.gmail.com&gt;<br>&gt; Content-Type: text/plain; charset="windows-1252"<br>&gt; <br>&gt; You'll find the scripting<br>&gt; language&lt;http://www.iges.org/grads/gadoc/script.html&gt;page of interest<br>&gt; in your work.  Specifically, arrays are referenced by<br>&gt; dots.  array.x.y = value in this case<br>&gt; <br>&gt; For repetitive execution, the syntax is<br>&gt; while (condition)<br>&gt; ...<br>&gt; ...<br>&gt; ...<br>&gt; endwhile<br>&gt; <br>&gt; Jeff Duda<br>&gt; <br>&gt; On Fri, Jan 4, 2013 at 6:08 AM, Filipa Varino &lt;fcvarino@fc.ul.pt&gt; wrote:<br>&gt; <br>&gt; &gt; Dear all****<br>&gt; &gt;<br>&gt; &gt; ** **<br>&gt; &gt;<br>&gt; &gt; I am trying to create a 2D array which is the sum of two variables, but I<br>&gt; &gt; don?t know  how to do it in GRADS.****<br>&gt; &gt;<br>&gt; &gt; I would like to computed it for each lon and lat point. ****<br>&gt; &gt;<br>&gt; &gt; In Matlab it would look like:****<br>&gt; &gt;<br>&gt; &gt; ** **<br>&gt; &gt;<br>&gt; &gt; For X=1:10****<br>&gt; &gt;<br>&gt; &gt; For Y=1:10****<br>&gt; &gt;<br>&gt; &gt; ** **<br>&gt; &gt;<br>&gt; &gt; Var(X,Y)=A+B****<br>&gt; &gt;<br>&gt; &gt; ** **<br>&gt; &gt;<br>&gt; &gt; End****<br>&gt; &gt;<br>&gt; &gt; End****<br>&gt; &gt;<br>&gt; &gt; ** **<br>&gt; &gt;<br>&gt; &gt; Any idea?****<br>&gt; &gt;<br>&gt; &gt; ** **<br>&gt; &gt;<br>&gt; &gt; Thanks in advance****<br>&gt; &gt;<br>&gt; &gt; ** **<br>&gt; &gt;<br>&gt; &gt; Best Regards****<br>&gt; &gt;<br>&gt; &gt; ** **<br>&gt; &gt;<br>&gt; &gt; Filipa Varino  ****<br>&gt; &gt;<br>&gt; &gt; _______________________________________________<br>&gt; &gt; gradsusr mailing list<br>&gt; &gt; gradsusr@gradsusr.org<br>&gt; &gt; http://gradsusr.org/mailman/listinfo/gradsusr<br>&gt; &gt;<br>&gt; &gt;<br>&gt; <br>&gt; <br>&gt; -- <br>&gt; Jeff Duda<br>&gt; Graduate research assistant<br>&gt; University of Oklahoma School of Meteorology<br>&gt; Center for Analysis and Prediction of Storms<br>&gt; -------------- next part --------------<br>&gt; An HTML attachment was scrubbed...<br>&gt; URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130104/381e6cb4/attachment-0001.html <br>&gt; <br>&gt; ------------------------------<br>&gt; <br>&gt; Message: 2<br>&gt; Date: Fri, 4 Jan 2013 19:00:06 -0500<br>&gt; From: Jennifer Adams &lt;jma@cola.iges.org&gt;<br>&gt; Subject: [gradsusr] CMIP5 and GrADS<br>&gt; To: GrADS Users Forum &lt;gradsusr@gradsusr.org&gt;<br>&gt; Message-ID: &lt;974E60B2-F244-4505-A463-7BD96AEACE4B@cola.iges.org&gt;<br>&gt; Content-Type: text/plain; charset="windows-1252"<br>&gt; <br>&gt; Dear All, <br>&gt; 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!<br>&gt;   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.<br>&gt; --Jennifer<br>&gt; <br>&gt; <br>&gt; ?Create GrADS descriptor files<br>&gt;         Aggregate files over time dimension<br>&gt; Make use of ensemble dimension when appropriate<br>&gt; Identify missing or overlapping time periods<br>&gt; Assign non-standard dimensions <br>&gt;    (e.g. basin averages or fixed fields)<br>&gt; Handle 365_day calendars<br>&gt; ? Create PDEF files for non-rectilinear grids<br>&gt; For ocean and sea ice realms<br>&gt; ESMF?s RegridWeightGen utility generates the<br>&gt;    interpolation weights<br>&gt; Vector fields must be rotated from grid-relative <br>&gt;    to Earth-relative coordinates before interpolation<br>&gt; <br>&gt; <br>&gt; --<br>&gt; Jennifer M. Adams<br>&gt; IGES/COLA<br>&gt; 4041 Powder Mill Road, Suite 302<br>&gt; Calverton, MD 20705<br>&gt; jma@cola.iges.org<br>&gt; <br>&gt; <br>&gt; <br>&gt; -------------- next part --------------<br>&gt; An HTML attachment was scrubbed...<br>&gt; URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130104/1217be0e/attachment-0001.html <br>&gt; <br>&gt; ------------------------------<br>&gt; <br>&gt; Message: 3<br>&gt; Date: Fri, 4 Jan 2013 21:48:10 -0800 (PST)<br>&gt; From: See Hai Ooi &lt;axl419@yahoo.com&gt;<br>&gt; Subject: Re: [gradsusr] CMIP5 and GrADS<br>&gt; To: GrADS Users Forum &lt;gradsusr@gradsusr.org&gt;<br>&gt; Message-ID:<br>&gt;         &lt;1357364890.56554.YahooMailClassic@web160906.mail.bf1.yahoo.com&gt;<br>&gt; Content-Type: text/plain; charset="utf-8"<br>&gt; <br>&gt; Dear Jennifer,<br>&gt; ?<br>&gt; ??????? If possible, can I have a whole suite of your stated scripts ?? I believe they can be of great help particularly?to my analysis on remote-sensing data.<br>&gt; ?<br>&gt; ??????? Thank you and best regards.<br>&gt; ?<br>&gt; Ooi<br>&gt; ?<br>&gt; <br>&gt; <br>&gt; --- On Sat, 5/1/13, Jennifer Adams &lt;jma@cola.iges.org&gt; wrote:<br>&gt; <br>&gt; <br>&gt; From: Jennifer Adams &lt;jma@cola.iges.org&gt;<br>&gt; Subject: [gradsusr] CMIP5 and GrADS<br>&gt; To: "GrADS Users Forum" &lt;gradsusr@gradsusr.org&gt;<br>&gt; Date: Saturday, 5 January, 2013, 8:00 AM<br>&gt; <br>&gt; <br>&gt; <br>&gt; Dear All,?<br>&gt; 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<br>&gt;  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.<br>&gt; --Jennifer<br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; ?Create GrADS descriptor files<br>&gt; Aggregate files over time dimension<br>&gt; Make use of ensemble dimension when appropriate<br>&gt; Identify missing or overlapping time periods <br>&gt; Assign non-standard dimensions <br>&gt; ?? (e.g. basin averages or fixed fields)<br>&gt; Handle 365_day calendars<br>&gt; ? Create PDEF files for non-rectilinear grids <br>&gt; For ocean and sea ice realms<br>&gt; ESMF?s RegridWeightGen utility generates the<br>&gt; ?? interpolation weights<br>&gt; Vector fields must be rotated from grid-relative <br>&gt; ?? to Earth-relative coordinates before interpolation<br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; --<br>&gt; Jennifer M. Adams<br>&gt; IGES/COLA<br>&gt; 4041 Powder Mill Road, Suite 302<br>&gt; Calverton, MD 20705<br>&gt; jma@cola.iges.org<br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; -----Inline Attachment Follows-----<br>&gt; <br>&gt; <br>&gt; _______________________________________________<br>&gt; gradsusr mailing list<br>&gt; gradsusr@gradsusr.org<br>&gt; http://gradsusr.org/mailman/listinfo/gradsusr<br>&gt; -------------- next part --------------<br>&gt; An HTML attachment was scrubbed...<br>&gt; URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130104/d1c6361e/attachment.html <br>&gt; <br>&gt; ------------------------------<br>&gt; <br>&gt; _______________________________________________<br>&gt; gradsusr mailing list<br>&gt; gradsusr@gradsusr.org<br>&gt; http://gradsusr.org/mailman/listinfo/gradsusr<br>&gt; <br>&gt; <br>&gt; End of gradsusr Digest, Vol 35, Issue 5<br>&gt; ***************************************<br></div></div>                                               </div></body>
</html>