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

Fixes bug in analysis workflow #81

Merged
merged 9 commits into from
Jul 3, 2020

Conversation

edubarrosTNO
Copy link
Contributor

@edubarrosTNO edubarrosTNO commented Jul 1, 2020

Partially addresses #61.

A new way of loading data from the reference simulation (OPM-Flow/Eclipse) is added, using functionality from flownet.data.from_eclipse instead of the previous approach of fetching data from the observation file into dictionary which was causing the random order behavior

@edubarrosTNO
Copy link
Contributor Author

flownet.data.from_eclipse currently only loads well data (e.g. WBHP, WOPR, …). If we would like to add quantities for accuracy analysis that also include field data (e.g. FOPR, FWPR, …) that method will have to be updated. Thus, for now, the analysis workflow will only support well data quantities (provided that they are requested in the SUMMARY section of the FlowNet simulations and of the OPM-Flow/Eclipse reference simulation)

@edubarrosTNO edubarrosTNO marked this pull request as draft July 1, 2020 11:00
@edubarrosTNO edubarrosTNO marked this pull request as ready for review July 1, 2020 11:02
@edubarrosTNO edubarrosTNO marked this pull request as draft July 1, 2020 11:02
@edubarrosTNO edubarrosTNO marked this pull request as ready for review July 1, 2020 11:03
Copy link
Collaborator

@anders-kiaer anders-kiaer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - a couple of minor comments to consider. 👍

src/flownet/ahm/_ahm_iteration_analytics.py Outdated Show resolved Hide resolved
src/flownet/ahm/_ahm_iteration_analytics.py Outdated Show resolved Hide resolved
@edubarrosTNO edubarrosTNO requested a review from anders-kiaer July 3, 2020 12:49
@edubarrosTNO edubarrosTNO merged commit 63a858f into equinor:master Jul 3, 2020
edubarrosTNO pushed a commit to edubarrosTNO/flownet that referenced this pull request Jul 3, 2020
edubarrosTNO added a commit that referenced this pull request Aug 21, 2020
* Makes analysis workflow optional

* Missing part from previous PR #81

* Reduces number of inputs to analysis workflow

* Renders input to workflow in ERT config file

* Removes unnecessary import

* Makes new arguments optional to work with run_pred

* Fixes type of variable for path to reference simulation

* Fixes path type variable in ahm

* Revert back to path as string

* Revert path back to string in ahm

* Fixes derivation of absolute path

* Fixes it for new configsuite version

* Fixes for CI error on variable type

* Fixes for CI error on variable type (2)

* Formatting with black

Co-authored-by: Ubuntu <egona@VM-Eduardo.430u41ciwbmupm0cbb0cjpnibd.fx.internal.cloudapp.net>
Co-authored-by: Anders Fredrik Kiær <[email protected]>
@edubarrosTNO edubarrosTNO deleted the fix-bug-analysis-workflow branch September 4, 2020 16:38
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

Successfully merging this pull request may close these issues.

2 participants