<html><head></head><body><div class="ydpaf7497d8yahoo-style-wrap" style="font-family: bookman old style, new york, times, serif; font-size: 16px;"><div></div>
<div dir="ltr" data-setdir="false"><div><div>Dear Adam,</div><div>Thank you so much for your nice reply.</div><div>I changed Po to Po(::-1) in int2p_n_Wrap, like:</div><div>TMPGFS_HVInt = int2p_n_Wrap(lv0_GFS,TMPGFS_HInt,Po(::-1,:),linlog,0), also I tested followings </div><div>TMPGFS_HVInt = int2p_n_Wrap(lv0_GFS(::-1),TMPGFS_HInt,Po,linlog,0), or</div><div>TMPGFS_HVInt = int2p_n_Wrap(lv0_GFS(::-1),TMPGFS_HInt(::-1,:),Po,linlog,0).</div><div>Unfortunately, bad results continued. The temperature are wrong, relative humidity, wind speed and wind direction are sth like miss values for all points and levels. May I ask for any idea?</div><div>I hope to hear from you.</div><div>Sincerely</div><div>Ehsan</div><div><br></div></div><br></div><div><br></div>
</div><div id="yahoo_quoted_6842090546" class="yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Saturday, December 14, 2019, 01:59:21 AM GMT+3:30, Adam Phillips <asphilli@ucar.edu> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div id="yiv8767773030"><div><div dir="ltr">Hi Ehsan,<div>Yes, pin and pout should both either be decreasing or increasing. I see in your script that pin (lv0_GFS) is increasing and pout (Po) is decreasing. Alter one so both are behaving similarly, and hopefully that fixes your issues.</div><div>Adam</div></div><br clear="none"><div class="yiv8767773030gmail_quote"><div class="yiv8767773030yqt9195358359" id="yiv8767773030yqt74963"><div class="yiv8767773030gmail_attr" dir="ltr">On Fri, Dec 13, 2019 at 10:34 AM Ehsan Taghizadeh via ncl-talk <<a rel="nofollow" shape="rect" ymailto="mailto:ncl-talk@ucar.edu" target="_blank" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>> wrote:<br clear="none"></div><blockquote class="yiv8767773030gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;"><div><div style=""><div></div>
<div dir="ltr">Hi,</div><div dir="ltr">Thank you for your guidance.</div><div dir="ltr">I tried to do that (reorder, linint2_points_Wrap,int2p_n_Wrap), however it seems the result is not good at all. Relative humidity, wind speed and wind direction have written the same values. Temperature is not correct, I think.</div><div dir="ltr">May I ask does in int2p_n_Wrap(pin,xin,pout,linlog,pdim), "pin" and "pout" must both increasing or decreasing, or pin could be increasing and pout could be decreasing?</div><div dir="ltr">I've attached the script (intepgfs.ncl), input station locations (apist.dat) and the output (Interpolated.csv). I also put gfs.tar file in the ftp, inclulding two input gfs data files.</div><div dir="ltr">I'll be thankful if anyone could help me?</div><div dir="ltr"><br clear="none"></div><div dir="ltr">Sincerely</div><div dir="ltr">Ehsan</div><div><br clear="none"></div>
</div><div id="yiv8767773030gmail-m_-6537415225624962878yahoo_quoted_6913350504">
<div style="">
<div>
On Wednesday, December 11, 2019, 09:13:15 PM GMT+3:30, Dennis Shea <<a rel="nofollow" shape="rect" ymailto="mailto:shea@ucar.edu" target="_blank" href="mailto:shea@ucar.edu">shea@ucar.edu</a>> wrote:
</div>
<div><br clear="none"></div>
<div><br clear="none"></div>
<div><div id="yiv8767773030gmail-m_-6537415225624962878yiv8130148666"><div><div dir="ltr"><div>ncl-talk does not want to see a script "with many problems." <br clear="none"></div><div>We do not have the time to sort/debug multiple issues.</div><div>---</div><div>GFS are ordered N->S</div><div>[1] reorder S->N via NCL syntax: x(:,:,::-1,:)</div><div>[2] Use <a rel="nofollow" shape="rect" target="_blank" href="http://www.ncl.ucar.edu/Document/Functions/Contributed/linint2_points_Wrap.shtml"><b>linint2_points_Wrap</b></a> to interpolate to desired locations</div><div>[3] Use <a rel="nofollow" shape="rect" target="_blank" href="http://www.ncl.ucar.edu/Document/Functions/Contributed/int2p_n_Wrap.shtml"><b>int2p_n_Wrap</b></a> to interpolate to desired level(s)</div><div><br clear="none"></div><div><br clear="none"></div></div><br clear="none"><div><div id="yiv8767773030gmail-m_-6537415225624962878yiv8130148666yqt90606"><div dir="ltr">On Wed, Dec 11, 2019 at 4:42 AM Ehsan Taghizadeh via ncl-talk <<a rel="nofollow" shape="rect" ymailto="mailto:ncl-talk@ucar.edu" target="_blank" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>> wrote:<br clear="none"></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;"><div><div style=""><div dir="ltr"><div><div>Dears,</div><div>I hope you're doing great.</div><div>May I ask if anybody has a script to interpolate GFS (0.5 deg) on the desired station points and also the desired vertical level? I mean (both horizontal and vertical interpolation).</div><div dir="ltr">Should I attach my script, however it faces many problems?</div><div>I'll be thankful for any help.</div><div><br clear="none"></div><div>Sincerely</div><div>Ehsan</div></div><br clear="none"></div></div></div>_______________________________________________<br clear="none">
ncl-talk mailing list<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:ncl-talk@ucar.edu" target="_blank" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br clear="none">
List instructions, subscriber options, unsubscribe:<br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div></div></div></div></div>
</div>
</div></div>_______________________________________________<br clear="none">
ncl-talk mailing list<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:ncl-talk@ucar.edu" target="_blank" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br clear="none">
List instructions, subscriber options, unsubscribe:<br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div></div><br clear="all"><div><br clear="none"></div>-- <br clear="none"><div class="yiv8767773030gmail_signature" dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span><font color="#888888" style="background-color: inherit;">Adam Phillips <br clear="none"></font></span></div><span><font color="#888888" style="background-color: inherit;">Associate Scientist, </font></span><span><font color="#888888" style="background-color: inherit;">Climate and Global Dynamics Laboratory, NCAR<br clear="none"></font></span></div></div><div><span><font color="#888888" style="background-color: inherit;"><a rel="nofollow" shape="rect" target="_blank" href="http://www.cgd.ucar.edu/staff/asphilli/">www.cgd.ucar.edu/staff/asphilli/</a> </font></span><span><font color="#888888" style="background-color: inherit;">303-497-1726 </font></span></div><span><font color="#888888" style="background-color: inherit;"></font></span><div><div><span><font color="#888888" style="background-color: inherit;"><br clear="none"></font></span><div><span><font color="#888888" style="background-color: inherit;"><a rel="nofollow" shape="rect" target="_blank" href="http://www.cgd.ucar.edu/staff/asphilli"></a></font></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>
</div></body></html>