Hi! Arlindo,<div><br></div><div>I am getting the same error as reported above <span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; color: rgb(80, 0, 80); ">"<span style="font-family: tahoma, 'new york', times, serif; font-size: 13px; border-collapse: collapse; ">Syntax Error: Invalid Operand 're' not a variable or function name". </span></span></div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; color: rgb(80, 0, 80); "><span style="font-family: tahoma, 'new york', times, serif; font-size: 13px; border-collapse: collapse; "><br>
</span></span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; color: rgb(80, 0, 80); "><span style="font-family: tahoma, 'new york', times, serif; font-size: 13px; border-collapse: collapse; ">I am using GrDAS </span></span><b>2.0.a9.oga.1 version on Windows XP. </b>I have attached the output of q udx in my previous reply as you had posted for the ouput of q config and q udx in this e-mail chain.</div>
<div><br></div><div>What changes I need to make as the changes you have suggested are for LINUX OS.</div><div><br></div><div><br></div><div>Thanks,</div><div>Subash<br><br><div class="gmail_quote">On Thu, Apr 14, 2011 at 6:40 AM, Arlindo da Silva <span dir="ltr"><<a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Wed, Apr 13, 2011 at 10:26 AM, Subash Yeggina <span dir="ltr"><<a href="mailto:subash.yeggina@gmail.com" target="_blank">subash.yeggina@gmail.com</a>></span> wrote:<br>
</div><div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi! Arlindo,<div><br></div><div>I am using GrADS on Windows XP. The version of GrDAS is <b>2.0.a9.oga.1</b></div><div><br></div><div>The output of the q udx is attached..</div><div><br></div></blockquote><div><br></div></div>
<div>
What exactly is your problem? Is re() not being found? Click on the opengrads icon on your desktop and try this:</div><div><br></div><div>ga-> open model</div><div>ga-> d re(ps,10)</div><div><br></div><font color="#888888"><div>
Arlindo</div></font><div><div></div><div class="h5">
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div></div><div><br></div><div>Regards,</div>
<div>Subash<div><div></div><div><br><br><div class="gmail_quote">On Wed, Apr 13, 2011 at 7:23 PM, Jackie Yip <span dir="ltr"><<a href="mailto:zheng.yip@mcgill.ca" target="_blank">zheng.yip@mcgill.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Arlindo, <div><br></div><div>I'm running GrADs on Mac OS X. As I wasn't the person who installed this version of GrADs, I'm not sure which method of installation was used. But I hope the following info helps... </div>
<div><br></div><div>My q config output: </div><div><br></div><div><div>Config: v2.0.a9.oga.1 little-endian readline printim netcdf hdf4-sds hdf5 opendap-grids,stn geotiff shapefile</div><div>Grid Analysis and Display System (GrADS) Version 2.0.a9.oga.1</div>
<div>Copyright (c) 1988-2010 by Brian Doty and the</div><div>Institute for Global Environment and Society (IGES) </div><div>This program is distributed WITHOUT ANY WARRANTY </div><div>See file COPYRIGHT for more information. </div>
<div><br></div><div>Built Fri Apr 1 11:31:19 EDT 2011 for i386-apple-darwin10.5.0</div><div><br></div><div>This version of GrADS has been configured with the following options:</div><div> o Built on a LITTLE ENDIAN machine</div>
<div> o Athena Widget GUI DISABLED</div><div> o Command line editing ENABLED </div><div> <a href="http://tiswww.case.edu/php/chet/readline/rltop.html" target="_blank">http://tiswww.case.edu/php/chet/readline/rltop.html</a> </div>
<div>
o printim command for image output ENABLED </div><div> <a href="http://www.zlib.net" target="_blank">http://www.zlib.net</a> </div><div> <a href="http://www.libpng.org/pub/png/libpng.html" target="_blank">http://www.libpng.org/pub/png/libpng.html</a> </div>
<div> <a href="http://www.libgd.org/Main_Page" target="_blank">http://www.libgd.org/Main_Page</a> </div><div> o GRIB2 interface DISABLED</div><div> o NetCDF interface ENABLED </div><div> <a href="http://www.unidata.ucar.edu/software/netcdf" target="_blank">http://www.unidata.ucar.edu/software/netcdf</a> </div>
<div> netcdf 4.1.1 of Apr 1 2011 11:38:40 $ </div><div> o OPeNDAP gridded data interface ENABLED</div><div> o OPeNDAP station data interface ENABLED</div><div> <a href="http://iges.org/grads/gadoc/supplibs.html" target="_blank">http://iges.org/grads/gadoc/supplibs.html</a> </div>
<div> libgadap 2.0 </div><div> o HDF4 and HDF5 interfaces ENABLED </div><div> <a href="http://hdfgroup.org" target="_blank">http://hdfgroup.org</a> </div><div> HDF 4.2r5 </div><div> HDF5 1.8.6 </div>
<div> o GeoTIFF and KML/TIFF output ENABLED</div>
<div> <a href="http://www.libtiff.org" target="_blank">http://www.libtiff.org</a> </div><div> <a href="http://geotiff.osgeo.org" target="_blank">http://geotiff.osgeo.org</a> </div><div> o KML contour output ENABLED</div>
<div> o Shapefile interface ENABLED</div>
<div> <a href="http://shapelib.maptools.org" target="_blank">http://shapelib.maptools.org</a></div><div><br></div><div>q udx or udxt was not recognized as a valid query. </div><div><br></div><div>Many thanks </div><div>
<br></div><div>
Zheng</div><div><div></div><div><div><br></div><div><br></div><br><div class="gmail_quote">On 12 April 2011 19:54, Arlindo da Silva <span dir="ltr"><<a href="mailto:dasilva@alum.mit.edu" target="_blank">dasilva@alum.mit.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On Tue, Apr 12, 2011 at 3:22 PM, Jackie Yip <span dir="ltr"><<a href="mailto:zheng.yip@mcgill.ca" target="_blank">zheng.yip@mcgill.ca</a>></span> wrote:<br></div><div class="gmail_quote"><div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Subash, <div><br></div><div>I also got the error </div><div><div>"<span style="font-family:tahoma, 'new york', times, serif;font-size:13px;border-collapse:collapse">Syntax Error: Invalid Operand 're' not a variable or function name"</span><br>
</div>
even though I used GrADs 2.0.a9.oga.1.</div><div><br></div><div>Is the re function an extra thing one must install like a user define extension? Or is the re function built-in for GrADs 2.0.a9.oga.1.?</div><div><br></div>
</blockquote><div><br></div></div><div>The extension re() is supposed to be include in all opengrads builds. Which operating system are you using? Please send output of</div><div><br></div><div>ga-> q config</div><div>
ga-> q udx</div>
<div><br></div><div> Did you do the regular opengrads bundle installation ("untar and go") or did you perform the "classic installation"?</div><div><div></div><div><div><br></div><div> A</div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div></div>
<div>Thanks</div><div><br></div><div>Zheng<div><div></div><div><br><div class="gmail_quote">On 12 April 2011 14:32, Subash Yeggina <span dir="ltr"><<a href="mailto:subash.yeggina@gmail.com" target="_blank">subash.yeggina@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi! Ismaila,<div><br></div><div>You are correct... The regridding seems to be working if it is done just after the openning of the file.</div>
<div><br></div><div>I tried doing the regridding after a few operations, and it failed. Not sure of the logic behind it..</div>
<div><br></div><div>have you been able to resolve this issue at ur end.</div><div><br></div><div>My version of GrADS is <b>2.0.a9.oga.1.</b></div><div><br></div><div><br></div><div>Thanks,</div><div>Subash</div><div><br>
</div>
<div><br></div><div><div>'open rfpt5.ctl'</div><div>'define newgrid = re(pr,0.25)</div><br><div class="gmail_quote">On Fri, Apr 8, 2011 at 12:23 AM, Ismaila Diallo <span dir="ltr"><<a href="mailto:ismailadiallo64@yahoo.fr" target="_blank">ismailadiallo64@yahoo.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:tahoma, new york, times, serif;font-size:10pt"><div><span>Hi subash,</span></div>
<div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:tahoma,new york,times,serif;background-color:transparent;font-style:normal"><span>i've used the re commend and i get this error :<br></span></div><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>
<div style="font-family:tahoma,new york,times,serif;font-size:10pt"><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div><font face="Arial" size="2"><hr size="1"><b><span style="font-weight:bold">From:</span></b> Subash Yeggina <<a href="mailto:subash.yeggina@gmail.com" target="_blank">subash.yeggina@gmail.com</a>><br>
<b><span style="font-weight:bold">To:</span></b> Ismaila Diallo <<a href="mailto:ismailadiallo64@yahoo.fr" target="_blank">ismailadiallo64@yahoo.fr</a>>; GrADS Users Forum <<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>><br>
<b><span style="font-weight:bold">Sent:</span></b> Thursday, April 7, 2011 8:10 PM<br><b><span style="font-weight:bold">Subject:</span></b> Re: [gradsusr] regrid data<br></font></div><div><div><div></div><div>
<br>
<div>Dear Ismaila,<div><br></div><div><br></div><div>I think you can do it by using the <b>re </b>command.</div><div><br></div><div>Ex:</div><div><br></div><div>define newg=re(<variable>,<resolution>).</div><div>
<br>
</div><div>For more details you can check <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></div><div><br></div><div><a rel="nofollow" href="http://opengrads.org/doc/udxt/re/re.html#required_parameters" target="_blank"></a>Subash<br>
<br><div>On Thu, Apr 7, 2011 at 10:57 PM, Ismaila Diallo <span dir="ltr"><<a rel="nofollow" href="mailto:ismailadiallo64@yahoo.fr" target="_blank">ismailadiallo64@yahoo.fr</a>></span> wrote:<br><blockquote style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
<div><div style="color:rgb(0, 0, 0);background-color:rgb(255, 255, 255);font-family:tahoma,new york,times,serif;font-size:10pt"><div>dear grads User,</div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:tahoma,new york,times,serif;background-color:transparent;font-style:normal">
i've to netcdf files with different resolution. I use grads1.9 and i went to regrids these data at a same resolution with my grads thus how should i do??</div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:tahoma,new york,times,serif;background-color:transparent;font-style:normal">
<br></div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:tahoma,new york,times,serif;background-color:transparent;font-style:normal">Sincerely</div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:tahoma,new york,times,serif;background-color:transparent;font-style:normal">
ismaila<font color="#888888"><br></font></div></div></div><br>_______________________________________________<br>
gradsusr mailing list<br>
<a rel="nofollow" href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br></div>
</div><br><br></div></div></div></div></div></div></div></blockquote></div><br></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div></div></div><font color="#888888"><br><br clear="all"><br>-- <br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu" target="_blank">dasilva@alum.mit.edu</a><br>
</font></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div></div></div><div><div></div><div class="h5"><br><br clear="all"><br>-- <br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu" target="_blank">dasilva@alum.mit.edu</a><br>
</div></div><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></blockquote></div><br></div>