<div dir="ltr">Thanks Dennis. Yes I just found that out, and reversed the order and it worked. Thanks!</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 27, 2015 at 3:00 PM, Dennis Shea <span dir="ltr"><<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Andrew<br>
<br>
[0]<br>
Overall comment: the rgrid2rcm uses a simple, brute force algorithm.<br>
If the interpolation is a bit slow then the ESMF regridding may be a<br>
better lon term solution. Once thye weight files are generated and<br>
saved to a netCDF file, they can be used to quickly perform<br>
interpolations.<br>
<br>
[1]<br>
Most operational style models (NCEP, ECMWF, JRA) are ordered N->S. The<br>
rgrid2rcm requires that the input grid be ordered S->N. If the model<br>
grid is N->S, try<br>
<br>
slp1 = a->PRMSL_3_MSL<br>
printVarSummary(slp1) ; look at 'lat' coord variable<br>
slp1 = slp1(::-1,:) ; reorder<br>
printVarSummary(slp1) ; look at 'lat' coord variable<br>
<br>
all the rest should be the same<br>
<br>
[2]<br>
ftp the GRIB file and the target WRF file, we could likely generate an<br>
ESMF example.<br>
<br>
ftp <a href="http://ftp.cgd.ucar.edu" rel="noreferrer" target="_blank">ftp.cgd.ucar.edu</a><br>
anonymous<br>
email<br>
cd incoming<br>
put ...<br>
put ...<br>
quit<br>
<br>
Since we can not look at /ftp/incoming for security reasons, send us<br>
the exact names of the files after a successful transfer<br>
<br>
D<br>
<div><div class="h5"><br>
<br>
<br>
<br>
On Thu, Aug 27, 2015 at 11:22 AM, Andrew Kren - NOAA Affiliate<br>
<<a href="mailto:andrew.kren@noaa.gov">andrew.kren@noaa.gov</a>> wrote:<br>
><br>
> ---------- Forwarded message ----------<br>
> From: Andrew Kren - NOAA Affiliate <<a href="mailto:andrew.kren@noaa.gov">andrew.kren@noaa.gov</a>><br>
> Date: Thu, Aug 27, 2015 at 8:57 AM<br>
> Subject: Problem with regrid from GFS to WRF regional grid using rgrid2rcm<br>
> To: <a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
><br>
><br>
> Dear NCL talk,<br>
><br>
> I am running into an issue with regridding from the GFS global grid, which<br>
> are grib files, to the regional WRF grid that I specify for my WRF runs.<br>
> When I do a test script to see what the regridded dataset looks like, it<br>
> does not match up with the GFS fields. Right now I am just looking at MSLP.<br>
> I am using the ncl function rgrid2rcm. Is this not the correct regrid tool<br>
> for my applications? I am not sure what I am doing wrong, if anything. There<br>
> are no error messages when I run the script. I have uploaded a grib file and<br>
> the wrfout file to the ftp site. The postscript files of the WRF output<br>
> (correct grid) and my interpolated grid from GFS to WRF is attached, along<br>
> with a script I am using. Any help would be most appreciated.<br>
><br>
> Thanks,<br>
> --<br>
> Andrew Kren, PhD<br>
> Research Scientist I, Global Observing Systems Analysis (GOSA) Group<br>
> NOAA ESRL Global Systems Division (Rm 3C515)<br>
> 325 Broadway, Boulder, CO 80305<br>
> <a href="tel:%28303%29%20497-5418" value="+13034975418">(303) 497-5418</a><br>
><br>
><br>
><br>
> --<br>
> Andrew Kren, PhD<br>
> Research Scientist I, Global Observing Systems Analysis (GOSA) Group<br>
> NOAA ESRL Global Systems Division (Rm 3C515)<br>
> 325 Broadway, Boulder, CO 80305<br>
> <a href="tel:%28303%29%20497-5418" value="+13034975418">(303) 497-5418</a><br>
><br>
</div></div>> _______________________________________________<br>
> ncl-talk mailing list<br>
> <a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
> List instructions, subscriber options, unsubscribe:<br>
> <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div>Andrew Kren<br>
Research Scientist I, Global Observing Systems Analysis (GOSA) Group<br>
NOAA ESRL Global Systems Division (Rm 3C515)<br>
325 Broadway, Boulder, CO 80305<br>
<a href="tel:%28303%29%20497-5418" value="+13034975847" target="_blank">(303) 497-5418</a><span><font color="#888888"><br>
</font></span></div></div></div></div></div></div></div></div></div></div></div></div>
</div>