-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow utilities.yaml_load to read extended YAML
Address issue #49
- Loading branch information
1 parent
f53b8ba
commit 075d498
Showing
25 changed files
with
2,268 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,6 @@ | |
|
||
|
||
def _do_parse_args(args): | ||
|
||
if args is None: | ||
args = sys.argv[1:] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
asset: | ||
name: Drogon | ||
ssdl: | ||
access_level: internal | ||
rep_include: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
# This is auxiliary metadata that contains helper setup for mostly for SUMO | ||
# * aliases | ||
# * display settings | ||
|
||
# The key names are the modelling names used in RMS project (e.g. TopVolantis) while the "name" | ||
# shall be the official SMDA name | ||
|
||
MSL: | ||
stratigraphic: False | ||
name: MSL | ||
display_name: MSL | ||
|
||
Seabase: | ||
stratigraphic: False | ||
name: Seabase | ||
display_name: Seabase | ||
|
||
TopVolantis: | ||
stratigraphic: True | ||
name: VOLANTIS GP. Top # this is the official DB name | ||
display_name: Top Volantis | ||
# additional names, given for demo purpose: | ||
alias: | ||
- TopVOLANTIS | ||
- TOP_VOLANTIS | ||
straigraphic_alias: | ||
- TopValysar | ||
- Valysar Fm. Top | ||
|
||
TopTherys: | ||
stratigraphic: True | ||
name: Therys Fm. Top | ||
display_name: Top Therys | ||
|
||
TopVolon: | ||
stratigraphic: True | ||
name: Volon Fm. Top | ||
display_name: Top Volon | ||
|
||
BaseVolon: | ||
stratigraphic: True | ||
name: Volon Fm. Base | ||
display_name: Base Volon | ||
|
||
BaseVolantis: | ||
stratigraphic: True | ||
name: VOLANTIS GP. Base | ||
display_name: Base Volantis | ||
|
||
Mantle: | ||
stratigraphic: False | ||
name: Mantle | ||
|
||
#========================================================================================= | ||
# zones | ||
Above: | ||
stratigraphic: False | ||
name: Above | ||
display_name: Above Reservoir | ||
|
||
Valysar: | ||
stratigraphic: True | ||
name: Valysar Fm. | ||
display_name: Valysar | ||
|
||
Therys: | ||
stratigraphic: True | ||
name: Therys Fm. | ||
display_name: Therys | ||
|
||
Volon: | ||
stratigraphic: True | ||
name: Volon Fm. | ||
display_name: Volon | ||
|
||
Below: | ||
stratigraphic: False | ||
name: Below | ||
display_name: Below Reservoir |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
SEISMIC_HIST_DATES: &4d_dates | ||
- 2018-01-01 | ||
- 2018-07-01 | ||
- 2019-07-01 | ||
- 2020-07-01 | ||
|
||
SEISMIC_HIST_DIFFDATES: &4d_diffdates | ||
- [2018-07-01, 2018-01-01] | ||
- [2019-07-01, 2018-01-01] | ||
- [2020-07-01, 2018-01-01] | ||
- [2019-07-01, 2018-07-01] | ||
- [2020-07-01, 2019-07-01] | ||
|
||
ECLIPSE_INIT_DATE: &ecl_init_date 2018-01-01 #init date | ||
|
||
# eclipse dates should be aligned with rmsevents IORESTART keyword (restart reporting) | ||
ECLIPSE_HIST_DATES: *4d_dates # same dates as in SEISMIC_HIST_DATES | ||
|
||
ECLIPSE_HIST_DIFFDATES: *4d_diffdates # same dates as in SEISMIC_HIST_DIFFDATES |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#seismic pred dates should include diff dates and relevant single dates | ||
SEISMIC_PRED_DATES: &4d_pred_dates | ||
- 2018-01-01 | ||
- 2020-07-01 | ||
- 2025-01-01 | ||
|
||
SEISMIC_PRED_DIFFDATES: &4d_pred_diffdates | ||
- [2025-01-01, 2018-01-01] | ||
- [2025-01-01, 2020-07-01] | ||
|
||
#ecl_dates should be aligned with rmsevents IORESTART keyword (restart reporting) | ||
ECLIPSE_INIT_DATES: &ecl_init_dates | ||
- 2018-01-01 | ||
|
||
ECLIPSE_PRED_DATES: &ecl_pred_dates | ||
- 2025-01-01 | ||
|
||
ECLIPSE_PRED_DIFFDATES: &ecl_pred_diffdates | ||
- [2025-01-01, 2018-01-01] | ||
- [2025-01-01, 2020-07-01] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# These data are currently *not* in use ; they are here for demo purpose! | ||
# This is primarely an example on how to read 2D data from YAML | ||
# in the RMS project it will be a demo_*.py script to show how | ||
# it can be read by python | ||
|
||
# ZONE1 VALYSAR ZONE2 THERYS ZONE3 ZONE3 VOLON ZONE3 | ||
- [1660 ~ <FWL_VALYSAR_REG1>, 1660 ~ <FWL_THERYS_REG1>, 1660 ~ <FWL_VOLON_REG1>] # region 1 WestLowland | ||
- [1667 ~ <FWL_VALYSAR_REG2>, 1667 ~ <FWL_THERYS_REG2>, 1680 ~ <FWL_VOLON_REG2>] # region 2 CentralSouth | ||
- [1668 ~ <FWL_VALYSAR_REG3>, 1667 ~ <FWL_THERYS_REG3>, 1680 ~ <FWL_VOLON_REG3>] # region 3 CentralNorth | ||
- [1661 ~ <FWL_VALYSAR_REG4>, 1667 ~ <FWL_THERYS_REG4>, 1680 ~ <FWL_VOLON_REG4>] # region 4 NorthHorst | ||
- [1655 ~ <FWL_VALYSAR_REG5>, 1664 ~ <FWL_THERYS_REG5>, 1680 ~ <FWL_VOLON_REG5>] # region 5 CentralRamp | ||
- [1632 ~ <FWL_VALYSAR_REG6>, 1667 ~ <FWL_THERYS_REG6>, 1680 ~ <FWL_VOLON_REG6>] # region 6 CentralHorst | ||
- [1688 ~ <FWL_VALYSAR_REG7>, 1667 ~ <FWL_THERYS_REG7>, 1690 ~ <FWL_VOLON_REG7>] # region 7 EastLowland |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# These data are currently *not* in use ; they are here for demo purpose! | ||
# This is primarely an example on how to read 2D data from YAML | ||
# in the RMS project it will be a demo_*.py script to show how | ||
# it can be read by python | ||
|
||
# ZONE1 VALYSAR ZONE2 THERYS ZONE3 ZONE3 VOLON ZONE3 | ||
# - [1660 ~ <FWL_VALYSAR_REG1>, 1660 ~ <FWL_THERYS_REG1>, 1660 ~ <FWL_VOLON_REG1>] # region 1 WestLowland | ||
# - [1667 ~ <FWL_VALYSAR_REG2>, 1667 ~ <FWL_THERYS_REG2>, 1680 ~ <FWL_VOLON_REG2>] # region 2 CentralSouth | ||
# - [1668 ~ <FWL_VALYSAR_REG3>, 1667 ~ <FWL_THERYS_REG3>, 1680 ~ <FWL_VOLON_REG3>] # region 3 CentralNorth | ||
# - [1661 ~ <FWL_VALYSAR_REG4>, 1667 ~ <FWL_THERYS_REG4>, 1680 ~ <FWL_VOLON_REG4>] # region 4 NorthHorst | ||
# - [1655 ~ <FWL_VALYSAR_REG5>, 1664 ~ <FWL_THERYS_REG5>, 1680 ~ <FWL_VOLON_REG5>] # region 5 CentralRamp | ||
# - [1632 ~ <FWL_VALYSAR_REG6>, 1667 ~ <FWL_THERYS_REG6>, 1680 ~ <FWL_VOLON_REG6>] # region 6 CentralHorst | ||
# - [1688 ~ <FWL_VALYSAR_REG7>, 1667 ~ <FWL_THERYS_REG7>, 1690 ~ <FWL_VOLON_REG7>] # region 7 EastLowland | ||
|
||
# better! use dictionary | ||
|
||
Westlowland: | ||
Valysar: 1660 ~ <FWL_VALYSAR_REG1> | ||
Therys: 1660 ~ <FWL_THERYS_REG1> | ||
Volon: 1660 ~ <FWL_VOLON_REG1> | ||
Centralsouth: | ||
Valysar: 1667 ~ <FWL_VALYSAR_REG2> | ||
Therys: 1667 ~ <FWL_THERYS_REG2> | ||
Volon: 1680 ~ <FWL_VOLON_REG2> | ||
CentralNorth: | ||
Valysar: 1668 ~ <FWL_VALYSAR_REG3> | ||
Therys: 1667 ~ <FWL_THERYS_REG3> | ||
Volon: 1680 ~ <FWL_VOLON_REG3> | ||
NorthHorst: | ||
Valysar: 1661 ~ <FWL_VALYSAR_REG4> | ||
Therys: 1667 ~ <FWL_THERYS_REG4> | ||
Volon: 1680 ~ <FWL_VOLON_REG4> | ||
CentralRamp: | ||
Valysar: 1655 ~ <FWL_VALYSAR_REG5> | ||
Therys: 1664 ~ <FWL_THERYS_REG5> | ||
Volon: 1680 ~ <FWL_VOLON_REG5> | ||
CentralHorst: | ||
Valysar: 1632 ~ <FWL_VALYSAR_REG6> | ||
Therys: 1667 ~ <FWL_THERYS_REG6> | ||
Volon: 1680 ~ <FWL_VOLON_REG6> | ||
Eastlowland: | ||
Valysar: 1688 ~ <FWL_VALYSAR_REG7> | ||
Therys: 1667 ~ <FWL_THERYS_REG7> | ||
Volon: 1690 ~ <FWL_VOLON_REG7> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#======================================================================================== | ||
# Master data section, to be used for SUMO master data metadata | ||
# In global_master, use: | ||
# masterdata: !include _masterdata.yml | ||
#======================================================================================== | ||
|
||
smda: | ||
country: | ||
- identifier: Norway | ||
uuid: ad214d85-8a1d-19da-e053-c918a4889309 | ||
discovery: | ||
- short_identifier: DROGON | ||
uuid: ad214d85-8a1d-19da-e053-c918a4889309 | ||
field: | ||
- identifier: DROGON | ||
uuid: 00000000-0000-0000-0000-000000000000 | ||
coordinate_system: | ||
identifier: ST_WGS84_UTM37N_P32637 | ||
uuid: ad214d85-dac7-19da-e053-c918a4889309 | ||
stratigraphic_column: | ||
identifier: DROGON_HAS_NO_STRATCOLUMN | ||
uuid: 00000000-0000-0000-0000-000000000000 |
Oops, something went wrong.