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 WOfS errors notebook #686
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
I get an error in the "Load DEA Waterbodies" cell when trying to load the WOFS shapefile, is the idea that this bit will be replaced with one of Ness's WFS funcs later on? In the meantime it might be worth mentioning that users need access to this file in a "Prerequisites" bit up the top
|
Yeah, planning to replace that. Actually I could probably do that now... Lemme do that and ping for re-review |
I'm having the same issue :) Quick comments first off would be, can you plz chuck in a quick link to a relevant ref for the marginals/ monte carlo, or give a quick one line/short para explainer ? Looks like nice code. What's Jax? I've used math jax... |
…notebooks into MatthewJA-probabilistic-wofs
This notebook looks incredible, but I am having a hard time following what you're doing. Can you please add more doco and code comments throughout? |
Have looked at this version, look forward to looking again when you've squished the terrain shadow bug :) |
@CEKrause I've had a crack at better explaining the stuff that's there. Is that easier to follow? A lot of the code is in the virtual product which is mostly a bunch of boilerplate, but I've commented that too. There's also the monolithic WOfS line, but all this one is is a series of if/elses that draw out the tree, so not sure if I can add anything to that. @BexDunn I've applied the shadow mask, which indeed masked out the problematic section. I also changed the example to one where the lake is more visible and more obviously noisy in the input image, so the shadow mask won't actually show up in the notebook as it is. |
@MatthewJA I have added a few bits of doco myself and marked in caps some places where the doco could be clearer. I added the word |
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.
Looks awesome. Perfect changes.
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.
Looks good, could also add the tree classifier jpeg
I might skip the image, just because the actual image from the paper is there, and this is just a worse version of that |
happy with that :) |
* Added WOfS errors notebook * Ran in order + autoformat * Updated to use dea_waterbodies.py * Ran cells in order * Added some extra doco * Added comments from @CEKrause and @BexDunn #686 * Some comments added - look for Pumpkin * Response to @CEKrause #686 🎃 * Small typos, add label to plot Co-authored-by: Matthew Alger <matthew.alger@ga.gov.au> Co-authored-by: Claire Krause <claire.krause@ga.gov.au>
* Added WOfS errors notebook * Ran in order + autoformat * Updated to use dea_waterbodies.py * Ran cells in order * Added some extra doco * Added comments from @CEKrause and @BexDunn #686 * Some comments added - look for Pumpkin * Response to @CEKrause #686 🎃 * Small typos, add label to plot Co-authored-by: Matthew Alger <matthew.alger@ga.gov.au> Co-authored-by: Claire Krause <claire.krause@ga.gov.au>
Proposed changes
Added a notebook that estimates WOfS errors and probabilities as part of the waterbodies toolkit - thinking of using this for waterbody edges later on.
Checklist (replace
[ ]
with[x]
to check off)Load packages
General advice
)jupyterlab_code_formatter
tool can be used to format code cells to a consistent style: select each code cell, then clickEdit
and then one of theApply X Formatter
options (YAPF
orBlack
are recommended).NCI
andDEA Sandbox
(flag if not working as part of PR and ask for help to solve if needed)Notebook currently compatible with the NCI|DEA Sandbox environment only
line below the notebook title to reflect the environments the notebook is compatible with