pypest / pyemu

python modules for model-independent uncertainty analyses, data-worth analyses, and interfacing with PEST(++)
BSD 3-Clause "New" or "Revised" License
176 stars 95 forks source link

Having trouble running the Freyberg example #19

Closed porterma closed 6 years ago

porterma commented 7 years ago

I am running the Freyberg example so I can learn to use flopy and pyemu to develop PEST calibration simulations for a project I am working on. However, I am running into an issue at line 70 in the pest_freyberg.py script (pyemu.pst_utils.smp_to_ins(os.path.join("misc","freyberg_heads.smp"))). This is writing a freyberg_heads.smp.ins file with the following format: pif ~ l1 w w w !OR00C00_02012015! ... ...

This same file in my cloned version of the example has the following format: pif ~ l1 (OR00C00_0)39:46 ... ...

Eventually, my freyberg_heads.smp.ins is causing an error when the script is setting up the par value, bounds, and groups. Do you have suggestions for getting past this error?

Thanks in advance, porter

jtwhite79 commented 7 years ago

Hey Porter - that script is a relic...but I think if you pass the gwutil_compliant=True arg to smp_to_ins that might get you further down the road. I'm still working on a set of notebooks to demo how to setup templates, instructions and control file from scratch...coming soon.

porterma commented 7 years ago

Thanks! That got me further down, but there are other issues. I'll wait until you have a more recent example for PEST.

On Wed, Mar 22, 2017 at 3:00 PM, jtwhite79 notifications@github.com wrote:

Hey Porter - that script is a relic...but I think if you pass the gwutil_compliant=True arg to smp_to_ins that might get you further down the road. I'm still working on a set of notebooks to demo how to setup templates, instructions and control file from scratch...coming soon.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jtwhite79/pyemu/issues/19#issuecomment-288538124, or mute the thread https://github.com/notifications/unsubscribe-auth/ARR0xQP4AYckveHbdBgpGI8aJtKUC_B-ks5roYvygaJpZM4Mle2W .

-- Mark L. Porter, PhD | Hydrologist Bureau of Reclamation | Pacific Northwest Region phone: 208.378.5350 | email: mlporter@usbr.gov