Ignore:
Timestamp:
01/07/16 09:21:51 (9 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/io/nc4_data_input.cpp

    r807 r811  
    3030    if (SuperClassWriter::isTemporal(fieldId)) 
    3131    { 
    32       return SuperClassWriter::getDimensions(&fieldId)[SuperClassWriter::getUnlimitedDimensionName()]; 
     32//      return SuperClassWriter::getDimensions(&fieldId)[SuperClassWriter::getUnlimitedDimensionName()]; 
     33      return SuperClassWriter::getDimensions(&fieldId)[SuperClassWriter::getTimeCounterName()]; 
    3334    } 
    3435 
Note: See TracChangeset for help on using the changeset viewer.