简体   繁体   English

CDO select 变量并行

[英]CDO select variable in parallel

I want to select/split a specific variable TT from a big NetCDF file using the CDO library/package in parallel to speed up the process.我想并行使用CDO库/包从大型 NetCDF 文件中选择/拆分特定变量TT以加快进程。

I used the following:我使用了以下内容:

cdo -P 8 select,name=TT infile.nc outfile_TT.nc

but got the following error:但出现以下错误:

-bash: cdo -P: command not found

I have tried also -selname and -select as operators but it gives me the same error.我也尝试过-selname-select作为运算符,但它给了我同样的错误。

It only works when I run it in serial (ie, remove -P 8 ) as follows:它仅在我以串行方式运行(即删除-P 8 )时才有效,如下所示:

cdo select,name=TT infile.nc outfile_TT.nc

Is it possible to run this in parallel using CDO ?是否可以使用CDO并行运行?

According to the CDO documentation ( Appendix B - Parallelized operators ) parallel processing is not supported for select operator.根据 CDO 文档( 附录 B - 并行化运算符), select运算符不支持并行处理。

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

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