Skip to content

tutorial hierarchical zarr stores#361

Open
eni-awowale wants to merge 9 commits into
xarray-contrib:mainfrom
eni-awowale:fundamentals-rio-backend
Open

tutorial hierarchical zarr stores#361
eni-awowale wants to merge 9 commits into
xarray-contrib:mainfrom
eni-awowale:fundamentals-rio-backend

Conversation

@eni-awowale

@eni-awowale eni-awowale commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

@review-notebook-app

Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown

✅ Preview is ready!

PR preview ✅ Ready ✅ Ready
🔗 Preview https://xarray-contrib-xarray-tutorial-preview-pr-361.surge.sh
📝 Commit9cf6efb
⏱️ Build time0.009s
📦 Size30.1 MB (+307 B ⬆️) · 412 files
🪵 LogsView logs
📱 MobileScan to open preview on mobile

↩️ Previous: ⚡️ 9cf6efb · xarray-contrib-xarray-tutorial-preview-pr-361.surge.sh (open ↗) · 2026-07-09 20:19:04 UTC

🤖 Powered by surge-preview

@eni-awowale eni-awowale marked this pull request as ready for review July 9, 2026 20:19
@@ -0,0 +1,251 @@
{

@keewis keewis Jul 9, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

learning objectives:

  • should this be just "hierarchical structure" (without the "group" before it)?

Reply via ReviewNB

@@ -0,0 +1,251 @@
{

@keewis keewis Jul 9, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can use

`{note}
We selected consolidated=True, Zarr ...
`

to get something more noticeable (see https://mystmd.org/guide/admonitions)

Looks like reviewnb may butcher the markdown, this should be a triple quote block (but could also be a ::: block if that setting is enabled in the config)


Reply via ReviewNB

@@ -0,0 +1,251 @@
{

@keewis keewis Jul 9, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need to explain the different args here? To be clear, I believe the answer to this depends on your target audience. If this is for advanced users not explaining chunks={} or engine="zarr" should be fine


Reply via ReviewNB

@@ -0,0 +1,251 @@
{

@keewis keewis Jul 9, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this could be a bit clearer... DataTree abstracts the backend away, such that it shouldn't matter where this is coming from (local vs cloud, or zarr vs in-memory).

And I would call the latter access method "attribute syntax" instead of "method" because for python the difference between the two is that a method is a callable with the first parameter bound to the instance.


Reply via ReviewNB

@@ -0,0 +1,251 @@
{

@keewis keewis Jul 9, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tend to use the dict-like syntax for the entire thing: precip_dt["observed/precipitation"]. I guess that's a matter of taste (as in, totally arbitrary) as long as there's no conflict with attributes / methods / accessors.


Reply via ReviewNB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants