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

Refactoring GridCode to be called GridType #1615

Merged
merged 3 commits into from
Jul 26, 2024

Conversation

erikvansebille
Copy link
Member

The terms GridType (gtype) and GridCode (gcode) used for differentiating between Rectilinear- and Curvilinear-, and Z- and S-grids, were used interchangeably in the Parcels codebase, leading to confusion.

Therefore, this refactoring changes all GridCode to GridType and gcode to gtype.

The terms gridtype and gridcode were used interchangeably in the Parcels codebase, leading to confusion. Therefore, this refactoring changes all gridcode to gridtype
parcels/grid.py Outdated Show resolved Hide resolved
erikvansebille and others added 2 commits July 26, 2024 16:26
Great idea!

Co-authored-by: Vecko <36369090+VeckoTheGecko@users.noreply.github.com>
@erikvansebille erikvansebille merged commit 2910326 into master Jul 26, 2024
10 checks passed
@erikvansebille erikvansebille deleted the refectoring_gridcode_to_gridtype branch July 26, 2024 14:58
erikvansebille added a commit that referenced this pull request Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants