median = dim_avg(data, 0.5) 在这个例子中,我们将数据数组和0.5作为参数传递给"dim_avg"函数。该函数将返回数据数组的中位数。同样,我们可以使用"dim_split"函数来计算任意百分位数的阈值。该函数需要指定数据数组、分位数和维度。以下是一个计算第90个百分位数的示例代码: threshold = dim_split(data, 0.9,...
3.isfilevar——测试字符串是否为文件中的变量 37 47 4.isfilevaratt——测试字符串是否为文件中变量的属性 38 48 5.isfilevarcoord——测试数组名是否为文件中变量的坐标 38 48 6.isfilevardim——测试字符串是否为文件中变量的维度 38 48 48-51 38-41 7 建议采用toy形式的通用函数(如下列1),不采用x...
dim_median_n Computes the median of a variables given dimensions at all other dimensions. dim_min Finds the minimum of a variables rightmost dimension at all other dimensions. dim_min_n Finds the minimum of a variables given dimensions at all other dimensions. dim_min_n_Wrap Computes the ...
dim_avg_Wrap dim_cumsum dim_cumsum_n dim_cumsum_n_Wrap dim_cumsum_Wrap dim_gbits dim_max dim_max_n dim_max_n_Wrap dim_median dim_median_n dim_min dim_min_n dim_min_n_Wrap dim_num dim_num_n dim_numrun_n dim_pqsort dim_pqsort_n ...
NCL数据处理南信大课件
function dim_median_n ( x : numeric, dims [*] : integer ) return_val : float or double Arguments x A variable of numeric type and any dimensionality. dims The dimension(s) of x on which to determine the median. Must be consecutive and monotonically increasing. ...
1.8*b) salinity = where (sst.lt.5 .and. ice.gt.icemax \ , salinity*0.9, salinity) 不可: y = where(y.eq.0, y@_FillValue, 1./y) 可: y = 1.0/where(y.eq.0, y@_FillValue, y) dim_*_n [dim_*] • 对数组的行列dimension执行操作 • avg, var, sum, sort, median, rms...
• 函数dim_avg ( x ) • xZon = dim_avg( x ) => xZon(ntim,nlat) • xTim = dim_avg( x(lat|:,lon|:,time|:) ) => xTim(nlat,mlon) • 对数组的行列dimension执行操作 • avg, var, sum, sort, median, rmsd, ….. ...
master .vim after autoload bin bundle colors dictionary ftdetect ftplugin plugin record snippets syntax Dockerfile.vim ncl.vim README.txt test.vim bash-git-prompt bin git_hooks others .bash_logout .bash_profile .bashrc .git_bashrc .gitconfig ...
NCL数据处理南信大课件