<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Noelia,<br>
<br>
maybe you have missed the setting<br>
<br>
<tt> oz&lat = lat</tt><br>
<br>
Hope this helps,<br>
Karin<br>
<br>
<div class="moz-cite-prefix">Am 18.09.14 10:50, schrieb Noelia
otero:<br>
</div>
<blockquote
cite="mid:CAG7o=LskEqMw+R+Lk8_DaruiV5WSOh_b_bw0r4qLybUtS7iA8g@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,
<div><br>
</div>
<div>I have problems to plot one field, and although I have
already dealt with this error, I tried to fix it now in
different ways..but I don't know what I am missing, and I have
no idea what I am doing wrong. The error is always:</div>
<div><br>
</div>
<div><i>"check_for_y_lat_coord: Warning: Data either does not
contain a valid latitude coordinate array or doesn't contain
one at all......"</i></div>
<div><br>
</div>
<div>I would appreciate any suggestion:</div>
<div><br>
</div>
<div>
<div> ;Variable</div>
<div> oz = ozfil->MDA8_SurfO3</div>
<div> printVarSummary(oz)</div>
<div> ; Summary of variable: oz </div>
<div> ;***Type: double</div>
<div> Total Size: 13777920 bytes</div>
<div> 1722240 values</div>
<div> Number of Dimensions: 3</div>
<div> Dimensions and sizes:<span class=""
style="white-space:pre"> </span>[time | 920] x [lon | 48]
x [lat | 39]</div>
<div> Coordinates: </div>
<div> time: [20000601..20090831]</div>
<div> lon: [ 347.. 34]</div>
<div> lat: [ 34.. 72]</div>
<div><br>
</div>
<div> ;change lon values into -180 180</div>
<div> lon = ozfil ->lon</div>
<div> lon =
where((lon.gt.180).and.(lon.lt.360),lon-360,lon)</div>
<div> lat = ozfil ->lat</div>
<div> lon@long_name = "longitude"</div>
<div> lon@units = "degrees_east"</div>
<div> lat@long_name = "latitude"</div>
<div> lat@units = "degrees_north"</div>
<div> oz&lon = lon</div>
<div> printVarSummary(oz)</div>
<div> </div>
<div>Now the summary of oz is:</div>
<div>
<div>Variable: oz</div>
<div>Type: double</div>
<div>Total Size: 13777920 bytes</div>
<div> 1722240 values</div>
<div>Number of Dimensions: 3</div>
<div>Dimensions and sizes:<span class=""
style="white-space:pre"> </span>[time | 920] x [lon |
48] x [lat | 39]</div>
<div>Coordinates: </div>
<div> time: [20000601..20090831]</div>
<div> lon: [ -13.. 34]</div>
<div> lat: [ 34.. 72]</div>
<div>Number Of Attributes: 2</div>
</div>
<div><br>
</div>
<div>ISo, am trying to plot:</div>
<div>plot = gsn_csm_contour_map(wks,oz(0,:,:),res)<br>
</div>
<div><br>
</div>
<div>Any idea about how can I solve this??? </div>
</div>
<div>Thank you in advance,</div>
<div><br>
</div>
<div>Cheers,</div>
<div><br>
</div>
<div><br>
</div>
<div>Noelia.</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
<a class="moz-txt-link-freetext" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Dipl. Geophys. Karin Meier-Fleischer
Visualization
Application Support
Deutsches Klimarechenzentrum GmbH (DKRZ)
Bundesstrasse 45a - D20146 Hamburg - Germany
Phone: +49 (0)40 460094 126
Fax: +49 (0)40 460094 270
E-Mail: <a class="moz-txt-link-abbreviated" href="mailto:meier-fleischer@dkrz.de">meier-fleischer@dkrz.de</a>
URL: <a class="moz-txt-link-abbreviated" href="http://www.dkrz.de">www.dkrz.de</a>
Geschäftsführer: Prof. Dr. Thomas Ludwig
Sitz der Gesellschaft: Hamburg
Amtsgericht Hamburg HRB 39784
</pre>
</body>
</html>