Ignore:
Timestamp:
03/16/17 15:04:53 (5 years ago)
Author:
mhnguyen
Message:

Correcting behavior of detecting_missing_value:

  • Missing value detection is activated only when detecting_missing_value = true

and a default_value is defined.

  • By default, undefined value by the computation of vertical (horizontal) interpolation will be NaN (not a number).

They are only converted to default_value if missing value detection is activated

Test

  • On Curie
  • Work
File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/transformation/Functions/max_reduction.hpp

    r1018 r1076  
    2727                     CArray<double,1>& dataOut, 
    2828                     std::vector<bool>& flagInitial, 
    29                      const double& defaultValue); 
     29                     bool ignoreMissingValue); 
    3030 
    3131  virtual ~CMaxReductionAlgorithm() {} 
Note: See TracChangeset for help on using the changeset viewer.