Convert series of parameter value files to a user supplied realization csv file? #522
-
Dear PyEMU group, I have a series of 20 parameter value files that I generated using the PEST lhs2pest utility (the "20" is just for a test): parfile1.par Is there a tool in PyEMU or PEST that can convert these parameter value files to a "realization" csv file that can be run in PESTpp-IES or PESTpp-SWP? I'm doing single runs with noptmax=0. This realization file would have m+1 columns, where m = number of model parameters. The leftmost column is the name of the realization. I would input this to PESTpp-IES or PESTpp-SWP to compute objective functions at a range of parameter values. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@sjepsen395, there is an ensemble method in pyemu that might be able to help. Let us know how you get on. |
Beta Was this translation helpful? Give feedback.
@sjepsen395, there is an ensemble method in pyemu that might be able to help.
ParameterEnsemble.from_parfiles()
. You should be able to pass your Pst object and list of par files to create a ParameterEnsemble, you can then use all the to_...() methods to dump out to a file to use in ies or swp.Let us know how you get on.