coiled / examples

Examples using Dask and Coiled
14 stars 3 forks source link

Add NWM one year notebook #35

Closed jrbourbeau closed 9 months ago

jrbourbeau commented 9 months ago

This PR adds a slight variant of https://docs.coiled.io/user_guide/usage/dask/xarray.html to our examples repo

cc @mrocklin @scharlottej13

review-notebook-app[bot] commented 9 months ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

mrocklin commented 9 months ago

How does it feel when you run through it? Snappy enough for a booth demo?

On Tue, Oct 3, 2023 at 3:36 PM review-notebook-app[bot] < @.***> wrote:

Check out this pull request on [image: ReviewNB] https://app.reviewnb.com/coiled/examples/pull/35

See visual diffs & provide feedback on Jupyter Notebooks.

Powered by ReviewNB https://www.reviewnb.com/?utm_source=gh

— Reply to this email directly, view it on GitHub https://github.com/coiled/examples/pull/35#issuecomment-1745686102, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACKZTA6WUML4SZFD7YG5I3X5RZMFAVCNFSM6AAAAAA5RR2D3CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBVGY4DMMJQGI . You are receiving this because you were mentioned.Message ID: @.***>

--

https://coiled.io

Matthew Rocklin CEO, Dask Maintainer

scharlottej13 commented 9 months ago

Thanks @jrbourbeau!

How does it feel when you run through it? Snappy enough for a booth demo?

@mrocklin it'd be cool if the counties compute line county_id = np.unique(counties_aligned.data).compute() was a little faster (it's pretty reliably ~ a minute, which feels slow for a live demo if that's not the "slow" part). I haven't experimented much with this though.

jrbourbeau commented 9 months ago

@scharlottej13 I updated this to use your new plotting code (more code, but a better looking plot -- I think folks tend gloss over this as "a bunch of plotting code" anyways)