ERROR[ coordinates : lat lon (0) check_for_y_lat_coord: Warning: Data either does not contain a valid latitude coordinate array or doesn't contain one at all...

From: Vanúcia Schumacher <vanucia-schumacher_at_nyahnyahspammersnyahnyah>
Date: Mon May 12 2014 - 13:35:17 MDT

Hi users,
I'll trying to plot global map, but lat and lon have different names in variable:
>load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl" >load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl" >load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
>begin>fils = systemfunc("ls *.nc") >f = addfiles(fils, "r") >ListSetType(f,"join")
>t =f[:]->tos(:,0,:,:)
>lat = f[:]->i>lon = f[:]->j> t&i = lat >t&j = lon>tsm = t - 273.15>media= dim_avg_n_Wrap(tsm, 0) >plot = gsn_csm_contour_map_ce(wks,media,res)>end
>printVarSummary(t)

Variable: tType: floatTotal Size: 108472 bytes 27118 valuesNumber of Dimensions: 3Dimensions and sizes: [ncl_join | 1] x [j | 149] x [i | 182]Coordinates: j: [1..149] i: [1..182]Number Of Attributes: 14 time : 15.5 standard_name : sea_surface_temperature long_name : Sea Surface Temperature comment : "this may differ from ""surface temperature"" in regions of sea ice." units : K original_name : sosstsst original_units : degC history : 2011-11-09T14:11:22Z altered by CMOR: Converted units from 'degC' to 'K'. 2011-11-09T14:11:22Z altered by CMOR: replaced missing value flag (9.96921e+36) with standard missing value (1e+20). cell_methods : time: mean (interval: 30 minutes) cell_measures : area: areacello missing_value : 1e+20 _FillValue : 1e+20 associated_files : baseURL: http://cmip-pcmdi.llnl.gov/CMIP5/dataLocation gridspecFile: gridspec_ocean_fx_IPSL-CM5A-LR_decadal1980_r0i0p0.nc areacello: areacello_fx_IPSL-CM5A-LR_decadal1980_r0i0p0.nc coordinates : lat lon(0) check_for_y_lat_coord: Warning: Data either does not contain a valid latitude coordinate array or doesn't contain one at all.(0) A valid latitude coordinate array should have a 'units' 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 a valid longitude coordinate array or doesn't contain one at all.(0) A valid longitude coordinate array should have a 'units' 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'
Help me!
---Vanúcia SchumacherMestranda em Meteorologia - UFVMeteorologista -UFPel
Departamento de Meteorologia Agrícola - DEACel: (31) 9978 2522 DEA: (31) 3899 1890

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon May 12 13:35:29 2014

This archive was generated by hypermail 2.1.8 : Tue May 20 2014 - 10:18:04 MDT