mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-24 14:58:13 -06:00
Import zone colors from an FMU stratigraphy.json file located next to the formation files, and import formation zones from a yaml file. - Add RifFormationNamesFileParser and move the layer zone table, yaml and stratigraphy.json parsers there from RifFormationNamesReader. - Return std::expected from convertStringToColor. - Prefer zonation_ecl_map yaml when several yaml files are present, and ignore other yaml files. - Document the FMU location of the formation files. - Add unit tests and test data for fmu, malformed and missing-color inputs. Issues: #13889, #13888
13 lines
303 B
JSON
13 lines
303 B
JSON
[
|
|
{
|
|
"name": "TopVolantis_BaseVolantis",
|
|
"color": "#00FF00",
|
|
"subzones": [
|
|
{ "name": "Valysar", "color": "#FF0000" },
|
|
{ "name": "Therys", "color": "#0000FF" },
|
|
{ "name": "Volon" , "color": "not-a-color" }
|
|
]
|
|
},
|
|
{ "name": "Other", "color": "#808080", "extra": 1 }
|
|
]
|