fmu.tools.qcdata package
Submodules
fmu.tools.qcdata.qcdata module
This private module in qcforward is used to parse data on a general level.
The resulting data will be stored as class instance attributes, e.g. self._grid
- class fmu.tools.qcdata.qcdata.QCData[source]
Bases:
object
This is a class which parse/reads and stores some common data like 3D grids, maps etc.
It shall be semi-agnostic to where data comes from, i.e. accept both files and RMS input.
By having it as a class one can store different datasets and compare them later if needed. E.g. if one need to compare two grid models, they will be members of two different instances of the QCData()
- property project
Project attribute as Roxar project instance
- property grid
Grid attribute as XTGeo Grid() instance
- property gridprops
GridProperties attribute as XTGeo GridProperties() instance
- property wells
Wells attribute as XTGeo Wells() instance
- property bwells
Wells attribute as XTGeo BlockedWells() instance
- property xtgdata
All xtgeo based data as a dictionay
- parse(data=None, project=None, reuse=False, wells_settings=None)[source]
Parse the actual data, such as grids, gridprops etc.
- Parameters:
data (dict) – The input data dictionary fine grained control, e.g. [“grid”, “gridprops”, “wells”]
project (obj or str) – For usage inside RMS
reuse (bool or list) – If True, do not reread grid and gridprops. Can also be a list referring to key names.
wells_settings (dict) – More granular settings for wells which may speed up reading and/or execution. If set, this is a dictionary with keys
lognames
,depthrange
,resample
Module contents
- class fmu.tools.qcdata.QCData[source]
Bases:
object
This is a class which parse/reads and stores some common data like 3D grids, maps etc.
It shall be semi-agnostic to where data comes from, i.e. accept both files and RMS input.
By having it as a class one can store different datasets and compare them later if needed. E.g. if one need to compare two grid models, they will be members of two different instances of the QCData()
- property project
Project attribute as Roxar project instance
- property grid
Grid attribute as XTGeo Grid() instance
- property gridprops
GridProperties attribute as XTGeo GridProperties() instance
- property wells
Wells attribute as XTGeo Wells() instance
- property bwells
Wells attribute as XTGeo BlockedWells() instance
- property xtgdata
All xtgeo based data as a dictionay
- parse(data=None, project=None, reuse=False, wells_settings=None)[source]
Parse the actual data, such as grids, gridprops etc.
- Parameters:
data (dict) – The input data dictionary fine grained control, e.g. [“grid”, “gridprops”, “wells”]
project (obj or str) – For usage inside RMS
reuse (bool or list) – If True, do not reread grid and gridprops. Can also be a list referring to key names.
wells_settings (dict) – More granular settings for wells which may speed up reading and/or execution. If set, this is a dictionary with keys
lognames
,depthrange
,resample