climate-resource / input4mips_validation

Validation of input4MIPs data
https://input4mips-validation.readthedocs.io/en/latest/
Other
0 stars 1 forks source link

Update database handling so we can update an existing database #39

Closed znichollscr closed 3 months ago

znichollscr commented 3 months ago

The motivation

We want to have a 'living' database of file entries. This means we need to support updating an existing database, not just writing a new one from scratch every time.

The proposed solution

Add a CLI group (docs here) for doing database operations. We will probably want something like:

Assume for now that we only want to add entries i.e. we won't be deleting entries (although deletion would also be relatively straight forward).

Alternatives

Additional context