Skip to content

Get well constraints #870

Discussion options

You must be logged in to vote

Hi,
Sorry for the delayed answer. No, I don't believe the simulators store the constraints of the wells in the summary files. One would have to get those from the DATA file instead. ecl does not parse the DATA file (to such an extent), perhaps though opm can help you out instead, that definitively parse the DATA file, I would try it!

Edit: I gave it a go to figure it out, but admittedly it was a bit difficult to find docs on it. ecl2df is slightly more user friendly in that regards (it uses opm to parse the data file, and provides a bit more convenience)

from ecl2df import wcon, EclFiles

eclfiles = EclFiles("MYDATADECK.DATA")
dframe = wcon.df(eclfiles)

And the Pandas dataframe you recei…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Theophile88
Comment options

Answer selected by sondreso
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