[ncl-talk] Interpolation to height in NARR

Dennis Shea shea at ucar.edu
Wed Mar 8 13:58:32 MST 2017


I have attached a script that, I hope, does what you want. It performs the
following tasks:

[1} read variable(s)

  h_narr   = f_narr->HGT_221_ISBL   ;          0               1
2          3
  x_narr   = f_narr->TMP_221_ISBL   ; ( initial_time0_hours, lv_ISBL4,
gridx_221, gridy_221 )

[2] A function to interpolate to user specified HGT levels on the original
NARR grid.
[3] Use the ESMF weight files generated by

     http://www.ncl.ucar.edu/Applications/ESMF.shtml
     Examples 30

     to interpolate to a high-resolution rectilinear grid.

[4] Use the output from [3] to interpolate to user defined locations.


http://www.ncl.ucar.edu/Document/Functions/Contributed/linint2_points_Wrap.shtml

==============================================q

I have put the NARR file I used at:

ftp ftp.cgd.ucar.edu
anonymous
your_email
cd pub/shea
get narr-a_221_20110508_0000_000.grb
quit

On Thu, Mar 2, 2017 at 8:45 AM, Jim Means <jim at weatherextreme.com> wrote:

> Hello ncl-talk,
>
> I would like to interpolate NARR data to particular points in space (lat,
> lon, height). I have done something like this before by doing a vertical
> interpolation using the geopotential heights on NARR's pressure levels (I
> think every 25 mb) and then a horizontal interpolation. It seemed kind
> clunky, but it worked.
>
> This was quite a few years ago and when I was researching how to do the
> problem again, I came across the functions wrf_user_vert_interp and
> wrf_interp_3d_z for WRF models. Does anyone know if there is anything
> similar that I could use for NARR (or other models)?
>
> Thanks,
> Jim
>
> --
> <http://www.weatherextreme.com>
>
> * James D. Means, Ph.D.*
> Atmospheric and Climate Scientist
> jim at weatherextreme.com| vcard
> <http://www.weatherextreme.com/vcards/James%20MEANS.vcf>
> 930 Tahoe Blvd., Suite 802-560
> Incline Village, Nevada 89451
> www.weatherextreme.com
>
> <https://www.facebook.com/wxextreme> <https://twitter.com/wxextreme>
> <http://www.linkedin.com/company/weatherextreme>
>
> _______________________________________________
> 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/20170308/723ea00a/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: facebookicon.png
Type: image/png
Size: 3261 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170308/723ea00a/attachment.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: twittericon.png
Type: image/png
Size: 3524 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170308/723ea00a/attachment-0001.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signaturelogo.png
Type: image/png
Size: 8813 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170308/723ea00a/attachment-0002.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linkedin.png
Type: image/png
Size: 3508 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170308/723ea00a/attachment-0003.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: narr2pts.ncl
Type: text/x-ncl
Size: 4115 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170308/723ea00a/attachment.bin 


More information about the ncl-talk mailing list