Ignore:
Timestamp:
01/30/14 15:56:39 (10 years ago)
Author:
ymipsl
Message:

Enhancement : using new field attribute "detect_missing_value=true" adn defining a default value, the temporal operator (average, minimum, maximum, accumulate ...) detect missing value in the field and don't take them into account to perform the operation.

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/functor.hpp

    r449 r471  
    4343            CFunctor(void);                             // Not implemented. 
    4444            CFunctor(const StdString & id, CArray<double,1>& doutput); 
    45             CFunctor(const CFunctor & functor);         // Not implemented. 
     45            CFunctor(const StdString & id, CArray<double,1>& doutput, double missingValue); 
     46           CFunctor(const CFunctor & functor);         // Not implemented. 
    4647            CFunctor(const CFunctor * const functor);   // Not implemented. 
    4748         protected : 
     
    5051            /// Propriétés protégées ///    
    5152            int nbcall;             
     53            bool hasMissingValue ; 
     54            double missingValue ; 
     55            CArray<int,1> nbcalls ; 
    5256      }; // class CFunctor 
    5357   } // namespace func 
Note: See TracChangeset for help on using the changeset viewer.