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

feature: head/budget file reversal script #2382

Closed
wpbonelli opened this issue Nov 26, 2024 · 0 comments · Fixed by #2383
Closed

feature: head/budget file reversal script #2382

wpbonelli opened this issue Nov 26, 2024 · 0 comments · Fixed by #2383
Milestone

Comments

@wpbonelli
Copy link
Member

wpbonelli commented Nov 26, 2024

Is your feature request related to a problem? Please describe.
It would be convenient to have a way to reverse a head or budget file from the command line.

Describe the solution you'd like
A script could be added which uses the HeadFile.reverse() and CellBudgetFile.reverse() methods. It could be called with e.g. python -m flopy.utils.binaryfile.reverse file.hds

Additional context
This could then be packaged with pyinstaller to solve MODFLOW-ORG/modflow6#2074

@wpbonelli wpbonelli added this to the 3.9 milestone Nov 26, 2024
wpbonelli added a commit that referenced this issue Nov 27, 2024
Close #2382. Also remove the need for tdis in the reversal methods by inferring period length etc from data headers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant