Dear Sabeerali
Please check the answer to FAQ 13 on the NCL web pages at
http://ncl.ucar.edu/FAQ/#err_msgs_013
Regards,
Andrea
-- Andrea N. Hahmann Wind Energy Division Risų DTU Technical University of Denmark DTU Risų National Laboratory for Sustainable Energy Frederikborgvej 399, P.O. Box 49 Building 125 DK-4000 Roskilde, Denmark Direct +45 4677 5471 Fax +45 4677 5083 ahah_at_risoe.dk www.risoe.dtu.dk From: "Sabeerali(sebi)" <sabeerl_at_gmail.com> Date: Wed, 26 Aug 2009 18:02:14 +0530 To: <ncl-talk_at_ucar.edu> Subject: .check_for_y_lat_coord: Warning: Data either does not contain a valid latitude coordinate array or doesn't contain one at all. Hello I am getting the following error when I execute the below script....How I can solve this problem...Any help would be appreciable... (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' 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 ;************************************************************** in2=addfile("mn_sst_1983-05.nc <http://mn_sst_1983-05.nc> ","r") sst=in2->sst sstflt=short2flt(sst) ;printVarSummary(sst) mn_clim_sst=clmMonTLL(sstflt) ;printVarSummary(mn_clim_sst) ;printVarSummary(mn_clim_sst) Mon_sst_anom=calcMonAnomTLL(sstflt,mn_clim_sst) Mon_sst_anom@_FillValue=32767 Mon_sst_anom_at_missing_value=32767 ;***************************************************** SSTA_1983=Mon_sst_anom(0:11,:,:) SSTA_1983_JJAS=dim_avg(SSTA_1983(lat|:,lon|:,time|5:8)) ;************************************************** SSTA_1990=Mon_sst_anom(84:95,:,:) SSTA_1990_JJAS=dim_avg(SSTA_1990(lat|:,lon|:,time|5:8)) ;************************************************** SSTA_1999=Mon_sst_anom(192:203,:,:) SSTA_1999_JJAS=dim_avg(SSTA_1999(lat|:,lon|:,time|5:8)) ;******************************************************** SSTA_2004=Mon_sst_anom(252:263,:,:) SSTA_2004_JJAS=dim_avg(SSTA_2004(lat|:,lon|:,time|5:8)) ;******************************************************* printVarSummary(SSTA_2004_JJAS) ;************************************************************** EW_JJAS_SSTA_composite=(SSTA_2004_JJAS+SSTA_1999_JJAS+SSTA_1990_JJAS+SSTA_19 83_JJAS)/4.0 ;printVarSummary(EW_JJAS_SSTA_composite) ;print(EW_JJAS_SSTA_composite(31,169)) wks=gsn_open_wks("ps","EW_JJAS_SSTA_composite") gsn_define_colormap(wks,"BlWhRe") res=True res_at_cnFillOn=True res_at_gsnSpreadColors=True res_at_cnLinesOn=False plot=gsn_csm_contour_map_ce(wks,EW_JJAS_SSTA_composite,res) end _______________________________________________ ncl-talk mailing list List instructions, subscriber options, unsubscribe: http://mailman.ucar.edu/mailman/listinfo/ncl-talk
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Aug 26 2009 - 06:47:17 MDT
This archive was generated by hypermail 2.2.0 : Wed Sep 02 2009 - 12:24:39 MDT