xarray-tutorial icon indicating copy to clipboard operation
xarray-tutorial copied to clipboard

update backends tutorials intro

Open JessicaS11 opened this issue 1 year ago • 9 comments

Navigating Xarray backends (engine="rioxarray") when using xr.open_dataset() can be confusing. One way to help clarify is by guiding the user through determining if the engine they need exists and is built-in, available from another library, or needs to be created. Here we introduce a flowchart to help guide that process.

JessicaS11 avatar Jun 10 '24 16:06 JessicaS11

Nice. Shall we stick this in the main docs instead? https://docs.xarray.dev/en/stable/user-guide/io.html

It strikes me that that page is also missing a nice intro ;)

dcherian avatar Jun 10 '24 16:06 dcherian

Nice. Shall we stick this in the main docs instead? https://docs.xarray.dev/en/stable/user-guide/io.html

It strikes me that that page is also missing a nice intro ;)

Agreed... I can see some good arguments for this material (text and diagram) to go directly into the docs, and then this tutorial page just becomes a really short pointer to the docs page and the subsequent examples. Happy to move accordingly but wanted to keep refining the content while we decide.

JessicaS11 avatar Jun 11 '24 19:06 JessicaS11

@TomNicholas @scottyhq @negin513 @betolink Since this was ideated (thanks, Tom!) at our SciPy2024 tutorial planning meeting - any thoughts on where this diagram lives (docs versus tutorial, with a link from the other)?

JessicaS11 avatar Jun 11 '24 20:06 JessicaS11

Can anyone help with the configuration options to get this building? To use the sphinxcontrib.mermaid extension, myst-parser is needed, but as soon as I added that I started getting an ".md extension already registered" error that I can't figure out how to resolve.

JessicaS11 avatar Jun 12 '24 21:06 JessicaS11

Can anyone help with the configuration options to get this building? To use the sphinxcontrib.mermaid extension,

I'm hoping https://github.com/xarray-contrib/xarray-tutorial/pull/270 (bumping sphinx versions) will just remedy this! I'll try to dig into it a bit more soon

scottyhq avatar Jun 21 '24 21:06 scottyhq

I'm hoping https://github.com/xarray-contrib/xarray-tutorial/pull/270 (bumping sphinx versions) will just remedy this! I'll try to dig into it a bit more soon

After some more thought and discussion with others, I'm going to move the diagram and some of this intro content to the docs as suggested by @dcherian. Then I'll revamp this PR to have a shorter intro that links to those pages.

JessicaS11 avatar Jun 24 '24 17:06 JessicaS11

See also (which will need to be merged before this PR): https://github.com/pydata/xarray/pull/9175

JessicaS11 avatar Jun 25 '24 20:06 JessicaS11

:recycle: PR Preview daa22e6116c22fa5d6c84c7b8607e8e6b2c47a82 has been successfully destroyed since this PR has been closed.

🤖 By surge-preview

github-actions[bot] avatar Jun 25 '24 20:06 github-actions[bot]

@scottyhq @dcherian I think this is ready for review... I'd love confirmation that the list of built-in engines is right, because we've got different info in different places.

JessicaS11 avatar Sep 09 '24 20:09 JessicaS11