median = dim_avg(data, 0.5) 在这个例子中,我们将数据数组和0.5作为参数传递给"dim_avg"函数。该函数将返回数据数组的中位数。同样,我们可以使用"dim_split"函数来计算任意百分位数的阈值。该函数需要指定数据数组、分位数和维度。以下是一个计算第90个百分位数的示例代码: threshold = dim_split(data, 0.9,...
dim_max_n_Wrap Computes the maximum of a variables given dimensions at all other dimensions and retains metadata. dim_median Computes the median of a variables rightmost dimension at all other dimensions. dim_median_n Computes the median of a variables given dimensions at all other dimensions. ...
_n_Wrapdim_mediandim_median_ndim_mindim_min_ndim_min_n_Wrapdim_numdim_num_ndim_numrun_ndim_pqsortdim_pqsort_ndim_productdim_product_ndim_rmsddim_rmsd_ndim_rmsd_n_Wrapdim_rmsd_Wrapdim_rmvmeandim_rmvmean_ndim_rmvmean_n_Wrapdim_rmvmean_Wrapdim_rmvmeddim_rmvmed_ndim_rmvmed_n_Wrapdim_rmv...
NCL数据处理南信大课件
addfile,addfiles:打开文件获取文件句柄。文件句柄包含文件全局属性,可以用getvaratts获取。 isfilepresent:测试文件存在。 getfilevarnames,getfilevardims,getfilevaratts,getfilevardimsizes,getfilevartypes:查询文件数据属性。 isfilevar,isfilevaratt,isfilevardim,isfilevarcoord:测试文件数据属性。15...
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 .gitignore
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_max_n_Wrap Computes the maximum of a variables given dimensions at all other dimensions and retains metadata. dim_median Computes the median of a variables rightmost dimension at all other dimensions. dim_median_n Computes the median of a variables given dimensions at all other dimensions. ...
NCL数据处理南信大课件
Star1 Files 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 ...