Project

General

Profile

Mask using two thresholds

Added by Bogdan Antonescu over 1 year ago

Hi,

I am new to CDO and I wondering if you can help me with something that might be quite obvious for experienced users. I am trying to calculate the number of hours (from a daily file) in which a variable is between two thresholds (i.e., t1 <= var <= t2). I managed to apply one of the conditions but not both in the same time (e.g., cdo timsum -lec,298 file_in.nc file_out.nc).

I very much appreciate you help on this.

Thank you very much!

Bogdan


Replies (1)

RE: Mask using two thresholds - Added by Estanislao Gavilan over 1 year ago

Hi Bodgan,

this question appears in several posts in this forum. Take a look to this link, and also the section 2.7.1 in the manual.

https://code.mpimet.mpg.de/boards/2/topics/12479?r=12481#message-12481

If you still having problems after reading the example, we can try to do it together.

Regards,

Estanislao

    (1-1/1)