-
Notifications
You must be signed in to change notification settings - Fork 195
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
Better validation for LatitudeLongitudeGrid
+ add test for sum(Azᶜᶜᵃ) ≈ 4πr²
#3240
Conversation
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.
Nice!
Should we implement this test for OrthogonalSphericalShellGrid instead, considering we are going to deprecate LatitutdeLongitudeGrid?
sum(Azᶜᶜᵃ) ≈ 4πr²
for LatitudeLongitudeGrid
LatitudeLongitudeGrid
+ add test for sum(Azᶜᶜᵃ) ≈ 4πr²
That's already implemented for OSSG + other similar tests. Oceananigans.jl/test/test_grids.jl Lines 934 to 955 in 29a99a0
|
I also improved the validation according to the discussion in #3241. |
…ᶜᵃ) ≈ 4πr²` (#3240) * minor code cleanup * add area test for lat-lon grid * cleaner info msg * better validate_lat_lon_grid_args
Closes #3241