Ignore:
Timestamp:
01/10/17 13:52:53 (7 years ago)
Author:
mhnguyen
Message:

Improving missing-value processing
If detect_missing_value is activated, then all missing value will be converted to
NaN (Not-a-number) in input of data flow then they will be reconverted to missing value on output

+) Update SourceFilter?, TemporalFilter? and SpatialTransformFilter? with new processing
+) Update all transformations with new processing

Test
+) On Curie
+) Work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/filter/temporal_filter.cpp

    r854 r1018  
    1515    , isFirstOperation(true) 
    1616  { 
     17    double defaultValue = ignoreMissingValue ? std::numeric_limits<double>::quiet_NaN() : missingValue; 
     18     
    1719#define DECLARE_FUNCTOR(MType, mtype) \ 
    1820    if (opId.compare(#mtype) == 0) \ 
     
    2022      if (ignoreMissingValue) \ 
    2123      { \ 
    22         functor.reset(new func::C##MType(tmpData, missingValue)); \ 
     24        functor.reset(new func::C##MType(tmpData, defaultValue)); \ 
    2325      } \ 
    2426      else \ 
Note: See TracChangeset for help on using the changeset viewer.