fmu.tools.ensembles package
Submodules
fmu.tools.ensembles.ensemble_well_props module
Compute well properties/stats along a (planned) well path based on ensemble data.
The implementation is through a console script, which reads a YAML config file.
Output will be RMS well file and/or CSV files, in addition to screen info.
- class fmu.tools.ensembles.ensemble_well_props.ScreenInfo(quiet=False, moreverbose=False)[source]
Bases:
object
-
quiet:
bool
= False
-
moreverbose:
bool
= False
-
quiet:
- fmu.tools.ensembles.ensemble_well_props.get_parser_args(args)[source]
Set up parser for command line end point.
- fmu.tools.ensembles.ensemble_well_props.dump_example_config()[source]
Dump an example config file as example.yml.
- class fmu.tools.ensembles.ensemble_well_props.PropsData(name, filestub, discrete=False, codes=None, interval=None)[source]
Bases:
object
Holding property data and criteria
-
name:
str
-
filestub:
str
-
discrete:
bool
= False
-
codes:
Optional
[list
] = None
-
interval:
Optional
[list
] = None
-
name:
- class fmu.tools.ensembles.ensemble_well_props.ConfigData(config, root=None, reals=None, itera=None, wellfile=None, welldelta=2, gridfile=None, gridreuse=False, proplist=None, report_avg_file=None, report_cum_file=None, report_keep_intermediate=False, report_show_in_terminal=True)[source]
Bases:
object
Other class data than config are evaluated from config in post_init.
-
config:
dict
-
root:
Optional
[Path
] = None
-
reals:
Optional
[list
] = None
-
itera:
Optional
[str
] = None
-
wellfile:
Optional
[Path
] = None
-
welldelta:
int
= 2
-
gridfile:
Optional
[Path
] = None
-
gridreuse:
bool
= False
-
report_avg_file:
Optional
[str
] = None
-
report_cum_file:
Optional
[str
] = None
-
report_keep_intermediate:
bool
= False
-
report_show_in_terminal:
bool
= True
-
config:
- class fmu.tools.ensembles.ensemble_well_props.WellCase(well, mdlog, mdranges, delta=2)[source]
Bases:
object
-
well:
Well
-
mdlog:
str
-
mdranges:
list
-
delta:
int
= 2
-
well:
- class fmu.tools.ensembles.ensemble_well_props.EnsembleWellProps(well, realizations, cfg, sinfo, added_logs=None, added_flag_logs=None, cumlenreport=None, cumlenreport_summary=None)[source]
Bases:
object
The ensemble well props is use for post loop analysis.
-
well:
Well
-
realizations:
list
-
cfg:
ConfigData
-
sinfo:
ScreenInfo
-
added_logs:
Optional
[dict
] = None
-
added_flag_logs:
Optional
[list
] = None
-
cumlenreport:
Optional
[DataFrame
] = None
-
cumlenreport_summary:
Optional
[DataFrame
] = None
-
well:
- fmu.tools.ensembles.ensemble_well_props.loop_for_compute(config, sinfo, _dryrun=False)[source]
Collect for computing the ensemble statistics.
- Parameters:
config – The input configuration dictonary
sinfo – Messages to screen instance
_dryrun – For testing, skipping computation
- fmu.tools.ensembles.ensemble_well_props.run_compute(real, well, prop, theprop)[source]
Compute well props sampled from gridproperties for one propert and realization.
The well.dataframe is updated in-place with new column(s)
Module contents
For analysis/checks across ensembles.