From 5a8ecea2adf2251d1e2dc4bd0711d4cfa4724f47 Mon Sep 17 00:00:00 2001 From: Per Olav Eide Svendsen <35033325+perolavsvendsen@users.noreply.github.com> Date: Fri, 15 Dec 2023 15:40:38 +0100 Subject: [PATCH] Do not allow contents volumetrics and inplace_volumes. (#400) * Do not allow contents volumetrics and inplace_volumes. * Snap examples to correct content for volumes. --- .../xcase/realization-0/iter-0/any/bin/export_volumetables.py | 3 +-- src/fmu/dataio/_definitions.py | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/examples/s/d/nn/xcase/realization-0/iter-0/any/bin/export_volumetables.py b/examples/s/d/nn/xcase/realization-0/iter-0/any/bin/export_volumetables.py index 0a67654f1..1e6dc44e8 100644 --- a/examples/s/d/nn/xcase/realization-0/iter-0/any/bin/export_volumetables.py +++ b/examples/s/d/nn/xcase/realization-0/iter-0/any/bin/export_volumetables.py @@ -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, @@ -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)) diff --git a/src/fmu/dataio/_definitions.py b/src/fmu/dataio/_definitions.py index 65a4eb59d..9ff6785e0 100644 --- a/src/fmu/dataio/_definitions.py +++ b/src/fmu/dataio/_definitions.py @@ -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,