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

Validate ITRF structure instead of maintaining a support list #13

Merged
merged 4 commits into from
Aug 20, 2024

Conversation

trey-stafford
Copy link
Contributor

@trey-stafford trey-stafford commented Aug 19, 2024

Also, make it so that pandera actually validates constraints! Using the covariant type approach was resulting in validations not running.

Resolves #7

Also, make it so that pandera actually validates constraints! Using the
covariant type approach was resulting in validations not running.
@trey-stafford trey-stafford marked this pull request as ready for review August 19, 2024 21:46
Base automatically changed from pydantic-for-datasets to main August 19, 2024 21:47
@@ -110,6 +110,7 @@ ignore = [
"EM101", # Exceptions should not use string literals
"SIM108", # Use ternary operator. Sometimes this is less readable.
"T201", # Remove 'print' statements. Sometimes these are handy.
"SIM105", # Use contextlib.suppress instead of try-except-pass. The recommended approach is slower and less flexible.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dislike this rule too. We have an open PR on icepyx where we're discussing this! icesat2py/icepyx#572

src/iceflow/data/atm1b.py Show resolved Hide resolved
tests/unit/test_itrf.py Outdated Show resolved Hide resolved
@trey-stafford trey-stafford merged commit 35d009c into main Aug 20, 2024
1 check passed
@trey-stafford trey-stafford deleted the itrf-validation branch August 20, 2024 14:41
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.

Validator for ITRF values
2 participants