[ncl-talk] check_for_y_lat_coord: Warning:

Noelia otero noeli1680 at gmail.com
Thu Sep 18 12:43:21 MDT 2014


Hi,

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..
Thanks again!

Noelia.

2014-09-18 11:29 GMT+02:00 Karin Meier-Fleischer <meier-fleischer at dkrz.de>:

>  Hi Noelia,
>
> maybe you have missed the setting
>
>  oz&lat = lat
>
> Hope this helps,
> Karin
>
> Am 18.09.14 10:50, schrieb Noelia otero:
>
> Hi,
>
>  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:
>
>  *"check_for_y_lat_coord: Warning: Data either does not contain a valid
> latitude coordinate array or doesn't contain one at all......"*
>
>  I would appreciate any suggestion:
>
>   ;Variable
>    oz = ozfil->MDA8_SurfO3
>    printVarSummary(oz)
>  ; Summary of variable: oz
>   ;***Type: double
>         Total Size: 13777920 bytes
>           1722240 values
>           Number of Dimensions: 3
>           Dimensions and sizes: [time | 920] x [lon | 48] x [lat | 39]
>           Coordinates:
>            time: [20000601..20090831]
>            lon: [ 347..  34]
>            lat: [  34..  72]
>
>      ;change lon values into -180 180
>     lon = ozfil ->lon
>     lon = where((lon.gt.180).and.(lon.lt.360),lon-360,lon)
>     lat = ozfil ->lat
>     lon at long_name = "longitude"
>     lon at units = "degrees_east"
>     lat at long_name = "latitude"
>     lat at units = "degrees_north"
>     oz&lon = lon
>     printVarSummary(oz)
>
> Now the summary of oz is:
>  Variable: oz
> Type: double
> Total Size: 13777920 bytes
>             1722240 values
> Number of Dimensions: 3
> Dimensions and sizes: [time | 920] x [lon | 48] x [lat | 39]
> Coordinates:
>             time: [20000601..20090831]
>             lon: [ -13..  34]
>             lat: [  34..  72]
> Number Of Attributes: 2
>
>  ISo,  am trying to plot:
> plot = gsn_csm_contour_map(wks,oz(0,:,:),res)
>
>  Any idea about how can I solve this???
>  Thank you in advance,
>
>  Cheers,
>
>
>  Noelia.
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
> --
> 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:   meier-fleischer at dkrz.de
> URL:      www.dkrz.de
>
> Geschäftsführer: Prof. Dr. Thomas Ludwig
> Sitz der Gesellschaft: Hamburg
> Amtsgericht Hamburg HRB 39784
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20140918/f5fd789c/attachment.html 


More information about the ncl-talk mailing list