Dear Raju,<br><br>Great to hear that it worked.<br><br>Regards,<br><br>Serge<br><br><br>&gt;Dear Rajuattada,<div><br>
&gt;</div><div>You can try this command:</div><div>&#39;define newvar=re(var,0.405)&#39;</div><div>&#39;d newvar&#39;</div><div><br>
&gt;</div><div>where newvar is the new variable after regridding and var is your actual variable that you want to regrid.</div><div><br>
&gt;</div><div>Regards,</div><div><br>
&gt;</div><div>Serge<br><br></div><br><div class="gmail_quote">On Sat, Jun 25, 2011 at 11:29 AM, Arlindo da Silva <span dir="ltr">&lt;<a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br><br><div class="gmail_quote"><div class="im">On Fri, Jun 24, 2011 at 2:06 AM, rajuattada <span dir="ltr">&lt;<a href="mailto:raju_attadamsc@rediffmail.com" target="_blank">raju_attadamsc@rediffmail.com</a>&gt;</span> wrote:<br>
</div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear all,<br>          I want to do regrid from my actual data.<br>          I have done in two ways.<br>          First i used,      re command. it is showing following error.<br> 
                                                 d re(rf,0.405,0.405,bs)
 ---------&gt;&gt; where rf is variable and 0.405 is my resolution<br>                                               Syntax Error:  Invalid Operand <br>  &#39;<span>    </span><span>    </span><span>    </span><span>    </span><span>    </span><span>    </span><span>    </span><span>    </span><span>    </span><span>    </span><span>    </span>re&#39; not a variable or function name<br>

  <span>    </span><span>    </span><span>    </span><span>    </span><span>    </span><span>    </span><span>    </span><span>    </span><span>    </span><span>    </span><span>    </span><span> </span><span></span><span></span><span></span>Error ocurred at column 1<br>

<span>    </span><span>    </span><span>    </span><span>    </span><span>    </span><span>    </span><span>    </span><span>    </span><span>    </span><span>    </span><span>    </span><span>    </span>DISPLAY error:  Invalid expression <br>

  <span>    </span><span>    </span><span>    </span><span>    </span><span>    </span><span>    </span><span>    </span><span>    </span><span>    </span><span>    </span><span>    </span><span>   </span><span></span>Expression = re(rf,0.405,0.405,bs)<br>

</blockquote><div><br></div><div><br></div></div><div>Please follow the protocol and  give us enough information for helping you. See this:</div><div><br></div><div>           <a href="http://grads.iges.org/grads/users.html" target="_blank">http://grads.iges.org/grads/users.html</a></div>

<div><br></div><div>Now,  the error above suggests that re() is not available in your build of grads. Please send us the result of:</div><div><br></div><div>% q config</div><div>% q udf</div><div><br></div><div>Recall that re() is an opengrads extension that is not available with COLA&#39;s standard builds. You will need to install the opengrads bundle to have access to these extensions. Read this:</div>

<div><br></div><div>    <a href="http://opengrads.org/wiki/index.php?title=Installing_the_OpenGrADS_Bundle" target="_blank">http://opengrads.org/wiki/index.php?title=Installing_the_OpenGrADS_Bundle</a></div><div><br></div>
<div>    Good Luck,</div>
<div><br></div><div>        Arlindo</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div>-- <br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu" target="_blank">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></blockquote></div><br><br clear="all"><br>-- <br>Serge<br>