CDO info on single variable
Added by Noam Chomsky over 4 years ago
As the title mentions, I would like to run 'info' on only one variable because in files with multiple variables the output is way too long and becomes less useful. Otherwise this is a very useful function to get a quick idea of the variable values.
Is it possible?
Replies (3)
RE: CDO info on single variable - Added by Ralf Mueller over 4 years ago
hi Noam!
check
cdo -infov -selname,varname <infile>you can chain all operators the read and write to files. operators that write to stdout have to be used at the end of a chain of course.
hth
ralf
RE: CDO info on single variable - Added by Noam Chomsky over 4 years ago
Many thanks Ralf, I didn't think about chaining operators!
RE: CDO info on single variable - Added by Ralf Mueller over 4 years ago
hi Noam!
Chaining IMO is the biggest feature of CDO. It not only avoids temporary files (and corresponding IO on dist, which usually is quite slow), it also allows parallel processing of the operators of the chain.
So give it a try and explore it a little bit - definitely worth knowing!
best wishes
ralf