CDO error when using -cat
Added by Alice Guccione 8 days ago
Good afternoon,
I am experiencing some issues when using CDO functions with -cat path/files.nc instead of a single infile.nc. I tried the following:
cdo timmin infile minfile
cdo timmax infile maxfile
However, instead of using a single infile.nc, I applied the -cat path/files.nc operator, as I am concatenating many files and creating a copy would be too heavy.
Once I have minfile and maxfile, I attempt to compute the 90th percentile with the following command:
cdo timpctl,90 -cat path/files.nc minfile maxfile outfile , but it applies the -cat to everything and it gives me the eror:
cdo (Abort): Too few streams specified! Operator timpctl needs 3 input streams and 1 output stream!
Is there a method to compute the 90th percentile separating the functions, without having to make a copy of all the files, but using directly -cat path/files.nc instead?
Thank you in advance for your help
Replies (2)
RE: CDO error when using -cat - Added by Ralf Mueller 7 days ago
Hi Alice!
Please have a look into this chapter of the documentation
baseline is: use []
to declare the inputs more precisely
Let me know if it works for you
cheers
ralf
RE: CDO error when using -cat - Added by Alice Guccione 6 days ago
I solved the issue with [ -cat path/files.nc ] , thank you very much!