Changeset 1048
- Timestamp:
- 02/02/17 17:34:47 (8 years ago)
- Location:
- XIOS/trunk/src
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/config/file_attribute.conf
r1046 r1048 29 29 DECLARE_ATTRIBUTE(StdString, time_stamp_name) 30 30 DECLARE_ATTRIBUTE(StdString, time_stamp_format) 31 DECLARE_ATTRIBUTE(StdString, uuid_name) 32 DECLARE_ATTRIBUTE(StdString, uuid_format) -
XIOS/trunk/src/io/nc4_data_output.cpp
r1046 r1048 11 11 #include "netCdfException.hpp" 12 12 #include "exception.hpp" 13 #include "uuid.hpp" 13 14 14 15 namespace xios … … 2568 2569 SuperClassWriter::addAttribute("Conventions", conventions); 2569 2570 // SuperClassWriter::addAttribute("production" , production); 2571 2570 2572 StdString timeStampStr ; 2571 2573 if (file->time_stamp_name.isEmpty()) timeStampStr="timeStamp" ; 2572 2574 else timeStampStr=file->time_stamp_name ; 2573 2575 SuperClassWriter::addAttribute(timeStampStr, timeStamp); 2576 2577 StdString uuidName ; 2578 if (file->uuid_name.isEmpty()) uuidName="uuid" ; 2579 else uuidName=file->uuid_name ; 2580 2581 if (file->uuid_format.isEmpty()) SuperClassWriter::addAttribute(uuidName, getUuidStr()); 2582 else SuperClassWriter::addAttribute(uuidName, getUuidStr(file->uuid_format)); 2583 2574 2584 } 2575 2585 catch (CNetCdfException& e)
Note: See TracChangeset
for help on using the changeset viewer.