eleanorfrajka / seagliderOG1

Convert seaglider data to OG1 format
MIT License
0 stars 0 forks source link

Create mission-specific yaml files #20

Open eleanorfrajka opened 3 weeks ago

eleanorfrajka commented 3 weeks ago

These yaml files should contain the mission-specific attributes and variables (string, not against N_MEASUREMENTS) that may need to be hand written for each mission.

For example:

WMO_IDENTIFIER: None
PLATFORM_MODEL: University of Washington Seaglider M1 glider
PLATFORM_SERIAL_NUMBER: sg015
PLATFORM_DEPTH_RATING: 1000
PLATFORM_MAKER: University of Washington School of Oceanography
    - platform_maker_vocabulary: https://vocab.nerc.ac.uk/collection/B75/current/ORG00142/
GLIDER_FIRMWARE_VERSION: seaglider 66.05 # from seaglider_software_version
LANDSTATION_VERSION: basestation v2.8 # from base_station_version attribute
BATTERY_TYPE: lithium 
BATTERY_PACK: 24V + 10V
TELECOM_TYPE: iridium
TRACKING_SYSTEM: gps

But perhaps also the contributor details to be added during processing to OG1 format:

contrib_to_append = {
    'contributor_name': 'Eleanor Frajka-Williams',
    'contributor_email': 'eleanorfrajka@gmail.com',
    'contributor_role': 'Data scientist',
    'contributor_role_vocabulary': 'http://vocab.nerc.ac.uk/search_nvs/W08',
    'contributing_institutions': 'University of Hamburg - Institute of Oceanography',
    'contributing_institutions_vocabulary': 'https://edmo.seadatanet.org/report/1156',
    'contributing_institutions_role': 'Data scientist',
    'contributing_institutions_role_vocabulary': 'http://vocab.nerc.ac.uk/search_nvs/W08',
}
eleanorfrajka commented 4 days ago

These could initially be read from the seaglider basestation files and then written to a yaml per mission? Check with votoutils (https://github.com/voto-ocean-knowledge/votoutils/blob/main/votoutils).