Changeset 1309 for XIOS/dev


Ignore:
Timestamp:
10/16/17 13:54:09 (6 years ago)
Author:
ymipsl
Message:

Fix : Some netcdf global attribute defined by variable was overwrited in append mode by default value.

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/XIOS_DEV_CMIP6/src/io/nc4_data_output.cpp

    r1288 r1309  
    19761976         try 
    19771977         { 
    1978            this->writeFileAttributes(filename, description, 
    1979                                       conv_str, 
    1980                                       StdString("An IPSL model"), 
    1981                                       this->getTimeStamp()); 
     1978           if (!appendMode) this->writeFileAttributes(filename, description, 
     1979                                                      conv_str, 
     1980                                                      StdString("An IPSL model"), 
     1981                                                      this->getTimeStamp()); 
    19821982 
    19831983           if (!appendMode) 
Note: See TracChangeset for help on using the changeset viewer.