Skip to content

Minimal Dataset coords and dims validation #62

Open
@ljstrnadiii

Description

@ljstrnadiii

What would be the minimal implementation to be merged here?

My use case is simply to check if a dataset has specific coords and dims. I could go one step further to check that each coord is indexed by specific dim.

I might just give this a try, but is there a can of worms I am simply not anticipating here?

Cheers!

https://github.com/carbonplan/xarray-schema/blob/a25777c55dde98d5732f48423706da4fc81cd1fd/xarray_schema/dataset.py#L60

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