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

bug: budgetfile.reverse() - unable to load w/ flopy #2473

Open
pmt-usgs opened this issue Mar 12, 2025 · 3 comments
Open

bug: budgetfile.reverse() - unable to load w/ flopy #2473

pmt-usgs opened this issue Mar 12, 2025 · 3 comments
Assignees
Labels

Comments

@pmt-usgs
Copy link

pmt-usgs commented Mar 12, 2025

Bug Description

Using a transient mf6 structured grid model for testing PRT backwards tracking, the .reverse() on the .cbb creates a reversed file that is not the same size as the original and can't be loaded back in using flopy - flopy.utils.CellBudgetFile(os.path.join(prt_ws , budgetfile_bkwd_name)). Specifying single or double for precision doesn't affect the outcome and the error persists.

Image

Also, potentially related, when trying to run the prt simulation an Unicode error is thrown.

Image

System & versions
OS: Windows
Flopy version 3.9.2 and 3.10.0.dev2

Thank you for the help!

@pmt-usgs pmt-usgs added the bug label Mar 12, 2025
@wpbonelli
Copy link
Member

Hi @pmt-usgs thanks for reporting. Are you able to share your model? That will help us reproduce and fix. Or perhaps just the tdis if you cannot share the full model.

@pmt-usgs
Copy link
Author

Thank you for the help @wpbonelli . I uploaded our model tdis that we've been trying to run a backwards prt simulation for a test well "pswell". Tried adding compressed model zip, but fails to upload. Let me know and I can email it to you.

 

sim.tdis.txt

@wpbonelli
Copy link
Member

@pmt-usgs you can email me the model at wbonelli [at] ucar [dot] edu.

@wpbonelli wpbonelli self-assigned this Mar 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants