Skip to content

Commit

Permalink
Do not allow contents volumetrics and inplace_volumes. (#400)
Browse files Browse the repository at this point in the history
* Do not allow contents volumetrics and inplace_volumes.

* Snap examples to correct content for volumes.
  • Loading branch information
perolavsvendsen authored Dec 15, 2023
1 parent bb6d894 commit 5a8ecea
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def export_dataio(df, gridname):
exp = fmu.dataio.ExportData(
name=gridname,
config=CFG,
content="volumetrics",
content="volumes",
unit="m",
is_prediction=True,
is_observation=False,
Expand All @@ -94,7 +94,6 @@ def export_dataio(df, gridname):


if __name__ == "__main__":

if IN_ROXAR:
for vtable in VTABLES:
export_dataio(*volume_as_dataframe_rms(vtable))
Expand Down
2 changes: 0 additions & 2 deletions src/fmu/dataio/_definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ def __post_init__(self):
"fault_lines": None,
"velocity": None,
"volumes": None,
"volumetrics": None, # or?
"inplace_volumes": None, # or?
"khproduct": None,
"timeseries": None,
"wellpicks": None,
Expand Down

0 comments on commit 5a8ecea

Please sign in to comment.