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

Unify notation in grid.py #20

Merged
merged 9 commits into from
May 9, 2024

Conversation

NoraLoose
Copy link
Collaborator

No code changes, just cosmetics

NoraLoose added 9 commits May 6, 2024 10:56
* Remove unnecessary inputs to this function
* Add coordinates to xarray dataset
* Previously, the iterative loop in _make_initial_lon_lat_ds did
  absoloutely nothing
* This now correctly updates domain_lenght_in_degrees (rather than
  latitude_array_1d_in_degrees)
* After correction, nx and ny need to be at least 2; code now
  raises a ValueError if this condition is not satisfied
* Added also more comments
* Remove optimization loop; instead do only one iteration of Mercator
  projection
* Fix bug in flipping coordinate procedure
* Reorganize code to make it shorter and more readable
* lone --> lonq
* lon4 --> lon
@NoraLoose NoraLoose merged commit bf4506d into CWorthy-ocean:main May 9, 2024
6 checks passed
@NoraLoose NoraLoose deleted the clean-rotate-translation branch May 9, 2024 16:00
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.

1 participant