-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added several Mission atlantic developments and a shelve fixer tool #121
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lots of small bits, bud 🍺
time_key = year+month | ||
else: | ||
time_key = year | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what if month is str but not length 1?
default=[None, ], | ||
nargs='+', | ||
type=str, | ||
help='One or more months - default is all months', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, default is [None, ] 🤣
can you also add to the executables list and add a basic run test for it in the github action, pls? |
Co-authored-by: Valeriu Predoi <valeriu.predoi@gmail.com>
Lots of Mission Atlantic fixes and an entirely new tool.
So this affects a lot of files (51!), but most of them are Mission Atlantic yml files, so nothing too major.
A new tool,
revert_shelve
(possibly not the best name - happy to change it), now takes a few command line arguments and allows the deletion of specific years and months of processed data in the bgcval2 shelve datasets. This was needed because we found a fault in the MA runs and needed to go back and re-simulate a few years.In terms of actual changes:
max
no longer overwritesmean
plots.SENEMO
and can keep the standard/YEAR/MN/
directory structure. (This is why all MA files have been changed.)analysis_compare
tool.