Project

General

Profile

ifthen many variables

Added by Noelia Otero over 7 years ago

Hi,

I have a question regarding the use of ifthen, if I have one file1 with several variables, and file2 only contains 1, and I want to put in fileout the values of file2 where file1 is not 0, but all those variables..is it possible?

I tried,

cdo ifthen file1 file2 fileout, and I got the message:
cdo ifthen (Abort): Input streams have different number of variables per timestep!

I guess that it is happening because I have to select one variable from file1...right? there is another way to do it?

Thanks in advance

Noelia