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