Ignore:
Timestamp:
02/07/17 11:52:03 (7 years ago)
Author:
ymipsl
Message:
  • Add label attribute for axis
  • if label attribute is present, then only only string label for each level will be output in netcdf file, ie value and bounds will not be output.

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/axis.hpp

    r927 r1050  
    123123        CArray<double,1> value_srv; 
    124124        CArray<double,2> bound_srv; 
     125        CArray<StdString,1> label_srv; 
    125126        bool hasValue; 
    126127 
     
    130131         void checkZoom(); 
    131132         void checkBounds(); 
     133         void checkLabel(); 
    132134         void checkTransformations(); 
    133135         void sendValue(); 
     
    163165         std::map<int, CArray<int,1> > indiSrv_; 
    164166         bool hasBounds_; 
     167         bool hasLabel; 
    165168 
    166169       private: 
Note: See TracChangeset for help on using the changeset viewer.