On Sun, Feb 20, 2011 at 9:57 AM, dyjbean <span dir="ltr"><<a href="mailto:dyjbean@gmail.com">dyjbean@gmail.com</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;">
<div style="margin:10px;font-family:verdana;font-size:10pt">
<div><font size="2" face="Verdana"></font> </div>
<div><font size="2" face="Verdana">
<div>Hi,all</div>
<div></div>
<div>i wondering how I can use grads to regrid a 2.5*2.5 resolution data to a finer resolution data such as 0.375*0.375 resolutiong. </div>
<div></div>
<div>I try to use regrid2:</div>
<div>ga-> define t2m=regrid2(tmp2m,0.375,0.375)</div>
<div></div>
<div>the output grid is UNIFORM lat/lon:</div>
<div>dx = 0.38 deg and dy = 0.38 deg</div>
<div># points in i(lon) = 960 # points j(lat) = 481</div>
<div>lon extent = 0.00 to 359.63 lat extend = -90.00 to 90.00</div>
<div>regrid method is: box averaging</div>
<div></div>
<div>Warning: ieee_invalid is signaling</div>
<div>Warning: ieee_inexact is signaling</div>
<div>FORTRAN STOP</div>
<div>Error from regrid2: Invalid transfer file format</div>
<div> File name: udf.regrid.gfo</div>
<div>Operation Error: Error from regrid2 function</div>
<div> Error ocurred at column 1</div>
<div>DEFINE error: Invalid expression.</div>
<div> </div>
<div>Any suggestion or help for the above problem
will be welcoming.</div>
<div> </div></font></div></div></blockquote><div><br></div><div>You need to tell us which version of grads you are running, your platform, etc. It appears that you are running grads 1.9 which is no longer actively supported. Try using the re() or the other regridding options available with the latest opengrads bundle (v2.0.a9.oga.1):</div>
<div><br></div><div> <a href="http://opengrads.org/wiki/index.php?title=Installing_the_OpenGrADS_Bundle">http://opengrads.org/wiki/index.php?title=Installing_the_OpenGrADS_Bundle</a></div><div><br></div><div> Arlindo</div>
<div> </div><div><br></div><div><br></div></div>-- <br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a><br>