Skip to content

Automate the process of updating the DataONEformats.csv in the resources folder #480

@doulikecookiedough

Description

@doulikecookiedough

This file has not been updated in some time and should be, ideally through an automated process.

Context from Matt from NCEAS/metadig-py#29

Looks like that formats file hasn't been updated in quite some time. We should probably automate the process to update it, which shouldn't be too hard. Currently we register 155 formats, but the metadig file only reflects 129 of these:

❯ wc -l data/DataONEformats.csv
     129 data/DataONEformats.csv
❯ cat /tmp/formats.xml|xml sel -t -m "//objectFormat" -v formatId -o "," -v formatType -o "," -v "mediaType" -n | wc -l
     155

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions