<div dir="ltr">Hi,<div><br></div><div><div>Thanks karin, but even with this setting I can't plot. I don't know if this problem might be due to the data..actually, I don't know why this warning..</div><div>Thanks again!</div></div><div><br></div><div>Noelia.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-09-18 11:29 GMT+02:00 Karin Meier-Fleischer <span dir="ltr"><<a href="mailto:meier-fleischer@dkrz.de" target="_blank">meier-fleischer@dkrz.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div 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>Am 18.09.14 10:50, schrieb Noelia
otero:<br>
</div>
<blockquote type="cite"><div><div class="h5">
<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 style="white-space:pre-wrap"> </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 style="white-space:pre-wrap"> </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></fieldset>
<br>
</div></div><pre>_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a>
</pre>
</blockquote>
<br>
<pre cols="72">--
Dipl. Geophys. Karin Meier-Fleischer
Visualization
Application Support
Deutsches Klimarechenzentrum GmbH (DKRZ)
Bundesstrasse 45a - D20146 Hamburg - Germany
Phone: <a href="tel:%2B49%20%280%2940%20460094%20126" value="+4940460094126" target="_blank">+49 (0)40 460094 126</a>
Fax: <a href="tel:%2B49%20%280%2940%20460094%20270" value="+4940460094270" target="_blank">+49 (0)40 460094 270</a>
E-Mail: <a href="mailto:meier-fleischer@dkrz.de" target="_blank">meier-fleischer@dkrz.de</a>
URL: <a href="http://www.dkrz.de" target="_blank">www.dkrz.de</a>
Geschäftsführer: Prof. Dr. Thomas Ludwig
Sitz der Gesellschaft: Hamburg
Amtsgericht Hamburg HRB 39784
</pre>
</div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>