Ignore:
Timestamp:
12/12/16 16:42:57 (6 years ago)
Author:
mhnguyen
Message:

Modifying behavior of file append: If ALL fields in file have operation="once", append mode will be ignored

+) Only read timestep for field whose operation is different from once.

Test
+) On Curie
+) OK

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/io/nc4_data_output.cpp

    r999 r1012  
    19811981        if (!field->wasWritten()) 
    19821982        { 
    1983           if (appendMode && field->file->record_offset.isEmpty()) 
     1983          if (appendMode && field->file->record_offset.isEmpty() &&  
     1984              field->getOperationTimeType() != func::CFunctor::once) 
    19841985          { 
    19851986            field->resetNStep(getRecordFromTime(field->last_Write_srv) + 1); 
Note: See TracChangeset for help on using the changeset viewer.