Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions tests/testdata/case.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# example YAML file for ensembles (a parent object in Sumo)

$schema: https://main-fmu-schemas-dev.radix.equinor.com/schemas/0.8.0/fmu_results.json
version: "0.8.0" # including for REP and others to build logic on.
source: fmu # always included, and always this value if FMU made it. For quick identification for external consumers.
$schema: https://main-fmu-schemas-dev.radix.equinor.com/schemas/0.12.0/fmu_results.json
version: "0.12.0" # including for REP and others to build logic on.
source: fmu # always included, and always this value if FMU made it. For quick identification for external consumers.
class: case
fmu:
case:
name: TestCase from fmu.sumo
uuid: 8bb56d60-8758-481a-89a4-6bac8561d38e # (pseudo-)random valid uuid4xs
uuid: 8bb56d60-8758-481a-89a4-6bac8561d38e # (pseudo-)random valid uuid4xs, this is re-generated in tests.
user:
id: testuser # $USER from ERT
description:
- yet other detailed description
- optional
restart_from: 00000000-0000-0000-0000-000000000000 # fmu.iteration.uuid for another iteration/case
restart_from: 00000000-0000-0000-0000-000000000000 # fmu.ensemble.uuid for another ensemble/case
model:
name: ff
revision: 21.0.0.dev
Expand All @@ -26,7 +26,7 @@ fmu:

access:
asset:
name: Drogon # adding level to make room for unique ID in the future
name: Drogon # adding level to make room for unique ID in the future

# ensemble objects have no ssdl details

Expand Down
43 changes: 22 additions & 21 deletions tests/testdata/surface.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$schema: https://main-fmu-schemas-dev.radix.equinor.com/schemas/0.8.0/fmu_results.json
version: "0.8.0" # including for REP and others to build logic on.
source: fmu # always included, and always this value if FMU made it. For quick identification for external consumers.
$schema: https://main-fmu-schemas-dev.radix.equinor.com/schemas/0.12.0/fmu_results.json
version: "0.12.0" # including for REP and others to build logic on.
source: fmu # always included, and always this value if FMU made it. For quick identification for external consumers.

tracklog:
- datetime: '2020-10-28T14:28:02'
Expand All @@ -24,10 +24,10 @@ fmu:
description:
- detailed description
- optional

context:
stage: "realization"

workflow: # not sure, but a reference to the workflow / job that made this. Making it expandable.
reference: rms/structural_model

Expand All @@ -39,16 +39,19 @@ fmu:
description:
- yet other detailed description
- optional
restart_from: 15ce3b84-766f-4c93-9050-b154861f9100 # fmu.iteration.uuid for another iteration/case
restart_from: 15ce3b84-766f-4c93-9050-b154861f9100 # fmu.ensemble.uuid for another ensemble/case

iteration:
ensemble:
id: 0 # always an int, will be 0 for e.g. "pred"
uuid: 4b939310-34b1-4179-802c-49460bc0f799 # hash of case.uuid + iteration.id
uuid: 4b939310-34b1-4179-802c-49460bc0f799 # hash of case.uuid + ensemble.id
name: "iter-0" # /"pred"

realization: # could be expanded in the future?
entity:
uuid: dc2971e1-abae-4691-92fc-17fbd926461a

realization: # could be expanded in the future?
id: 33
uuid: 29a15b21-ce13-471b-9a4a-0f791552aa51 # hash of case.uuid + iteration.uuid + realization.id
uuid: 29a15b21-ce13-471b-9a4a-0f791552aa51 # hash of case.uuid + ensemble.uuid + realization.id
name: "realization-33"
parameters: # directly pass parameters.txt. This is potentially a lot of content, only a stub is included here.
SENSNAME: faultseal
Expand All @@ -61,28 +64,27 @@ fmu:
FAULT_SEAL_SCALING: 0.1
FWL_CENTRAL: 1677
jobs: # directly pass jobs.json. This is a lot of content, only a stub is included here.
umask: '0002'
umask: "0002"
DATA_ROOT: /some/path/20.4.0_20201106/ert/model
anything: something
something:
anything: something
global_update_path: {}
jobList:
- name: MAKE_DIRECTORY
min_arg: 1
anything: something
- name: MAKE_DIRECTORY
min_arg: 1
anything: something

file:
relative_path: realization-33/iter-0/share/results/maps/volantis_gp_base--amplitude.gri # case-relative
absolute_path: /some/absolute/path//realization-33/iter-0/share/results/maps/volantis_gp_base--amplitude.gri
checksum_md5: 0123456789abcdef0123456789abcdef # checksum of the file, not the data.
checksum_md5: 0123456789abcdef0123456789abcdef # checksum of the file, not the data.

data: # The data block describes the actual data (e.g. surface). Only present in data objects

# if stratigraphic, name must match the strat column. This is the official name of this surface.
name: volantis_top-volantis_base
stratigraphic: false # if true, this is a stratigraphic surface found in the strat column
offset: 0.0 # to be used if a specific horizon is represented with an offset.
stratigraphic: false # if true, this is a stratigraphic surface found in the strat column
offset: 0.0 # to be used if a specific horizon is represented with an offset.

top: # not required, but allowed
name: volantis_gp_top
Expand Down Expand Up @@ -127,7 +129,7 @@ data: # The data block describes the actual data (e.g. surface). Only present in
yinc: 25.0
yflip: 1
rotation: 30.000000834826057
undef: 1.0e+33 # Allow both number and string
undef: 1.0e+33 # Allow both number and string
bbox:
xmin: 456012.5003497944
xmax: 467540.52762886323
Expand Down Expand Up @@ -181,10 +183,9 @@ masterdata:
field:
- identifier: DROGON
uuid: 00000000-0000-0000-0000-000000000000
coordinate_system: # changing from "coordinates" to clarify this is not content
coordinate_system: # changing from "coordinates" to clarify this is not content
identifier: ST_WGS84_UTM37N_P32637
uuid: ad214d85-dac7-19da-e053-c918a4889309
stratigraphic_column:
identifier: DROGON_2020
uuid: 12345678-1234-1234-1234-123456789012