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

Bugfix: bug fix in spectral 2D grid y ax #761

Merged
merged 3 commits into from
Nov 29, 2024

Conversation

stkistner
Copy link
Contributor

Problem: reading spectral Dfs2 with geometric projection CRS in header incorrectly applies the Easting origin to the directional axis.
Reason: missing if statement in Grid2D.y

@ecomodeller
Copy link
Member

Thanks @stkistner.

Grateful for the fix, but even better would be:

  1. A failing test 🔴
  2. Fix the code 🐍
  3. Successful test ✔️
  4. Refactor (not relevant in this case) 🧑‍💻

Otherwise it is hard to verify that the changes actually solves the reported bug.

@stkistner
Copy link
Contributor Author

@ecomodeller added file and passing test🙂 (will fail without fix)

@ecomodeller ecomodeller self-requested a review November 29, 2024 08:33
@ecomodeller ecomodeller merged commit 93c945a into DHI:main Nov 29, 2024
6 of 8 checks passed
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.

2 participants