[gradsusr] CMIP5 and Grads

Zaheer Babar zaheer_a_babar at hotmail.com
Sat Jan 5 04:03:45 EST 2013


Dear JenifferI am also interested in your developed scripts. It can do a lot of good to my work.
Regards
Zaheer

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


More information about the gradsusr mailing list