Changeset 1098 for XIOS/trunk/src


Ignore:
Timestamp:
04/14/17 15:40:08 (7 years ago)
Author:
ymipsl
Message:

Enhancement : in file attribut ts_prefix, the substring "%file_name%", if found, is replaced by the file name.
Bug fix in append mode

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/file.cpp

    r1096 r1098  
    499499          this->data_out->definition_end(); 
    500500        } 
     501        else 
     502        { 
     503          // check time axis even in append mode 
     504          std::vector<CField*>::iterator it, end = this->enabledFields.end(); 
     505          for (it = this->enabledFields.begin(); it != end; it++) 
     506          { 
     507            CField* field = *it; 
     508            this->data_out->writeFieldTimeAxis(field); 
     509          } 
     510        } 
    501511      } 
    502512   } 
Note: See TracChangeset for help on using the changeset viewer.