<div dir="ltr">Thank you Dennis<div><br></div><div>Best!<div>Joowan</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 15, 2015 at 1:02 PM, Dennis Shea <span dir="ltr"><<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Actually, I should have added to the documentation that _FillValue are not allowed.<br><br>---<br><br></div>A simple work around <br><br> p = (/-999, 750, 500, -999, 200, 100, 50, 10/)<br><br></div> ip = ind(.not.ismissing(p))<br><br> lin = int2p(p(ip),t(ip),prs,1)<br><br></div>Cheers<br><div><div><br> <br> <br><div><div><div><br></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Fri, May 15, 2015 at 11:41 AM, Joowan Kim <span dir="ltr"><<a href="mailto:joowan@ucar.edu" target="_blank">joowan@ucar.edu</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Dear NCL people<div><br></div><div>I'm using int2p for interpolation.</div><div>I generally work well with missing value, but if the first coordinate value is missing it returns all missing values.</div><div>I can detour this problem, but it will be good to know why.</div><div>Any idea or suggestion with this?<br clear="all"><div><br></div><div>Best!</div><div>Joowan</div><div><br></div><div>Test script</div><div>-----------------------------------</div><div>; it understands fill value<br></div><div><div>p=(/-999, 750, 500, -999, 200, 100, 50, 10/)</div><div>;p=(/1000, 750,-999, -999, 200, 100, 50, 10/)</div><div>t=(/ 320, 300, 250, -999, 220, 190, 210, 280/)</div><div>p@_FillValue = -999</div><div>t@_FillValue = -999</div><div><br></div><div>prs = (/600,300,30/)</div><div>tlin = int2p(p,t,prs,1)</div><div>tlog = int2p(p,t,prs,2)</div><div>print(tlin)</div><div>print(tlog)</div><div>----------------------------------------</div></div><span><font color="#888888"><div><br></div>-- <br><div><div dir="ltr">Joowan Kim<br>Atmospheric Chemistry Division<br>National Center for Atmospheric Research<br>PO Box 3000 Boulder, CO 80307<br><div>e-mail : <a href="mailto:joowan@ucar.edu" target="_blank">joowan@ucar.edu</a><br> <a href="mailto:joowan.k@gmail.com" target="_blank">joowan.k@gmail.com</a><br></div></div></div>
</font></span></div></div>
<br></div></div>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Joowan Kim<br>Atmospheric Chemistry Division<br>National Center for Atmospheric Research<br>PO Box 3000 Boulder, CO 80307<br><div>e-mail : <a href="mailto:joowan@ucar.edu" target="_blank">joowan@ucar.edu</a><br> <a href="mailto:joowan.k@gmail.com" target="_blank">joowan.k@gmail.com</a><br></div></div></div>
</div>