Project

General

Profile

Replacing values except NaN

Added by Nurul Ain over 3 years ago

Hi, I tried to replace or change value but I didn;t want the NaN value changes to 0. Is there any rules or command for exception? Or any references you can suggest me?


Replies (1)

RE: Replacing values except NaN - Added by Karin Meier-Fleischer over 3 years ago

Hi Nurul,

to values or a value range you can use the setvals or setrtoc operators, see https://code.mpimet.mpg.de/projects/cdo/embedded/cdo.pdf#subsection.2.15.7

The missing values won't be changed.

-Karin

    (1-1/1)