Ignore:
Timestamp:
04/14/17 11:18:27 (7 years ago)
Author:
ymipsl
Message:

Enhancement : Add new functionnalites for file attribute "time_counter" :
(centered/ instant/record/exclusive/centered_exclusive/instant_exclusive/none)
instant_exclusive : time counter will be an instant time axis, time_instant axis will not be output
centered_exclusive : time counter will be an centered time axis, time_centered axis will not be output
exclusive : if only instant field, time_counter axis will be instant, if mixt instant and centered or only centered, time_counter axis will be centered. In any case, i avoid redondancy with time_instant or time_centered axis

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/data_output.cpp

    r887 r1096  
    8484      //---------------------------------------------------------------- 
    8585 
    86       void CDataOutput::writeField(CField* field) 
     86      void CDataOutput::writeFieldTimeAxis(CField* field) 
    8787      { 
    8888         CContext* context = CContext::getCurrent() ; 
    8989         boost::shared_ptr<CCalendar> calendar = context->getCalendar(); 
    9090 
     91         this->writeTimeAxis_(field, calendar); 
     92      } 
     93       
     94      void CDataOutput::writeField(CField* field) 
     95      { 
    9196         this->writeField_(field); 
    92          this->writeTimeAxis_(field, calendar); 
    9397      } 
    9498 
Note: See TracChangeset for help on using the changeset viewer.