Closed znichollscr closed 1 month ago
@durack1 FYI this is how I do the validation
No changes to the database between 'main' branch and 027e6688b700ea42e4a4960a2b5d3a6c9f7fd3c7
No changes to the database between 'main' branch and 872e28a02eea1b3cae208c66717edb3bd3717278
Pretty classic, this is a dupe of the functionality in scripts/createDRS.py
, plus the validation step before the copy.
Does the validation check for hyphens in variables, filename <variable_id>
and in-file creation_date
and tracking_id
validation? If not, we could lift the functions out of the above here - it'd be great to add those checks to the automation
I've got creation date (here) and tracking ID (here), I think based on what you've got already.
I've got the check against the file's metadata attribute (here.
I don't have the check for hyphens or underscores in variables yet. I've made https://github.com/climate-resource/input4mips_validation/issues/73 to remind myself to add this in future
Description
Checklist
Please confirm that this pull request has done the following:
changelog/