Ignore:
Timestamp:
09/26/16 16:26:38 (5 years ago)
Author:
ymipsl
Message:
  • Attribut record_offset accept now negative value.
  • Field are not output in files until nstep > 0.

YM

File:
1 edited

Legend:

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

    r920 r952  
    243243      allDomainEmpty = true; 
    244244 
    245       if (!record_offset.isEmpty() && record_offset < 0) 
    246         ERROR("void CFile::initFile(void)", 
    247               "Invalid 'record_offset', this attribute cannot be negative."); 
    248       const size_t recordOffset = record_offset.isEmpty() ? 0 : record_offset; 
     245//      if (!record_offset.isEmpty() && record_offset < 0) 
     246//        ERROR("void CFile::initFile(void)", 
     247//              "Invalid 'record_offset', this attribute cannot be negative."); 
     248      const int recordOffset = record_offset.isEmpty() ? 0 : record_offset; 
    249249 
    250250      set<CAxis*> setAxis; 
Note: See TracChangeset for help on using the changeset viewer.