Changeset 1523


Ignore:
Timestamp:
06/06/18 10:28:12 (6 years ago)
Author:
aclsce
Message:

Modified to allow to run monthly simulations by using offsetMonth and offsetAllButMonth instead of samplingOffset.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/XIOS_DEV_CMIP6/src/filter/temporal_filter.cpp

    r1473 r1523  
    2222                        this->samplingOffset.second, this->samplingOffset.timestep) 
    2323    , initDate(initDate) 
    24     , nextSamplingDate(initDate + (this->samplingOffset + initDate.getRelCalendar().getTimeStep())) 
     24//    , nextSamplingDate(initDate + (this->samplingOffset + initDate.getRelCalendar().getTimeStep())) 
     25    , nextSamplingDate(initDate + offsetMonth + ( offsetAllButMonth + initDate.getRelCalendar().getTimeStep())) 
    2526    , nbOperationDates(1) 
    2627    , nbSamplingDates(0) 
Note: See TracChangeset for help on using the changeset viewer.