Ignore:
Timestamp:
06/10/15 16:39:54 (6 years ago)
Author:
rlacroix
Message:

Improve CF compliance: Various cosmetic changes.

  • Remove the axis attribute from the latitute and longitude coordinate variables when using curvilinear or unstructured grids.
  • Add the axis="Z" attribute only when the positive attribute is set for an axis.
  • Rename the conventions attribute to Conventions.
  • Add a global title attribute with the same content as the global description attribute. The old attribute might be removed in the future.
  • Remove the title attribute from the time coordinates.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/branchs/xios-1.0/src/output/nc4_data_output.hpp

    r501 r613  
    6363                                         const StdString & time_bounds   = StdString("bounds"), 
    6464                                         const StdString & standard_name = StdString("time"), 
    65                                          const StdString & long_name     = StdString("Time axis"), 
    66                                          const StdString & title         = StdString("Time")); 
     65                                         const StdString & long_name     = StdString("Time axis")); 
    6766 
    6867            void writeFileAttributes(const StdString & name, 
Note: See TracChangeset for help on using the changeset viewer.