登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
数据描述: float UGRD_P0_L102_GLL0 ( lv_AMSL1, lat_0, lon_0 ) center : US National Weather Service - NCEP (WMC) production_status : Operational products long_name : U-component of wind units : m s-1 _FillValue : 1e+20 grid_type : Latitude/longitude parameter_discipline_and_category : Meteorological products, Momentum parameter_template_discipline_category_number : ( 0, 0, 2, 2 ) level_type : Specific altitude above mean sea level (m) forecast_time : 0 forecast_time_units : hours initial_time : 04/11/2011 (00:00) float GPA_P0_L100_GLL0 ( lv_ISBL6, lat_0, lon_0 ) center : US National Weather Service - NCEP (WMC) production_status : Operational products long_name : Geopotential height anomaly units : gpm _FillValue : 1e+20 grid_type : Latitude/longitude parameter_discipline_and_category : Meteorological products, Mass parameter_template_discipline_category_number : ( 0, 0, 3, 9 ) level_type : Isobaric surface (Pa) forecast_time : 0 forecast_time_units : hours initial_time : 04/11/2011 (00:00) float PWAT_P0_L200_GLL0 ( lat_0, lon_0 ) center : US National Weather Service - NCEP (WMC) production_status : Operational products long_name : Precipitable water units : kg m-2 _FillValue : 1e+20 grid_type : Latitude/longitude parameter_discipline_and_category : Meteorological products, Moisture parameter_template_discipline_category_number : ( 0, 0, 1, 3 ) level_type : Entire atmosphere (considered as a single layer) level : 0 forecast_time : 0 forecast_time_units : hours initial_time : 04/11/2011 (00:00) 代码: 1 load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl" 2 load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl" 3 load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl" 4 load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl" 5 begin 6 ;read the data 7 diri = "/home/liuzhe/fnl_data/" 8 fils = systemfunc("ls "+diri + "fnl_20110411*.grib2") 9 f = addfiles(fils,"r") 10 ListSetType(f ,"join") 11 u = f[:]->UGRD_P0_L100_GLL0 12 v = f[:]->VGRD_P0_L100_GLL0 13 r = f[:]->PWAT_P0_L200_GLL0 14 u1 = dim_avg_n_Wrap(u(:,{72500},:,:) ,0) 15 v1 = dim_avg_n_Wrap(v(:,{72500},:,:),0) 16 r1 = dim_sum_n_Wrap(r ,0) 17 wks = gsn_open_wks("ps","wind and rain") 18 gsn_define_colormap(wks ,"gui_default") 19 res = True 20 res@mpLimtiMode = "LatLon" 21 res@mpMinLatF = 35 22 res@mpMaxLatF = 38 23 res@mpMinLonF =138 24 res@mpMaxLonF =142 25 res@mpTickMarkDisplayMode = "always" 26 res@mpFillOn = "Fasle" 27 res@mpOutlineDrawOrder = "PostDraw" 28 res@mpOutlineBoundarySets ="GeophysicalAndUSStates" 29 res@tfDoNDCoverlay = True 30 res@gsnAddCyclic = False 31 res@vcRefMagnitudeF = 10.0 32 res@vcRefLengthG = 0.045 33 res@vcGlyphStyle = "CurlyVector" 34 res@vcMinDistanceF = 0.017 35 res@vcRefAnnoOrthogonalPosF =.1 36 res@gsnScalarContour = True 37 plot= gsn_csm_vector_scalar_map(wks,u1,v1,r1,res) 38 end 报的错误: warning:tfDoNDCoverlay is not a valid resource in wind and rain_contour at this time warning:tfDoNDCoverlay is not a valid resource in wind and rain_vector at this time warning:vcRefLengthG is not a valid resource in wind and rain_vector at this time fatal:Not: operation not supported on type (string) fatal:["Execute.c":8128]:Execute: Error occurred at or near line 5775 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl fatal:["Execute.c":8128]:Execute: Error occurred at or near line 9760 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl fatal:["Execute.c":8128]:Execute: Error occurred at or near line 10638 in file $NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl fatal:["Execute.c":8128]:Execute: Error occurred at or near line 37 in file rainAndWind-411.ncl
|