[ncl-talk] Issue using linint2_points

Chasteen, Manda B. manda.chasteen at ou.edu
Wed Nov 29 09:04:13 MST 2017


Hi Adam,


Thank you for the quick response. I checked what you suggested and the latitude and longitude arrays are of the same format. The issue is that the values seem to increase upon interpolation for whatever reason.


Thanks,


Manda


____________________________________________________

Manda Chasteen

Graduate Research Assistant

Cooperative Institute for Mesoscale Meteorological Studies

School of Meteorology

University of Oklahoma

manda.chasteen at ou.edu

manda.chasteen at noaa.gov

________________________________
From: Adam Phillips <asphilli at ucar.edu>
Sent: Wednesday, November 29, 2017 9:52:10 AM
To: Chasteen, Manda B.
Cc: ncl-talk at ucar.edu
Subject: Re: [ncl-talk] Issue using linint2_points

Hi Manda,
Make sure that the range of your lon/lat arrays match the range of your lon_cx/lat_cx arrays. Specifically, you are specifying -95 and -87 for your longitudes that go into lon_cx. When you call linint2_points:
rhint = linint2_points_Wrap(lon,lat,rh,False,lon_cx,lat_cx,2)
you need to make sure that lon contains negative longitudes as well. (Similarly, you need to make sure the latitudes specified in lat_cx are within the range of latitudes in your lat array.)

Hope that helps. If not, or if you have any further questions please respond to the ncl-talk email list.
Adam

On Tue, Nov 28, 2017 at 11:57 PM, Chasteen, Manda B. <manda.chasteen at ou.edu<mailto:manda.chasteen at ou.edu>> wrote:

Hello,


I am using the linint2_points_Wrap function in NCL version 6.4.0 to interpolate RUC data to a cross-section of lat/lons. The function is working; however, the values aren't quite right. I am wondering if you know why this may be and have a fix for this issue.


I have attached the script, an example cross section plot, and screen shots of the printed values at the inflow point from the raw potential temperature field and that interpolated to this cross section (black contours).


____________________________________________________

Manda Chasteen

Graduate Research Assistant

Cooperative Institute for Mesoscale Meteorological Studies

School of Meteorology

University of Oklahoma

manda.chasteen at ou.edu<mailto:manda.chasteen at ou.edu>

manda.chasteen at noaa.gov<mailto:manda.chasteen at noaa.gov>

_______________________________________________
ncl-talk mailing list
ncl-talk at ucar.edu<mailto:ncl-talk at ucar.edu>
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk<https://urldefense.proofpoint.com/v2/url?u=http-3A__mailman.ucar.edu_mailman_listinfo_ncl-2Dtalk&d=DwMFaQ&c=qKdtBuuu6dQK9MsRUVJ2DPXW6oayO8fu4TfEHS8sGNk&r=2Yak6HLcZ9Ge-HyAzp8wvmrwDPBjL31zf4WX0slB0dw&m=8H9aMtOc_rW14vF13tUUEkKKP3Vx026pjwS4IluZPyQ&s=OT__ZeTERsSHknu29rw_oqBkpfZqQbt7Y28v3NtReqg&e=>




--
Adam Phillips
Associate Scientist,  Climate and Global Dynamics Laboratory, NCAR
www.cgd.ucar.edu/staff/asphilli/<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.cgd.ucar.edu_staff_asphilli_&d=DwMFaQ&c=qKdtBuuu6dQK9MsRUVJ2DPXW6oayO8fu4TfEHS8sGNk&r=2Yak6HLcZ9Ge-HyAzp8wvmrwDPBjL31zf4WX0slB0dw&m=8H9aMtOc_rW14vF13tUUEkKKP3Vx026pjwS4IluZPyQ&s=64dHcmEDeZlwmEuT8rIP-BYt_CFFuw9ralbyNY52jXw&e=>   303-497-1726

<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.cgd.ucar.edu_staff_asphilli&d=DwMFaQ&c=qKdtBuuu6dQK9MsRUVJ2DPXW6oayO8fu4TfEHS8sGNk&r=2Yak6HLcZ9Ge-HyAzp8wvmrwDPBjL31zf4WX0slB0dw&m=8H9aMtOc_rW14vF13tUUEkKKP3Vx026pjwS4IluZPyQ&s=Z6eoLXoa6FxwtAVQCHyCQ0Sa0U-ZCF_MVxT5_3HDW34&e=>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20171129/a40d934b/attachment.html>


More information about the ncl-talk mailing list