<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks!<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Not quite. <br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
What I currently plot is <br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<img size="163037" contenttype="image/png" style="max-width: 100%; user-select: none;" unselectable="on" tabindex="-1" data-outlook-trace="F:1|T:1" src="cid:ec38c0f2-4d92-46a1-86d6-1ad39c7613a1"></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
But I would like to plot the full data (from ncveiw):</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<img size="129762" contenttype="image/png" style="max-width: 100%; user-select: none;" unselectable="on" tabindex="-1" data-outlook-trace="F:1|T:1" src="cid:bd902aca-0dca-4dcf-afc9-63f7d8cd6b31"></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
ncview figure appears to be up-side-down. <br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Xiaoming<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Barry Lynn <barry.h.lynn@gmail.com><br>
<b>Sent:</b> Monday, December 21, 2020 12:27 PM<br>
<b>To:</b> xiaoming Hu <yuanfangcan@hotmail.com><br>
<b>Cc:</b> ncl-talk <ncl-talk@ucar.edu>; Xiaoming Hu <xhu@ou.edu><br>
<b>Subject:</b> Re: [ncl-talk] contour not working with missing values in coordinate variables</font>
<div> </div>
</div>
<div>
<div dir="ltr">Hello:
<div><br>
</div>
<div>You can always plot point data, interpolating it to a grid.</div>
<div><br>
</div>
<div>Perhaps this will help...?</div>
<div><br>
</div>
<div><a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/linint2_points.shtml">https://www.ncl.ucar.edu/Document/Functions/Built-in/linint2_points.shtml</a><br>
</div>
</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Mon, Dec 21, 2020 at 7:44 PM xiaoming Hu via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu">ncl-talk@mailman.ucar.edu</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Because there are missing values in the 2d latitude and longitude,  the contour plot did not work.
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
So I have to cut off the area with the missing coordinate variables by <br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
  LST = f->visible_count(78:730,365:998)
<div>  LST@lat2d = latitude(78:730,365:998)</div>
<div>  LST@lon2d = longitude(78:730,365:998)</div>
<br>
But by doing so, I miss a lot of useful data. </div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Anyway to plot the full data?   My full script is attached<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
A sample data file: <a href="http://www.caps.ou.edu/micronet/SouthernOcean/Observation/satellite.SATCORPS_V2.2_HIMAWARI-8.2km.201802170000.NC" id="x_gmail-m_-5350089625216048011LPlnk972809" target="_blank">
http://www.caps.ou.edu/micronet/SouthernOcean/Observation/satellite.SATCORPS_V2.2_HIMAWARI-8.2km.201802170000.NC</a><br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
The domain I want to plot on: <a href="http://www.caps.ou.edu/micronet/SouthernOcean/Observation/wrfout_d01_2018-02-18_20:00:00" id="x_gmail-m_-5350089625216048011LPlnk868408" target="_blank">
http://www.caps.ou.edu/micronet/SouthernOcean/Observation/wrfout_d01_2018-02-18_20:00:00</a><br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span id="x_gmail-m_-5350089625216048011" title="">BTW: this script works very slow even when I cut off the area with missing coordinate.
<br>
</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span id="x_gmail-m_-5350089625216048011" title="">Thanks</span> a lot!</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Xiaoming Hu<br>
</div>
</div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="x_gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr"><span style="color:rgb(34,34,34)">Guest Editor of Special Issue “Extreme Hydroclimatic Events and Prediction”</span><br style="color:rgb(34,34,34)">
<span style="color:rgb(34,34,34)">LINK:</span><br style="color:rgb(34,34,34)">
<a href="https://www.mdpi.com/journal/water/special_issues/Extreme_Hydroclimatic_Events" rel="noreferrer" target="_blank" style="color:rgb(17,85,204)">https://www.mdpi.com/journal/water/special_issues/Extreme_Hydroclimatic_Events</a><br>
</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">Barry H. Lynn, Ph.D
<div>
<div>Senior Associate Scientist, Lecturer,</div>
<div>
<div><span style="color:rgb(136,136,136)">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)">
<span style="color:rgb(136,136,136)">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)">
<span style="color:rgb(136,136,136)">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)">
</div>
<span style="color:rgb(136,136,136)">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)">
<span style="color:rgb(136,136,136)">Fax: (972)-25662581</span></div>
</div>
<div><span style="color:rgb(136,136,136)"><br>
</span></div>
<div>C.E.O, Weather It Is, LTD<br>
Weather and Climate Focus<br>
<a href="http://weather-it-is.com" target="_blank">http://weather-it-is.com</a><br>
Jerusalem, Israel<br>
Local: 02 930 9525<br>
Cell: 054 7 231 170<br>
Int-IS: x972 2 930 9525<br>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>