[ncl-talk] check_for_y_lat_coord

Ehsan Taghizadeh ehsantaghizadeh at yahoo.com
Mon Feb 25 10:46:35 MST 2019


Dears,I've tried to plot precipitation data from ERA-Interim with the attached script.However after trying this I encountered the following errors:
Variable: tpType: floatTotal Size: 3755712 bytes            938928 valuesNumber of Dimensions: 3Dimensions and sizes:   [time | 1262] x [latitude | 24] x [longitude | 31]Coordinates:            time: [1008072..1038336]            latitude: [41.25..24]            longitude: [42.75..65.25]Number Of Attributes: 8  _FillValue :  -32767  missing_value :       -32767  units :       m  long_name :   Total precipitation  _FillValue_original : -32767  missing_value_original :      -32767  time :        1008060  NCL_tag :     calculate_daily_values: arith=sum(0)     ==================================(0)     check_for_y_lat_coord: Warning: Data either does not contain(0)     a valid latitude coordinate array or doesn't contain one at all.(0)     A valid latitude coordinate array should have a 'units'(0)     attribute equal to one of the following values:(0)         'degrees_north' 'degrees-north' 'degree_north' 'degrees north' 'degrees_N' 'Degrees_north' 'degree_N' 'degreeN' 'degreesN' 'deg north'(0)     check_for_lon_coord: Warning: Data either does not contain(0)     a valid longitude coordinate array or doesn't contain one at all.(0)     A valid longitude coordinate array should have a 'units'(0)     attribute equal to one of the following values:(0)         'degrees_east' 'degrees-east' 'degree_east' 'degrees east' 'degrees_E' 'Degrees_east' 'degree_E' 'degreeE' 'degreesE' 'deg east'
I've found this link (https://www.ncl.ucar.edu/Document/Graphics/error_msg.shtml), and based on it I tried something like these:   tp!0="time"   tp!1="lat"   tp!2="lon"   tp&lat at units="degrees_north"   tp&lon at units="degrees_east"
But unfortunately they doesn't help!May I ask your help to plot precipitation data from ERA-Interim. I've just to say I did a processing to original ERA-Interim data to obtain daily precipitation (It has been done before with ncl-talk help). Attached are the script and data.Any help would be appreciated.

SincerelyEhsan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190225/388eb060/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 8_ERAI_Prec_2015_20180615_00_12_24_ncl.rar
Type: application/octet-stream
Size: 638878 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190225/388eb060/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ERAImonoplotncl.ncl
Type: application/octet-stream
Size: 3720 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190225/388eb060/attachment-0003.obj>


More information about the ncl-talk mailing list