<div>Can someone please advise, I have the impression that one can access model fields on Nomads servers (like fields on the site at the address below) directly through GrADS. I am interested in, e.g. precip for 0-6H, 6-12H, 12-18H and 18-24H.</div>
<div>If access is possible through GrADS then one could plot all the required maps in one script.</div>
<div>Please advise, and would appreciate if a script in this sense exists.</div>
<div>Zilore</div>
<div> </div>
<div><a href="http://nomad1.ncep.noaa.gov/cgi-bin/pdisp_gfs0.5.sh?ctlfile=gfs_master_00z.ctl&varlist=on&povlp=noovlp&ptype=map&dir=%2Fgfs20110415">http://nomad1.ncep.noaa.gov/cgi-bin/pdisp_gfs0.5.sh?ctlfile=gfs_master_00z.ctl&varlist=on&povlp=noovlp&ptype=map&dir=%2Fgfs20110415</a><br>
<br></div>
<div class="gmail_quote">On Fri, Apr 15, 2011 at 8:54 PM, <span dir="ltr"><<a href="mailto:gradsusr-request@gradsusr.org">gradsusr-request@gradsusr.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Send gradsusr mailing list submissions to<br> <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<br>To subscribe or unsubscribe via the World Wide Web, visit<br> <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:gradsusr-request@gradsusr.org">gradsusr-request@gradsusr.org</a><br><br>You can reach the person managing the list at<br> <a href="mailto:gradsusr-owner@gradsusr.org">gradsusr-owner@gradsusr.org</a><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. Max Value (Andrew Revering)<br> 2. Re: regrid data (Arlindo da Silva)<br>
<br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Fri, 15 Apr 2011 17:53:58 -0500<br>From: "Andrew Revering" <<a href="mailto:andy@f5data.com">andy@f5data.com</a>><br>
Subject: [gradsusr] Max Value<br>To: "'GrADS Users Forum'" <<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br>Message-ID: <0a9601cbfbc0$02657fd0$07307f70$@com><br>Content-Type: text/plain; charset="us-ascii"<br>
<br>I'm trying to do a max value plot. I got it to give me coordinates, but it's<br>not quite right. No matter what the variable is on the map that I'm trying<br>to find the max value for, it always gives me coordinates (and plots<br>
visually) in the far lower left corner of the screen where there are no<br>values.<br><br><br><br>Here is my code:<br><br><br><br><br><br>'d maxloc(max(tt,x=0,x=1028),y=0,y=768)'<br><br>Line=sublin(result,2)<br><br>
Ygrd=subwrd(line,4)<br><br>'d maxloc(max(tt,y=0,y=768),x=0,x=1028)'<br><br>Line=sublin(result,2)<br><br>Xgrd=subwrd(line,4)<br><br><br><br>'set x 'xgrd<br><br>Lonval = subwrd(result,4)<br><br><br><br>'set y 'ygrd<br>
<br>Latval = subwrd(result,4)<br><br><br><br>'q w2xy 'lonval' 'latval<br><br>Xpos = subwrd(result,3)<br><br>Ypos = subwrd(result,6)<br><br><br><br>Then I go further to plot the coordinate, which works. The printed lat/lon<br>
is correct for where the marker is, but it is NOT where the max val is. Its<br>way down in the lower left corner of the image.<br><br><br><br><br><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>
URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20110415/c091f023/attachment-0001.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20110415/c091f023/attachment-0001.html</a><br><br>
------------------------------<br><br>Message: 2<br>Date: Fri, 15 Apr 2011 19:07:30 -0400<br>From: Arlindo da Silva <<a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a>><br>Subject: Re: [gradsusr] regrid data<br>
To: GrADS Users Forum <<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br>Message-ID: <<a href="mailto:BANLkTinmy3QfmCNbu-vXqNzrun%2BDvxd9%2BQ@mail.gmail.com">BANLkTinmy3QfmCNbu-vXqNzrun+Dvxd9+Q@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br><br>On Thu, Apr 14, 2011 at 2:26 AM, Subash Yeggina <<a href="mailto:subash.yeggina@gmail.com">subash.yeggina@gmail.com</a>>wrote:<br><br>> Hi! Arlindo,<br>
><br>> I am getting the same error as reported above "Syntax Error: Invalid<br>> Operand 're' not a variable or function name".<br>><br>> I am using GrDAS *2.0.a9.oga.1 version on Windows XP. *I have attached<br>
> the output of q udx in my previous reply as you had posted for the ouput of<br>> q config and q udx in this e-mail chain.<br>><br>><br> You appear to have an incomplete installation. I'd suggest you start by<br>
uninstalling this version, downloading the win32 superpack (.exe) from<br><br>grads-2.0.a9.oga.1-win32_superpack.exe<<a href="http://sourceforge.net/projects/opengrads/files/grads2-windows/2.0.a9.oga.1/grads-2.0.a9.oga.1-win32_superpack.exe/download" target="_blank">http://sourceforge.net/projects/opengrads/files/grads2-windows/2.0.a9.oga.1/grads-2.0.a9.oga.1-win32_superpack.exe/download</a>><br>
<br>and reinstalling.<br><br> Arlindo<br><br><br><br><br><br><br><br>> What changes I need to make as the changes you have suggested are for LINUX<br>> OS.<br>><br>><br>> Thanks,<br>> Subash<br>><br>
><br>> On Thu, Apr 14, 2011 at 6:40 AM, Arlindo da Silva <<a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a>>wrote:<br>><br>>> On Wed, Apr 13, 2011 at 10:26 AM, Subash Yeggina <<br>>> <a href="mailto:subash.yeggina@gmail.com">subash.yeggina@gmail.com</a>> wrote:<br>
>><br>>>> Hi! Arlindo,<br>>>><br>>>> I am using GrADS on Windows XP. The version of GrDAS is *2.0.a9.oga.1*<br>>>><br>>>> The output of the q udx is attached..<br>>>><br>
>>><br>>> What exactly is your problem? Is re() not being found? Click on the<br>>> opengrads icon on your desktop and try this:<br>>><br>>> ga-> open model<br>>> ga-> d re(ps,10)<br>
>><br>>> Arlindo<br>>><br>>><br>>><br>>>><br>>>> Regards,<br>>>> Subash<br>>>><br>>>><br>>>> On Wed, Apr 13, 2011 at 7:23 PM, Jackie Yip <<a href="mailto:zheng.yip@mcgill.ca">zheng.yip@mcgill.ca</a>> wrote:<br>
>>><br>>>>> Hi Arlindo,<br>>>>><br>>>>> I'm running GrADs on Mac OS X. As I wasn't the person who installed this<br>>>>> version of GrADs, I'm not sure which method of installation was used. But I<br>
>>>> hope the following info helps...<br>>>>><br>>>>> My q config output:<br>>>>><br>>>>> Config: v2.0.a9.oga.1 little-endian readline printim netcdf hdf4-sds<br>
>>>> hdf5 opendap-grids,stn geotiff shapefile<br>>>>> Grid Analysis and Display System (GrADS) Version 2.0.a9.oga.1<br>>>>> Copyright (c) 1988-2010 by Brian Doty and the<br>>>>> Institute for Global Environment and Society (IGES)<br>
>>>> This program is distributed WITHOUT ANY WARRANTY<br>>>>> See file COPYRIGHT for more information.<br>>>>><br>>>>> Built Fri Apr 1 11:31:19 EDT 2011 for i386-apple-darwin10.5.0<br>
>>>><br>>>>> This version of GrADS has been configured with the following options:<br>>>>> o Built on a LITTLE ENDIAN machine<br>>>>> o Athena Widget GUI DISABLED<br>>>>> o Command line editing ENABLED<br>
>>>> <a href="http://tiswww.case.edu/php/chet/readline/rltop.html" target="_blank">http://tiswww.case.edu/php/chet/readline/rltop.html</a><br>>>>> o printim command for image output ENABLED<br>
>>>> <a href="http://www.zlib.net/" target="_blank">http://www.zlib.net</a><br>>>>> <a href="http://www.libpng.org/pub/png/libpng.html" target="_blank">http://www.libpng.org/pub/png/libpng.html</a><br>
>>>> <a href="http://www.libgd.org/Main_Page" target="_blank">http://www.libgd.org/Main_Page</a><br>>>>> o GRIB2 interface DISABLED<br>>>>> o NetCDF interface ENABLED<br>>>>> <a href="http://www.unidata.ucar.edu/software/netcdf" target="_blank">http://www.unidata.ucar.edu/software/netcdf</a><br>
>>>> netcdf 4.1.1 of Apr 1 2011 11:38:40 $<br>>>>> o OPeNDAP gridded data interface ENABLED<br>>>>> o OPeNDAP station data interface ENABLED<br>>>>> <a href="http://iges.org/grads/gadoc/supplibs.html" target="_blank">http://iges.org/grads/gadoc/supplibs.html</a><br>
>>>> libgadap 2.0<br>>>>> o HDF4 and HDF5 interfaces ENABLED<br>>>>> <a href="http://hdfgroup.org/" target="_blank">http://hdfgroup.org</a><br>>>>> HDF 4.2r5<br>
>>>> HDF5 1.8.6<br>>>>> o GeoTIFF and KML/TIFF output ENABLED<br>>>>> <a href="http://www.libtiff.org/" target="_blank">http://www.libtiff.org</a><br>>>>> <a href="http://geotiff.osgeo.org/" target="_blank">http://geotiff.osgeo.org</a><br>
>>>> o KML contour output ENABLED<br>>>>> o Shapefile interface ENABLED<br>>>>> <a href="http://shapelib.maptools.org/" target="_blank">http://shapelib.maptools.org</a><br>>>>><br>
>>>> q udx or udxt was not recognized as a valid query.<br>>>>><br>>>>> Many thanks<br>>>>><br>>>>> Zheng<br>>>>><br>>>>><br>>>>><br>
>>>> On 12 April 2011 19:54, Arlindo da Silva <<a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a>> wrote:<br>>>>><br>>>>>> On Tue, Apr 12, 2011 at 3:22 PM, Jackie Yip <<a href="mailto:zheng.yip@mcgill.ca">zheng.yip@mcgill.ca</a>>wrote:<br>
>>>>><br>>>>>>> Hi Subash,<br>>>>>>><br>>>>>>> I also got the error<br>>>>>>> "Syntax Error: Invalid Operand 're' not a variable or function name"<br>
>>>>>> even though I used GrADs 2.0.a9.oga.1.<br>>>>>>><br>>>>>>> Is the re function an extra thing one must install like a user define<br>>>>>>> extension? Or is the re function built-in for GrADs 2.0.a9.oga.1.?<br>
>>>>>><br>>>>>>><br>>>>>> The extension re() is supposed to be include in all opengrads builds.<br>>>>>> Which operating system are you using? Please send output of<br>
>>>>><br>>>>>> ga-> q config<br>>>>>> ga-> q udx<br>>>>>><br>>>>>> Did you do the regular opengrads bundle installation ("untar and go")<br>
>>>>> or did you perform the "classic installation"?<br>>>>>><br>>>>>> A<br>>>>>><br>>>>>><br>>>>>><br>>>>>>> Thanks<br>
>>>>>><br>>>>>>> Zheng<br>>>>>>><br>>>>>>> On 12 April 2011 14:32, Subash Yeggina <<a href="mailto:subash.yeggina@gmail.com">subash.yeggina@gmail.com</a>>wrote:<br>
>>>>>><br>>>>>>>> Hi! Ismaila,<br>>>>>>>><br>>>>>>>> You are correct... The regridding seems to be working if it is done<br>>>>>>>> just after the openning of the file.<br>
>>>>>>><br>>>>>>>> I tried doing the regridding after a few operations, and it failed.<br>>>>>>>> Not sure of the logic behind it..<br>>>>>>>><br>
>>>>>>> have you been able to resolve this issue at ur end.<br>>>>>>>><br>>>>>>>> My version of GrADS is *2.0.a9.oga.1.*<br>>>>>>>><br>>>>>>>><br>
>>>>>>> Thanks,<br>>>>>>>> Subash<br>>>>>>>><br>>>>>>>><br>>>>>>>> 'open rfpt5.ctl'<br>>>>>>>> 'define newgrid = re(pr,0.25)<br>
>>>>>>><br>>>>>>>> On Fri, Apr 8, 2011 at 12:23 AM, Ismaila Diallo <<br>>>>>>>> <a href="mailto:ismailadiallo64@yahoo.fr">ismailadiallo64@yahoo.fr</a>> wrote:<br>
>>>>>>><br>>>>>>>>> Hi subash,<br>>>>>>>>> i've used the re commend and i get this error :<br>>>>>>>>><br>>>>>>>>> d re(pr,0.5)<br>
>>>>>>>> Syntax Error: Invalid Operand<br>>>>>>>>> 're' not a variable or function name<br>>>>>>>>> Error ocurred at column 1<br>>>>>>>>> DISPLAY error: Invalid expression<br>
>>>>>>>> Expression = re(pr,0.5)<br>>>>>>>>><br>>>>>>>>> I am using grads1.9<br>>>>>>>>> Thank in advance<br>>>>>>>>> ------------------------------<br>
>>>>>>>> *From:* Subash Yeggina <<a href="mailto:subash.yeggina@gmail.com">subash.yeggina@gmail.com</a>><br>>>>>>>>> *To:* Ismaila Diallo <<a href="mailto:ismailadiallo64@yahoo.fr">ismailadiallo64@yahoo.fr</a>>; GrADS Users Forum<br>
>>>>>>>> <<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br>>>>>>>>> *Sent:* Thursday, April 7, 2011 8:10 PM<br>>>>>>>>> *Subject:* Re: [gradsusr] regrid data<br>
>>>>>>>><br>>>>>>>>> Dear Ismaila,<br>>>>>>>>><br>>>>>>>>><br>>>>>>>>> I think you can do it by using the *re *command.<br>
>>>>>>>><br>>>>>>>>> Ex:<br>>>>>>>>><br>>>>>>>>> define newg=re(<variable>,<resolution>).<br>>>>>>>>><br>
>>>>>>>> For more details you can check<br>>>>>>>>> <a href="http://opengrads.org/doc/udxt/re/re.html#required_parameters" target="_blank">http://opengrads.org/doc/udxt/re/re.html#required_parameters</a><br>
>>>>>>>><br>>>>>>>>> <<a href="http://opengrads.org/doc/udxt/re/re.html#required_parameters" target="_blank">http://opengrads.org/doc/udxt/re/re.html#required_parameters</a>><br>
>>>>>>>> Subash<br>>>>>>>>><br>>>>>>>>> On Thu, Apr 7, 2011 at 10:57 PM, Ismaila Diallo <<br>>>>>>>>> <a href="mailto:ismailadiallo64@yahoo.fr">ismailadiallo64@yahoo.fr</a>> wrote:<br>
>>>>>>>><br>>>>>>>>> dear grads User,<br>>>>>>>>> i've to netcdf files with different resolution. I use grads1.9 and i<br>>>>>>>>> went to regrids these data at a same resolution with my grads thus how<br>
>>>>>>>> should i do??<br>>>>>>>>><br>>>>>>>>> Sincerely<br>>>>>>>>> ismaila<br>>>>>>>>><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>>>>>>>>><br>>>>>>>>><br>>>>>>>>><br>>>>>>>>><br>>>>>>>><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>>>>>>>><br>>>>>>><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>>>>>>><br>>>>>><br>
>>>>><br>>>>>> --<br>>>>>> Arlindo da Silva<br>>>>>> <a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a><br>>>>>><br>>>>><br>
>>>><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>>>>><br>>>><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>>>><br>>><br>>><br>>> --<br>>> Arlindo da Silva<br>
>> <a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a><br>>><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>>><br>><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>><br><br><br>--<br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20110415/197d39ff/attachment.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20110415/197d39ff/attachment.html</a><br>
<br>------------------------------<br><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><br>End of gradsusr Digest, Vol 14, Issue 32<br>****************************************<br></blockquote></div><br>