- 积分
 - 41
 
	- 贡献
 -  
 
	- 精华
 
	- 在线时间
 -  小时
 
	- 注册时间
 - 2018-8-7
 
	- 最后登录
 - 1970-1-1
 
 
 
 
 
 
 | 
	
 
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册 
 
 
 
x
 
需要对netcdf数据(用RegCM计算的一年的数据)中的rsns(time,ix,jx)变量做季节平均,请问用什么命令可以实现? 
我现在用NCL写了脚本,对20151201到但是不知道怎么做季节平均,望大神指点!!! 
变量信息: 
            Variable "rsns"                 float rsns(time=10, iy=167, jx=327);  :long_name = "Surface net downward shortwave flux";  :standard_name = "surface_net_downward_shortwave_flux";  :units = "W m-2";  :coordinates = "xlat xlon";  :grid_mapping = "crs";  :cell_methods = "time: point"; 
 
   
NCL脚本: 
a = addfile("test_china_netcdf_20151201_20161231.in_RAD.2015120100.nc","r") 
   prec = dim_avg_n(a->rsns,0) 
 
  xlat = a->xlat 
  xlon = a->xlon 
  dims = dimsizes(xlat) 
  nlat = dims(1) 
  nlon = dims(0) 
 
  pdims = dimsizes(prec) 
  ntimes = pdims(0) 
 
  times = a->time; 
 
不管用NCL 还是CDO,能解决问题的办法都是好办法,求大神们解答一下 
 |   
 
 
 
 |