-
Notifications
You must be signed in to change notification settings - Fork 11
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
Declutter example notebook #83
Conversation
…notebook now has no mention of NCI
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #83 +/- ##
===========================================
- Coverage 72.97% 61.02% -11.95%
===========================================
Files 3 3
Lines 444 544 +100
===========================================
+ Hits 324 332 +8
- Misses 120 212 +92 ☔ View full report in Codecov by Sentry. |
I'm going to update / fix the 'model forced' one then re-open this PR. Until we find a landing place for it I'll at least iron out some of the issues pointed out by Luwei |
I've re-added the ACCESS-OM2 example but made it clear in the markdown that it's intended for NCI users. This should be migrated elsewhere in COSIMA when we agree on the space |
Codecov is down because I've moved the |
Co-authored-by: Angus Gibson <[email protected]>
Co-authored-by: Angus Gibson <[email protected]>
Co-authored-by: Angus Gibson <[email protected]>
Co-authored-by: Angus Gibson <[email protected]>
@angus-g latest commit that re-introduces yaml for string manipulations fails on example notebooks. Could we please not make any commits that fail for the example notebooks? Ideally this would have been caught by unit testing that's not implemented yet, but the execution of the example notebooks start to finish are a good way to ensure commits aren't code breaking I'm currently using a branch from I think it would just be easiest if the string manipulation stuff is dealt with in a separate PR, as it's beyond the scope of what this PR intended to do (i.e, migrate existing code from the example notebooks into the codebase) The error was ultimately: |
fca3849
to
19e7836
Compare
Apologies, fixed. I had no clue you were working live off a PR branch, I would strongly advise against doing that. |
If not, then from a github workflow perspective what's the best way for me to keep working for the moment? I'm losing a lot of time trying to juggle the codebase when this PR is unresolved and I'm already working on the next one (and need it for my day-to-day research). It was becoming too much admin to continually merge changes from this branch into the I then manually made a new branch forked from |
Yes that makes sense! I wanted to be able to use the improvements from this branch in my day-to-day research, but at some point there were a bunch of annoying merge conflicts when I kept trying to pull changes into |
I haven't followed any discussion here. @ashjbarnes, @angus-g is this PR under control? If you need help ping me. |
…irectories by combining all common files into one folder, and overwriting just the data table and config file as needed. Modify the setup_rundir() method to account for these changes, handling the different use cases by including an override option
531dd55
to
0dab05b
Compare
…er from my project. Turn off tides. Ensure that toolpath can be either string or path object
…her than dim. Not sure why but new version of glorys does this
…s both a dimension and a variable. This happens with the new copernicus api downloads
tip: |
…into declutter_notebook Merge with Ashley local (no conflicts)
Everything tested and working with latest executable. Ready to merge |
Here I've removed all descriptions of Gadi / NCI and almost all of Payu from the
reanalysis_forced
notebook, and deleted the model forced one. This will be migrated to cosima recipesThe old notebook cells for "setup era5" and "set up run directory" are now methods of the experiment class which further streamlines the notebook. The
using_payu
flag is included here to give users the option of aconfig.yaml
file being generated for their experiment. It defaults to False.The default input directory has also been decluttered to make things generic and not Gadi-centric
Finally, to address the deprecation of the motu client (issue #79 ) I've removed this entirely and given users step by step instructions for using the GUI on Copernicus's website to download the required data.
Related to #59 in that I've updated the model-forced example but I won't delete it until we find a good home for it elsewhere (see COSIMA/cosima-recipes#308 )