Files
ResInsight/ApplicationLibCode/UnitTests/TestData/RifFormationNamesReader/fmu/stratigraphy.json
T
Magne Sjaastad fd0ec10d6b #13889: Import zone colors from stratigraphy.json and zones from yaml
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
2026-10-20 13:36:02 +02:00

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 }
]