Changeset 2542


Ignore:
Timestamp:
08/29/23 16:51:44 (9 months ago)
Author:
ymipsl
Message:

fix problem for instant value output, time axis was decaled of one record.
YM

File:
1 edited

Legend:

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

    r2535 r2542  
    22132213          if (field->hasTimeInstant) 
    22142214          { 
    2215             time_data(0) = time_data_bound(1) = (Time) lastWrite; 
     2215            time_data(0) = time_data_bound(1) = (Time) currentWrite; 
    22162216            time_data_bound(0) = time_data_bound(1) = (Time) currentWrite; 
    22172217            if (timeCounterType==instant) 
Note: See TracChangeset for help on using the changeset viewer.