ODM2 / YODA-File

The YAML Observation Data Archive & exchange (YODA) File Format
BSD 3-Clause "New" or "Revised" License
4 stars 0 forks source link

Specimen excel template and Time series YODA file #36

Open cdesyoun opened 9 years ago

cdesyoun commented 9 years ago

I have worked on two types of YODA files, Time Series and Specimen measurement for implementing the YODA parser. I have modified these YODA files to fit into the ODM2 data model, parsing it into a ODM2 database.

  1. Specimen YODA file Original file: https://github.com/CZOData/YODA-File/blob/master/ExcelTemplates/Examples/Soil_YODA_Specimen_TEMPLATE_MCT_V2.xlsm I just copied and pasted the YODA data sheet in this template into a text file. Here is the link of the modified version: https://github.com/ODM2/ODM2YODAParser/blob/sdsc_version/YODAparser/Soil_YODA_Specimen_TEMPLATE_MCT_V2_modified.yaml It seems to me this specimen template is incomplete, even if the YODA file is generated. When loading it into YAML parser, there were missing data. And when generating YODA file, double quotation marks should be used to quote ISO time formatted data due to this mark, ":" that causes the parsing error in YAML loader. Unit data should be the object type(for example, "*UnitsObj"), not string type.
  2. Time Series YODA file: Original file: https://github.com/CZOData/YODA-File/blob/master/ExcelTemplates/Prototypes/Timeseries_Template_Working.yaml The modified version: https://github.com/ODM2/ODM2YODAParser/blob/sdsc_version/YODAparser/Timeseries_Template_Working_my_version.yaml Unit data should be the object type(for example, "*UnitsObj"), not string type.