On Tue, Apr 12, 2011 at 3:22 PM, Jackie Yip <span dir="ltr"><<a href="mailto:zheng.yip@mcgill.ca">zheng.yip@mcgill.ca</a>></span> wrote:<br><div class="gmail_quote"><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 class="im">"<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>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><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 class="h5"><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">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>