eurec4a / flight-phase-separation

Collection of manually edited flight segments for all platforms participating in EUREC4A.
1 stars 6 forks source link

YAML -> netCDF converter #5

Open RobertPincus opened 4 years ago

RobertPincus commented 4 years ago

YAML is not a convenient file format in all contexts. Users have expressed interest in a tool that converts YAML flight phase files to netCDF time series files. Roughly the idea would be to copy the time variable from some reference file, than create an array with dimensions (time, segment_kinds) with True/False values for each segment kind defined in the file. @d70-t points out CF conventions can be used to map arbitrary segment names to segment_kinds.