<html><head></head><body><div class="ydp60e98b12yahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"></div>
<div dir="ltr" data-setdir="false" style=""><div style=""><div style=""><div style="" dir="ltr" data-setdir="false">Dear Adam,</div><div style="" dir="ltr" data-setdir="false"><br></div><div style="" dir="ltr" data-setdir="false">In the script you can see as below:</div><div style=""> copy_VarCoords(u, ur )</div><div style=""> printVarSummary(ur)</div><div style=""> printVarSummary(u)</div><div style=""><br></div><div style="" dir="ltr" data-setdir="false">However, the print message show diffference for ur and u (orginal variable). As you said that the coordinate info was not correct for the plot. Can you give more suggestion? </div></div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><br></div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;">Variable: ur</div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;">Type: float</div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;">Total Size: 227900 bytes</div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"> 56975 values</div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;">Number of Dimensions: 2</div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;">Dimensions and sizes:<span style="white-space: pre-wrap;"> </span>[y | 215] x [x | 265]</div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;">Coordinates: </div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;">Number Of Attributes: 3</div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"> units :<span style="white-space: pre-wrap;"> </span>m s-1</div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"> long_name :<span style="white-space: pre-wrap;"> </span>Zonal Rotational Wind</div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"> _FillValue :<span style="white-space: pre-wrap;"> </span>-2.147484e+09</div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><br></div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;">Variable: u</div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;">Type: float</div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;">Total Size: 227900 bytes</div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"> 56975 values</div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;">Number of Dimensions: 2</div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;">Dimensions and sizes:<span style="white-space: pre-wrap;"> </span>[y | 215] x [x | 265]</div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;">Coordinates: </div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;">Number Of Attributes: 7</div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"> stagger :<span style="white-space: pre-wrap;"> </span></div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"> description :<span style="white-space: pre-wrap;"> </span>U at 10 M</div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"> MemoryOrder :<span style="white-space: pre-wrap;"> </span>XY </div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"> FieldType :<span style="white-space: pre-wrap;"> </span>104</div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"> coordinates :<span style="white-space: pre-wrap;"> </span>XLONG XLAT</div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"> units :<span style="white-space: pre-wrap;"> </span>m s-1</div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"> Times :<span style="white-space: pre-wrap;"> </span>19750802</div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><br></div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><br></div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;" dir="ltr" data-setdir="false">Best regards,</div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;" dir="ltr" data-setdir="false">Mark</div></div><br></div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><br></div>
</div><div id="yahoo_quoted_0932413730" class="yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Wednesday, May 27, 2020, 3:56:36 AM GMT+8, Adam Phillips <asphilli@ucar.edu> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div id="yiv8150119690"><div><div dir="ltr">Hi Mark,<div>Nothing stands out in your script to me. That likely means that there is something amiss with the coordinate variables attached to the arrays that are being passed into the plotting function. Examine the ur/vr arrays with printVarSummary statements and set things accordingly. If you cannot solve the issue, please respond back to ncl-talk with any error messages along with the print outs from any printVarSummary statements. </div><div>Adam</div></div><br clear="none"><div class="yiv8150119690gmail_quote"><div class="yiv8150119690yqt1458987996" id="yiv8150119690yqt30272"><div class="yiv8150119690gmail_attr" dir="ltr">On Fri, May 22, 2020 at 12:58 AM Mark Chan 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="yiv8150119690gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;"><div><div style="font-family:Helvetica, Arial, sans-serif;font-size:13px;"><div>Dear NCL group.</div><div><br clear="none"></div><div dir="ltr">The attached files are NCL script and its plot. Actually the netCDF data is for a specific domain on earth, instead of global data. Why do the attached NCL script make the global plot? Can one give a suggestion to make plot based on the area of the original data?</div><div dir="ltr"><br clear="none"></div><div dir="ltr">Thanks a lot in advance</div><div dir="ltr">Mark</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="yiv8150119690gmail_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>