a=addfile("我是路径/wrfout.nc","r")t=wrf_user_getvar(a,"tc",0), land=wrf_user_getvar(a,"LANDMASK",0);land 中海洋区域数据为0, 陆地区域为1mt=mask(t,land,0);此时0为选中区域,其他区域会设为缺测 借助此方法,可以仅绘制或计算部分区域。 凑数专用 分享至 投诉或建议 评论2 赞与转发...
pm_ctrl_plane = wrf_user_intrp3d(pm_ctrl,z,"v",plane,angle,False) pblh_ctrl = wrf_user_getvar(a, "PBLH",0) ;二维的 pblh_plane_ctrl = wrf_user_intrp2d(pblh_ctrl,plane,angle,False) ;画图函数 contour_pm= wrf_contour(a,wks,pm_plane(0:zmax_pos,lat_min:lat_max),opts_cn)...
times = wrf_user_list_times(a) minLat = min(lat) maxLat = max(lat) minLon = min(lon) maxLon = max(lon) ;calculate the total precipitation rain1 = wrf_user_getvar(a,"RAINNC",-1) rain2 = wrf_user_getvar(a,"RAINC",-1) rain3 = wrf_user_getvar(a,"RAINSH",-1) dim_size...
station_num=dimsizes(station) ;read wrfout u v data DATADir=(/"/datadir1/zhuyan/wrfout/2020/expt1/18/"/) FILE= systemfunc (" ls -1 " + DATADir + "wrfout_d01_2019*") filenum=dimsizes(FILE) a = addfiles(FILE + ".nc", "r") u = wrf_user_getvar(a,"U10",-1) output_u...
v = wrf_user_getvar(a,"va",it) ; 3D V at mass points ;---Now get the lowest (bottommost) level nl = 0 tc2 = tc(nl,:,:) u10 = u(nl,:,:) v10 = v(nl,:,:) tf2 = 1.8*tc2+32. ; Convert temperature to Fahrenheit ...
lon1 = wrf_user_getvar(d1,"XLONG",0) ; var2 = wrf_user_getvar(d2,"HGT_M",0) ;lat2 = wrf_user_getvar(d2,"XLAT",0) ; lon2 = wrf_user_getvar(d2,"XLONG",0) ;var3 = wrf_user_getvar(d3,"HGT_M",0) ; lat3 = wrf_user_getvar(d3,"XLAT",0) ; lon3 = wrf...
Time=wrf_user_getvar(a,"Times",-1)n=dimsizes(Time)strs_raw=new(85,string)time_num=ispan(0,85-1,1)+8;时间间隔8小时str1=charactertostring(Time(0,0:9))str2=charactertostring(Time(0,11:18))time_num@units="hours since "+str1+" "+str2utc_date=cd_calendar(time_num,0)utc_str=...
;Arakawa C grid (黄川 C 网格);NCL 的 wrf_user_getvar ()函数可以将WRF Output 直接插值到高度层或气压层,实现垂直坐标转换,便于NCL继续处理。;Compare H=wrf_user_getvar(fi,”height”,time) ;直接读取 计算层 (N层) H=(“PH”+”PHB”)/9.81 ;通过位势计算 网格层 (N+1层) H=fi-height ;...
NCL处理WRFOutput与.nc的相同点WRFOutput与.nc的不同点USTCACELabArakawaCgrid(黄川C网格)USTCACELabNCL的wrf_user_getvar()函数可以将WRFOutput直接插值到高度层或气压层,实现垂直坐标转换,便于NCL继续处理。便捷处理方法Example:USTCACELabCompareH=wrf_user_getvar(fi,”height”,time);直接读取计算层(N层)H=...
NCL 处理WRF Output 与 .nc 的相同点 WRF Output 与 .nc 的不同点 第2页/共10页 Arakawa C grid (黄川 C 网格) 第3页/共10页 NCL 的 wrf_user_getvar ()函数可以将WRF Output 直接插值到高度层或 气压层,实现垂直坐标转换,便于NCL继续处理。 便捷处理方法 Exampl 4、e: 第4页/共10页 Compare ...