<div dir="ltr"><div class="gmail_default" style="font-size:small">Barry,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I was unable to run the script because I was missing an ASCII file.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I think the problem is that NCL is trying to add a longitude cyclic point, and you don&#39;t want to do this for WRF data. What&#39;s happening is that NCL is taking your 270 x 270 data array and turning it into a 270 x 271 array, but the lat2d and lon2d are untouched (because gsnAddCyclic doesn&#39;t touch these), and hence you end up with two arrays of different sizes.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Try setting:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">  res@gsnAddCyclic = False</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 5, 2017 at 1:42 AM, Barry Lynn <span dir="ltr">&lt;<a href="mailto:barry.h.lynn@gmail.com" target="_blank">barry.h.lynn@gmail.com</a>&gt;</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>Hello:</div><div><br></div><div>I thought that I have done what was indicated on this page, but I continue to get an error in dimensioning the second variable.  I am trying to plot a subset of the first variable (no problem), and then extract the same subset from the second variable. I&#39;ve done it before, but</div><div>it doesn&#39;t work here.</div><div><br></div><div>I been at this about 4 or 5 hours, tried different things, including adapting the suggestions here:</div><div><br></div><div><a href="https://www.ncl.ucar.edu/Support/talk_archives/2012/2697.html" target="_blank">https://www.ncl.ucar.edu/<wbr>Support/talk_archives/2012/<wbr>2697.html</a><br></div><div><br></div><div>I uploaded an extraction of the original WRF file, in case this is need.</div><div><br></div><div>Thank you.</div><div><br></div><div>ftp&gt; put wrfsnow.ncl</div><div>local: wrfsnow.ncl remote: wrfsnow.ncl</div><div>229 Entering Extended Passive Mode (|||49155|).</div><div>150 Ok to send data.</div><div>100% |*****************************<wbr>******************************<wbr>*********|  7521        3.06 MiB/s    00:00 ETA</div><div>226 Transfer complete.</div><div>7521 bytes sent in 00:00 (11.93 KiB/s)</div><div>ftp&gt; put wrfsnow.out.file</div><div>local: wrfsnow.out.file remote: wrfsnow.out.file</div><div>229 Entering Extended Passive Mode (|||49161|).</div><div>150 Ok to send data.</div><div>100% |*****************************<wbr>******************************<wbr>*********|  2566        8.21 MiB/s    00:00 ETA</div><div>226 Transfer complete.</div><div>2566 bytes sent in 00:00 (6.15 KiB/s)</div><div>ftp&gt; put <a href="http://file_for_ncltalk.nc" target="_blank">file_for_ncltalk.nc</a></div><div>local: <a href="http://file_for_ncltalk.nc" target="_blank">file_for_ncltalk.nc</a> remote: <a href="http://file_for_ncltalk.nc" target="_blank">file_for_ncltalk.nc</a></div><div>229 Entering Extended Passive Mode (|||49179|).</div><div>150 Ok to send data.</div><div>100% |*****************************<wbr>******************************<wbr>*********|  2279 KiB  278.71 KiB/s    00:00 ETA</div><div>226 Transfer complete.</div><div>2333728 bytes sent in 00:08 (260.45 KiB/s)</div><div><br></div><div><br></div>-- <br><div class="m_5559598412581958747gmail_signature"><div dir="ltr">Barry H. Lynn, Ph.D<div><div>Senior 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>US <a href="tel:(914)%20432-3108" value="+19144323108" target="_blank">914 432 3108</a><br></div></div></div>
</div>
<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>