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

Running pestpp #276

Open
jbensabat opened this issue Nov 14, 2023 · 5 comments
Open

Running pestpp #276

jbensabat opened this issue Nov 14, 2023 · 5 comments

Comments

@jbensabat
Copy link

Hello
I have managed now to built pestpp under MSVC and now I am trying to run one of the examples of the freyberg suite.
the freyber6.pst control file has the instructions file freyberg6.insfile_data.csv
inside this file there are names of template and data files

pest_file | model_file
freyberg6.lst.ins | freyberg6.lst
heads.csv.ins | heads.csv
sfr.csv.ins | sfr.csv

the file freyberg6.lst is missing
Is it needed ? and if yes where is it possible to find it ?
thanks
jac

@wkitlasten
Copy link
Contributor

The .lst file (formatted budget file) is produced when MODFLOW runs. It sounds like you are using freyberg6.lst file as an "observation file" for budgets (or something else)? That can be troublesome since the size (number of lines) changes with each run, based on convergence behaviour.

I suggest post-processing the binary budget file (.cbc) to create a consistent file to use with pest. For example, using flopy: https://flopy.readthedocs.io/en/latest/source/flopy.utils.binaryfile.html

@jbensabat
Copy link
Author

hi
thanks for your reply. right now I am not running just learning the files structure.
I am not an expert in modflow but I'll learn for the purpose of the test. I tried running the example of surface flow hspf using the example in pest_uncert examples but it seems that the files format there are not compatible with the new versions of pestpp or pest
thanks
jac

@wkitlasten
Copy link
Contributor

Hi, are these examples from pyemu? If so, maybe better to open a discussion in that repo?

Can you specify the example you are having issues with (preferably with a link) and I will take a look?

@jbensabat
Copy link
Author

hi
no I have not started with pyEMU yet. All the freyberg examples are from the benchmarks directory in pestpp distribution
the surface flow example is from the pest_uncert tutorial
pest_uncert.zip
there it seems to me that the input files are not compatible with the version of the software
best
jac

@wkitlasten
Copy link
Contributor

Hi jac, I can't find the pest_uncert files in the repo, but I'm not good with computers. I did download a fresh copy of the repo (master branch) and ran pestpp-ies.exe freyberg.pst in the benchmarks\mf6_freyberg\template directory and it ran fine.

If you are on a windows machine, could it be that you have an old version of pestpp-ies in your environment variables path? What version of pest are you running (can you post the rec file or screen shot of the initial pest input)?

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

No branches or pull requests

2 participants