简体   繁体   English

气候变量从 nc 文件的划分

[英]Division of climate variable from to nc files

I would like to divide a given variable prob from a file of future climate AK2100.nc with the same variable from the file of contemporary time AK.nc .我想将给定变量prob从未来气候AK2100.nc的文件中与当代AK.nc文件中的相同变量分开。 I tried this我试过这个

cdo div AK2100.nc AK.nc division-AK2100.nc

But it divided all the three variables, including the lat and lon .但它划分了所有三个变量,包括latlon How can I specifically target the variable of interest prob and only divide these two similar variables but keep the spatial aspect?我怎样才能专门针对感兴趣的变量prob并且只划分这两个相似的变量但保持空间方面?

Try尝试

cdo  -div -selname,prob AK2100.nc AK.nc division-AK2100.nc

Try ncbo试试ncbo

ncbo -v prob -y divide AK2100.nc AK.nc out.nc

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM