我想在 netcdf 文件中将常量c以下的所有值设置为c本身:file.nc
使用气候数据运营商 (CDO) 的解决方案是
cdo mul -gec,$c file.nc file.nc t1.nc cdo add -mulc,$c -ltc,$c file.nc t1.nc output.nc rm -f t1.nc
但是有没有更简洁/更短的方法来做到这一点?
bash netcdf nco cdo-climate
bash ×1
cdo-climate ×1
nco ×1
netcdf ×1