Skip to content

Add a tutorial dataset loader #1496

@alioacar

Description

@alioacar

Proposed new feature or change:

Apologies if this is a duplicate or if I missed an existing way to do this.
It would be nice to have an xarray-like tutorial dataset API, maybe using pooch to download and cache small sample grid/data files. This would make the example notebooks easier to reproduce from outside the repository.

For example

import uxarray as ux

uxds = ux.tutorial.open_dataset("quad-hexagon")
uxgrid = ux.tutorial.open_grid("outCSne30")

Something like ux.tutorial.available_datasets() could also be useful, so users can quickly see which sample datasets are available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    new featureNew feature or request

    Type

    No type

    Projects

    Status

    📝 To-Do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions