Ignore:
Timestamp:
09/13/17 16:14:26 (7 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/node/interpolate_domain.cpp

    r1158 r1264  
    4848    } 
    4949 
     50    bool detect_missing_value=false ; 
     51    if (!this->detect_missing_value.isEmpty()) detect_missing_value = this->detect_missing_value.getValue(); 
     52    else this->detect_missing_value.setValue(detect_missing_value); 
     53 
     54    bool renormalize=false ; 
     55    if (!this->renormalize.isEmpty()) renormalize = this->renormalize.getValue(); 
     56    else this->renormalize.setValue(renormalize); 
     57 
     58    bool quantity=false ; 
     59    if (!this->quantity.isEmpty()) quantity = this->quantity.getValue(); 
     60    else this->quantity.setValue(quantity); 
     61 
    5062    if (this->mode.isEmpty()) this->mode.setValue(mode_attr::compute); 
    5163    if (this->write_weight.isEmpty()) this->write_weight.setValue(false); 
Note: See TracChangeset for help on using the changeset viewer.