Skip to content

Adding parameters/observations from dataframe instances? #413

Closed Answered by mnfienen
gmerritt123 asked this question in Q&A
Discussion options

You must be logged in to vote

hey @gmerritt123

If your parameterization doesn't fit well into the PstFrom paradigm, I highly recommend creating your TPL and INS files externally and then look at the Pst object and in particular the from_io_files method. That will populate the dataframes for pars and obs and set up a Pst object with defaults for most values (and will populate the template and instruction file information). Then you should just need to update the forward run script and bring in the dataframe info you already assembled (bounds, etc.)

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@gmerritt123
Comment options

@mnfienen
Comment options

Answer selected by mnfienen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants