<br><br><div class="gmail_quote">On Wed, Apr 13, 2011 at 2:54 AM, Garut Lama <span dir="ltr"><<a href="mailto:garutlama@gmail.com">garutlama@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello All,<br><br>Initially, I went through the same problem as you guys did. If you are using version 1.9 of grads migrate to the latest opengrads 2.0.a9.oga.1<br>I downloaded the binary version of opengrads 2.0.a9.oga.1 for FC14 and what I did to resolve the issue of " 're' not a variable or function name"<br>
was to set the environment variables GA2UDXT and LD_LIBRARY_PATH to point to the right path which depends on your installation such as:<br><br>GA2UDXT=/opt/Opengrads/Contents/Linux/Versions/2.0.a9.oga.1/x86_64/gex/udxt<br>
LD_LIBRARY_PATH=/opt/Opengrads/Contents/Linux/Versions/2.0.a9.oga.1/x86_64/gex:$LD_LIBRARY_PATH<br><br></blockquote><div><br></div><div>This is only necessary if you did a manual, "classic installation", in which case you have to set both env variables. If you just untar and put the Contents/ directory on your path none of this should be necessary.</div>
<div> </div><div> Arlindo.</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">(I am not sure whether the second variable LD_LIBRARY_PATH is necessary?)<br>
<br>Make sure that you put them in your .bashrc or .bash_profile to make it permanent.<br>
<br>Hope this helps and good luck!<br><br><br>Garut<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
From: Arlindo da Silva <<a href="mailto:dasilva@alum.mit.edu" target="_blank">dasilva@alum.mit.edu</a>><br>
To: GrADS Users Forum <<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>><br>
Sent: Tue, 12 Apr 2011 19:54:18 -0400<div><div></div><div class="h5"><br>
Subject: Re: [gradsusr] regrid data<br>
<br>
On Tue, Apr 12, 2011 at 3:22 PM, Jackie Yip <<a href="mailto:zheng.yip@mcgill.ca" target="_blank">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. Which<br>
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") or<br>
did you perform the "classic installation"?<br>
<br>
A<br>
<br>
> Thanks<br>
><br>
> Zheng<br>
><br>
> On 12 April 2011 14:32, Subash Yeggina <<a href="mailto:subash.yeggina@gmail.com" target="_blank">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 just<br>
>> after the openning of the file.<br>
>><br>
>> I tried doing the regridding after a few operations, and it failed. Not<br>
>> 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 <<a href="mailto:ismailadiallo64@yahoo.fr" target="_blank">ismailadiallo64@yahoo.fr</a><br>
>> > 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" target="_blank">subash.yeggina@gmail.com</a>><br>
>>> *To:* Ismaila Diallo <<a href="mailto:ismailadiallo64@yahoo.fr" target="_blank">ismailadiallo64@yahoo.fr</a>>; GrADS Users Forum <<br>
>>> <a href="mailto:gradsusr@gradsusr.org" target="_blank">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>>Subash<br>
>>><br>
>>> On Thu, Apr 7, 2011 at 10:57 PM, Ismaila Diallo <<br>
>>> <a href="mailto:ismailadiallo64@yahoo.fr" target="_blank">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 went<br>
>>> to regrids these data at a same resolution with my grads thus how should i<br>
>>> do??<br>
>>><br>
>>> Sincerely<br>
>>> ismaila<br>
>>><br></div></div></blockquote></div><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></blockquote></div><br><br clear="all"><br>-- <br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a><br>