Skip to content

Extract schema from xarray objects #45

Description

@jhamman

One way users may want to generate schemas is from xarray objects directly. We could add a utility here that supports this workflow.

This could be a function

schema = create_schema(ds)

Or a class method:

schema = DatasetSchema.from_dataset(ds)

Or as an Xarray accessor extension:

schema = ds.schema.create()

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions