<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">There’s something weird going on with how ncl interprets the lat2d and lon2d attributes. <div class=""><br class=""></div><div class="">If you redefine the attributes in the script as you had commented out.</div><div class="">e.g.</div><div class=""><div class="">l_obs@lat2d := xlat(0,:,:) ; this is for plotting</div><div class="">l_obs@lon2d := xlon(0,:,:) ; using gsn_csm routines</div><div class=""><br class=""></div><div class="">When they get written to netcdf they are converted to actual 1d arrays. While they’re in the script they are in a weird world of being a fake 2d array. </div><div class=""><br class=""></div><div class="">I’m surprised that NCL doesn’t handle a 1d array and unwrap it accordingly though. </div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Good luck.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div><blockquote type="cite" class=""><div class="">On 1 Feb 2017, at 11:17, Barry Lynn <<a href="mailto:barry.h.lynn@gmail.com" class="">barry.h.lynn@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">I hope someone might have a suggestion. Thank you.<br class=""><div class="gmail_quote">---------- Forwarded message ----------<br class="">From: <b class="gmail_sendername">Barry Lynn</b> <span dir="ltr" class=""><<a href="mailto:barry.h.lynn@gmail.com" class="">barry.h.lynn@gmail.com</a>></span><br class="">Date: Sun, Jan 29, 2017 at 2:36 PM<br class="">Subject: Another dimensions problem<br class="">To: ncl-talk <<a href="mailto:ncl-talk@ucar.edu" class="">ncl-talk@ucar.edu</a>><br class=""><br class=""><br class=""><div dir="ltr" class="">Hi:<div class=""><br class=""></div><div class="">I cannot succeed to map a variable from the <a href="http://wrfinput_d02.nc/" target="_blank" class="">wrfinput_d02.nc</a> file.</div><div class=""><br class=""></div><div class="">I get a dimension problem (different dimensions, different sizes).</div><div class=""><br class=""></div><div class="">This problem seems to happen often and using (/var/) didn't solve it.</div><div class=""><br class=""></div><div class="">Thank you,</div><div class=""><br class=""></div><div class="">Barry<div class="gmail_chip gmail_drive_chip" style="width:396px;height:18px;max-height:18px;background-color:rgb(245,245,245);padding:5px;color:rgb(34,34,34);font-family:arial;font-style:normal;font-weight:bold;font-size:13px;border:1px solid rgb(221,221,221);line-height:1"><a href="https://drive.google.com/file/d/0B3E3GjUeKpBdUXBVdk5VeW95WUk/view?usp=drive_web" style="display:inline-block;max-width:366px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none;padding:1px 0;border:none" target="_blank" class=""><img style="vertical-align:bottom;border:none" src="https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png" class=""> <span dir="ltr" style="color:rgb(17,85,204);text-decoration:none;vertical-align:bottom" class="">wrfinput_d02.nc</span></a><object style="opacity:0.55;float:right;display:none" class="" data="cid:006C2BE1-9FDC-4B60-A29C-F471A45731E9" type="application/x-apple-msg-attachment"></object></div><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="m_4643836788590333745gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class="">Barry H. Lynn, Ph.D<div class=""><div class="">Senior Lecturer,</div><div class=""><div class=""><span style="color:rgb(136,136,136)" class="">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)" class=""><span style="color:rgb(136,136,136)" class="">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)" class=""><span style="color:rgb(136,136,136)" class="">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)" class=""></div><span style="color:rgb(136,136,136)" class="">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)" class=""><span style="color:rgb(136,136,136)" class="">Fax: (972)-25662581</span></div></div><div class=""><span style="color:rgb(136,136,136)" class=""><br class=""></span></div><div class="">C.E.O, Weather It Is, LTD<br class="">Weather and Climate Focus<br class=""><a href="http://weather-it-is.com/" target="_blank" class="">http://weather-it-is.com</a><br class="">Jerusalem, Israel<br class="">Local: 02 930 9525<br class="">Cell: 054 7 231 170<br class="">Int-IS: x972 2 930 9525<br class="">US <a href="tel:(914)%20432-3108" value="+19144323108" target="_blank" class="">914 432 3108</a><br class=""></div></div></div>
</div></div>
</div><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class="">Barry H. Lynn, Ph.D<div class=""><div class="">Senior Lecturer,</div><div class=""><div class=""><span style="color:rgb(136,136,136)" class="">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)" class=""><span style="color:rgb(136,136,136)" class="">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)" class=""><span style="color:rgb(136,136,136)" class="">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)" class=""></div><span style="color:rgb(136,136,136)" class="">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)" class=""><span style="color:rgb(136,136,136)" class="">Fax: (972)-25662581</span></div></div><div class=""><span style="color:rgb(136,136,136)" class=""><br class=""></span></div><div class="">C.E.O, Weather It Is, LTD<br class="">Weather and Climate Focus<br class=""><a href="http://weather-it-is.com/" target="_blank" class="">http://weather-it-is.com</a><br class="">Jerusalem, Israel<br class="">Local: 02 930 9525<br class="">Cell: 054 7 231 170<br class="">Int-IS: x972 2 930 9525<br class="">US 914 432 3108<br class=""></div></div></div>
</div>
<span id="cid:62CC2542-3233-428D-9D07-0E836CD5EC44@eas.albany.edu"><l_obs_map.ncl></span><span id="cid:34E316B6-FC0A-4376-8E9E-576928489E6D@eas.albany.edu"><map_output.file></span>_______________________________________________<br class="">ncl-talk mailing list<br class=""><a href="mailto:ncl-talk@ucar.edu" class="">ncl-talk@ucar.edu</a><br class="">List instructions, subscriber options, unsubscribe:<br class="">http://mailman.ucar.edu/mailman/listinfo/ncl-talk<br class=""></div></blockquote></div><br class=""></div></body></html>