Ignore:
Timestamp:
09/13/17 16:14:26 (3 years ago)
Author:
ymipsl
Message:
  • Add new attribute : detect_missing_value on "interpolate_domain" element. It will replace the standard detect_missing_value set on the field. It will be added progressively to all spatial transformation.
  • Now, when detecting missing value, horizontal interpolation do a correct renormalization.

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/XIOS_DEV_CMIP6/src/transformation/domain_algorithm_interpolate.hpp

    r1173 r1264  
    3131  virtual ~CDomainAlgorithmInterpolate() {} 
    3232 
     33  virtual void apply(const std::vector<std::pair<int,double> >& localIndex, 
     34                     const double* dataInput, 
     35                     CArray<double,1>& dataOut, 
     36                     std::vector<bool>& flagInitial,                      
     37                     bool ignoreMissingValue, bool firstPass); 
     38  virtual void updateData(CArray<double,1>& dataOut); 
     39 
    3340  static bool registerTrans(); 
    3441protected: 
     
    4754 
    4855private: 
     56  CArray<double,1> renormalizationFactor ; 
     57  bool detectMissingValue ; 
     58  bool renormalize ; 
     59  bool quantity ; 
     60   
    4961  CInterpolateDomain* interpDomain_; 
    5062  bool writeToFile_; 
Note: See TracChangeset for help on using the changeset viewer.