Roberto,<br><br> NARR starts on the model grid and bilinearly interpolated to a Lambert conformal grid (most fields). The first thing that GrADS does is to bilineaerly interpolate<br>the field to a regular lat-lon grid as defined by the XDEF and YDEF in the ctl<br>
file. Finally you want to interpolate another time to get a 0.25 x 0.25 grid. <br>That's one interpolation too many.<br><br>Method 1. What I would do. <br><br>Use copygb to convert to the 0.25 x 0.25 degree grid.<br>
This works if your files are GRIB.<br><br>Method 2. Change the GrADS control fiile.<br><br> You can modify the XDEF and YDEF in the ctl file so that GrADS internal<br> grid is the desired 0.25 x 0.25 degree grid. No need to interpolate.<br>
<br> Good luck,<br> Wesley<br><br><br><div class="gmail_quote">On Wed, Feb 20, 2013 at 2:19 PM, Roberto Mera <span dir="ltr"><<a href="mailto:rjmera@coas.oregonstate.edu" target="_blank">rjmera@coas.oregonstate.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">All,<br>
<br>
I've been looking at the re() function in opengrads to regrid NARR to a<br>
0.25 deg grid. I have another file from regional model output in a<br>
completely different grid that I would also like to regrid. Can the re()<br>
function be used for non-global data? I got some errors before when<br>
trying to regrid the files. It would not let me subtract them from one<br>
another. I had tried something like:<br>
<br>
r25=re(tave,0.25)<br>
<br>
and the same thing with the regional model.<br>
<br>
Robert<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>
</blockquote></div><br>