Ignore:
Timestamp:
01/07/16 09:21:51 (8 years ago)
Author:
ymipsl
Message:

Bug fix when time dimension is not the unlimited dimension

YM

File:
1 edited

Legend:

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

    r805 r811  
    525525 
    526526      if (isOpen) data_out->closeFile(); 
    527  
    528       data_in = shared_ptr<CDataInput>(new CNc4DataInput(oss.str(), fileComm, multifile, isCollective, time_counter_name)); 
     527      if (time_counter_name.isEmpty()) data_in = shared_ptr<CDataInput>(new CNc4DataInput(oss.str(), fileComm, multifile, isCollective)); 
     528      else data_in = shared_ptr<CDataInput>(new CNc4DataInput(oss.str(), fileComm, multifile, isCollective, time_counter_name)); 
    529529      isOpen = true; 
    530530    } 
Note: See TracChangeset for help on using the changeset viewer.