Closed megandevlan closed 1 week ago
Thanks for opening this PR!
A few comments before diving into the nuts and bolts:
pre-commit
(and set it up to run on all future commits from your CUPiD directory)? Instructions are in the wiki (specifically, in the Contributor's Guide). I would recommend running both pre-commit run --all-files
and pre-commit install
from (cupid-dev)
, and then committing additional changes to the branch from that environment as wellhide-input
tag will hide the input cell when creating the JupyterBook webpage while hide-cell
will hide both the input and output; you might want to add one of those or the other to each cell in your notebook to make the webpage a little easier to viewexamples/nblibrary/
? Just a simple "restart kernel and clear output" before saving will keep it as a blank template./glade/derecho/scratch/mdfowler/tmp/ipykernel_13813/1925081246.py:42: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
, and I think the warnings are pointing to lat_fluxnet[iStation] = siteInfoDF['LOCATION_LAT'].values[indStation]
and lon_fluxnet[iStation] = siteInfoDF['LOCATION_LONG'].values[indStation]
in [9]
; can you figure out the correct indexing to make sure both sides of the equation are scalars and avoid this warning? (I'm happy to help you play with that if you'd like, though I won't have a chance until tomorrow)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!
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 examples/nblibrary/lnd/image.png
to the repository. Is that on purpose? I don't think the image is used anywhere.
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: