<div dir="ltr"><div dir="ltr"><div dir="ltr"><a href="http://www.ncl.ucar.edu/Document/Functions/Contributed/rcm2points_Wrap.shtml" target="_blank"><b>http://www.ncl.ucar.edu/Document/Functions/Contributed/rcm2points_Wrap.shtml</b></a></div><div dir="ltr"><br></div><div dir="ltr">===</div><div dir="ltr"><pre> lonDen = (/-104.867, -102.0/)
latDen = (/ 39.75, 38.0/)
f = <a href="http://www.ncl.ucar.edu/Document/Functions/Built-in/addfile.shtml" target="_blank"><b>addfile</b></a> ("some_NARR_file.nc", "r")
lat2d = f->xlat ; size = (nlat,nlon)
lon2d = f->xlon ; size = (nlat,nlon)
x = f->X
xDen = <a href="http://www.ncl.ucar.edu/Document/Functions/Contributed/rcm2points_Wrap.shtml" target="_blank"><b>rcm2points_Wrap</b></a> (lat2d, lon2d, x, lat, lon, 0) <br> printVarSummary(xDen)
</pre><pre>===<br><br><br> dir_narr = "./"<br> fil_narr = "narr-a_221_20110508_0000_000.grb"<br> pth_narr = dir_narr + fil_narr <br> f_narr = addfile(pth_narr, "r")<br><br>;---Read variables<br> ; 0 1 2 3<br> x_narr = f_narr->TMP_221_ISBL ; ( initial_time0_hours, lv_ISBL4, gridx_221, gridy_221 )<br> printVarSummary(x_narr)<br><br> lat2d = f_narr->gridlat_221<br> lon2d = f_narr->gridlon_221<br> printMinMax(lat2d,0)<br> printMinMax(lon2d,0)<br><br>;---Interpolate to user locations and levels for all times<br> lat_pts = (/.../)<br> lon_pts = (/.../)<br></pre><pre> x_pts = <a href="http://www.ncl.ucar.edu/Document/Functions/Contributed/rcm2points_Wrap.shtml" target="_blank"><b>rcm2points_Wrap</b></a> (lat2d, lon2d, x_narr, lat, lon, 0) <br></pre><pre> printVarSummary(x_pts)<br></pre><pre> <br></pre></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail-m_4022410891456613527gmail_attr">On Thu, Jan 24, 2019 at 11:29 AM Mukul Tewari <<a href="mailto:mukultewari1@gmail.com" target="_blank">mukultewari1@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I would like to generate time series at a given lat/lon point from<br>
NARR. Does anyone has any suggestion, how to extract meteorological<br>
variables from NARR at a given point in order to generate time series<br>
over a year?<br>
<br>
thanks,<br>
Mukul<br>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">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>
</blockquote></div>