-
Notifications
You must be signed in to change notification settings - Fork 32
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
Normalization of Parsed Cartesian Coordinates #878
Conversation
Do you recall which MPAS dataset had the non-normalized Cartesian coordinates? The two we have in testing both are already normalized. EDIT: Might have checked something wrong, looking into it now |
Yes, correct. And unfortunately, I don't remember which dataset I ran into, but I will like you know once I saw it. |
ASV BenchmarkingBenchmark Comparison ResultsBenchmarks that have improved:
Benchmarks that have stayed the same:
Benchmarks that have got worse:
|
This should be ready for review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me with the application of global error tolerance to isclose
checks.
Closes #872
Overview
uxarray.grid.validation._check_normalization()
to check if the Cartesian coordinates stored under aGrid
are normalized.Grid.normalize_cartesian_coordinates()
to normalize coordinates if they were initially stored as non-normalized.Expected Usage