-
Notifications
You must be signed in to change notification settings - Fork 24
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
Compute land-atmosphere terrestrial coupling index in key_metrics #145
Conversation
Thanks for opening this PR! A few comments before diving into the nuts and bolts:
Once those bigger updates are made, I'll look more closely at the notebook |
I've made most of those changes. For some reason, the tags for hide-input and hide-output aren't working as expected, but otherwise I think it's better! |
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.
When I run this, I see the warnings from LandAtm_CouplingIndex_V2.ipynb
:
----------- /glade/work/mlevy/codes/CUPiD/examples/nblibrary/lnd/LandAtm_CouplingIndex_V2.ipynb ------------
:5:1: 'datetime' imported but unused
:6:1: 'datetime.date' imported but unused
:7:1: 'dask' imported but unused
:14:1: 'cartopy' imported but unused
========================================
Could you remove these imports? Also, it looks like Global_TerrestrialCouplingIndex_VisualCompareObs.ipynb
isn't ever run -- could you either add it to config.yml
or remove it from the repo?
Lastly, a couple of things from cupid-build
:
-
the
config.yml
isn't set up to generate the webpage... could you make the following changes?--- a/examples/key_metrics/config.yml +++ b/examples/key_metrics/config.yml @@ -194,9 +194,9 @@ book_toc: # chapters: # - file: ocn/ocean_surface - # - caption: Land - # chapters: - # - file: lnd/land_comparison + - caption: Land + chapters: + - file: lnd/LandAtm_CouplingIndex_V2 # - caption: Sea Ice # chapters:
-
I get the following warnings from
cupid-build
:/glade/work/mlevy/codes/CUPiD/examples/key_metrics/computed_notebooks/key_metrics/lnd/LandAtm_CouplingIndex_V2.ipynb:20002: WARNING: skipping unknown output mime type: application/vnd.holoviews_load.v0+json [mystnb.unknown_mime_type] /glade/work/mlevy/codes/CUPiD/examples/key_metrics/computed_notebooks/key_metrics/lnd/LandAtm_CouplingIndex_V2.ipynb:20002: WARNING: skipping unknown output mime type: application/vnd.holoviews_load.v0+json [mystnb.unknown_mime_type] /glade/work/mlevy/codes/CUPiD/examples/key_metrics/computed_notebooks/key_metrics/lnd/LandAtm_CouplingIndex_V2.ipynb:20002: WARNING: skipping unknown output mime type: application/vnd.holoviews_exec.v0+json [mystnb.unknown_mime_type]
Could you verify that the website contains all the output you expect? It might be the case that some plots aren't being parsed right by the
jupyter book
step. I think everything from the notebook is included -- it would be nice to figure out how to avoid those messages, but that could be handled in a separate PR if the website itself looks okay
I'm not sure where the error messages are coming from, but I can confirm that the website looks good now! And things are updated to point to the right file name. |
This looks great! One more question before I merge it -- it looks like you added |
Nope I didn’t add that on purpose, but I think it auto-generated when I ran the script. I’ll delete it and re-commit :) |
All Submissions:
pre-commit
check)?New Feature Submissions:
Changes to Core Features: