[ncl-talk] Regridding GFS rectilinear grid to Polar Stereographic regional grid
Dennis Shea
shea at ucar.edu
Mon Oct 31 16:27:59 MDT 2016
Can you change
regrid_gfs_pcp = rgrid2rcm_Wrap(lat_gfs, lon_gfs, pcp_gfs,lat,lon,1)
to
printVarSummary(pcp_gfs) ; this is what people need to 'see'
; in particular, the
coordinate variables
printMinMax(pcp_gfs, 0)
regrid_gfs_pcp = rgrid2rcm_Wrap(pcp_gfs&g5_lon_1, pcp_gfs&g5_lat_0,
pcp_gfs,lat,lon,1)
printVarSummary(regrid_gfs_pcp)
printMinMax(regrid_gfs_pcp, 0)
===
FYI only ... There are a two 'ST4' examples at the bottom of:
http://www.ncl.ucar.edu/Applications/HiResPrc.shtml
Cheers
D
On Mon, Oct 31, 2016 at 4:08 PM, Mary Haley <haley at ucar.edu> wrote:
> Hi Andrew,
>
> I don't know if anybody responded to this so I'm following up.
>
> The code is a bit difficult to follow because it has quite a few "if"
> statements, making it hard to tell what code is being executed and what
> isn't. This is especially difficult if you can't run the program.
>
> I think that ESMF is always worth a try for regridding, but rgrid2rcm
> should work as well. However, you have to be careful with data like
> precipitation when you are regridding.
>
> Please see this general overview on regridding:
>
> https://climatedataguide.ucar.edu/climate-data-tools-and-
> analysis/regridding-overview
>
> Meanwhile, is there anyway you can provide the data with this script so I
> can run it?
>
> --Mary
>
>
> On Wed, Oct 26, 2016 at 4:21 PM, Andrew Kren - NOAA Affiliate <
> andrew.kren at noaa.gov> wrote:
>
>> Dear ncl-talk,
>>
>> I have a code where I want to do a a difference in precipitation between
>> the observed precipitation and model output from the GFS model. In order to
>> compute the difference I regrid the data using rgrid2rcm_Wrap. The observed
>> precipitation is on a polar stereographic 2d lat/lon grid. When I did the
>> regridding, I am getting missing values at all locations. Is this not the
>> best way to regrid the data?
>>
>> The issue is that the observed data is on either a CONUS grid, or an
>> Alaska grid, but both are grib files with a defined grid. Should I use
>> ESMF. I attached the code and the 'exit' statement is where I stopped to
>> try to print out the values after computing the difference of gfs precip
>> minus observed precip. I am not sure the best way to go about doing this
>> comparison.
>>
>> Thanks,
>>
>> --
>> Andrew Kren, PhD
>> Research Scientist I, Global Observing Systems Analysis (GOSA) Group
>> NOAA ESRL Global Systems Division (Rm 3C515)
>> 325 Broadway, Boulder, CO 80305
>> (303) 497-5418
>>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20161031/9beb47ef/attachment.html
More information about the ncl-talk
mailing list