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

fix(mp7particledata): fix get_extent() vertical extent calculation #2307

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

wpbonelli
Copy link
Member

@wpbonelli wpbonelli commented Sep 12, 2024

Vertical extent is miscalculated for structured grids when providing a cell index, only the first layer is handled properly. This causes bad results from *ParticleData.to_coords() and .to_prp().

@wpbonelli wpbonelli marked this pull request as ready for review September 12, 2024 15:14
@wpbonelli wpbonelli added the bug label Sep 12, 2024
@wpbonelli wpbonelli merged commit a0e9219 into modflowpy:develop Sep 12, 2024
26 checks passed
@wpbonelli wpbonelli deleted the fix-get-extent branch September 12, 2024 15:15
martclanor pushed a commit to martclanor/flopy that referenced this pull request Sep 21, 2024
…odflowpy#2307)

Vertical extent is miscalculated for structured grids when providing a cell index, only the first layer is handled properly. This causes bad results from *ParticleData.to_coords() and .to_prp().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant