Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement coords validation #187

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

garciampred
Copy link

Thanks for this package. First of all, I am not sure if anyone is looking at this. Let's see if there is any interest. The package is almost finished so it is a pity to leave it like this.

I think this would be the right way to implement the validation of the coords.

Internal consistency checks with the data_vars are not included here, I am not sure it makes sense. The coords in the data_vars data arrays should be a subset of these. However xarray probably checks this so I am not sure it is necessary.
This could go to a schema validation step (looking at the consistency of the schema with itself, not with a datarray).

@jhamman
Copy link
Contributor

jhamman commented Jan 8, 2024

Thanks for this package. First of all, I am not sure if anyone is looking at this. Let's see if there is any interest. The package is almost finished so it is a pity to leave it like this.

Hi @garciampred - thanks for opening this PR! This project has been indeed been quite lately but its not dead.


Toward this PR, it would be great to see a test added as well.

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.

None yet

2 participants