equinor / equinor/webviz-subsurface-testdata
Example failes with KeyError MIGRATION_TIME_SGAS
- Dominant language
- OpenEdge ABL
- Stars
- 11
- Forks
- 28
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
Doing
`[../webviz-subsurface-testdata/webviz_examples] master$ webviz build webviz-full-demo.yml
`
will after some minutes building crash with the error:
```
Traceback (most recent call last):
File "/tmp/tmpag24w8ut/webviz_app.py", line 855, in
plugin = webviz_config.plugins.CO2Leakage(app=app, webviz_settings=webviz_settings, **{'ensembles': ['co2'], 'plume_actual_volume_relpath': 'share/results/tables/plume_actual_volume.csv', 'fault_polygon_attribute': 'gl_faultlines_extract_postprocess', 'well_pick_file': '../01_drogon_ccs/realization-0/iter-0/share/results/wells/well_picks.csv', 'file_containment_boundary': '../01_drogon_ccs/realization-0/iter-0/share/results/polygons/leakage_boundary.csv', 'file_hazardous_boundary': '../01_drogon_ccs/realization-0/iter-0/share/results/polygons/hazardous_boundary.csv', 'initial_surface': 'topvolantis', 'map_attribute_names': {'MAX_SGAS': 'max_sgas', 'MAX_AMFG': 'max_amfg', 'MIGRATION_TIME_SGAS': 'migrationtime_sgas', 'MIGRATION_TIME_AMFG': 'migrationtime_amfg', 'MASS': 'co2-mass-total', 'DISSOLVED': 'co2-mass-aqu-phase', 'FREE': 'co2-mass-gas-phase'}, 'plume_mass_relpath': 'share/results/tables/plume_mass.csv', 'unsmry_relpath': None, 'map_surface_names_to_well_pick_names': None, 'map_surface_names_to_fault_polygons': None})
File "/prog/res/komodo/2024.09.05-py38-rhel8/root/lib64/python3.8/site-packages/webviz_subsurface/plugins/_co2_leakage/_plugin.py", line 131, in __init__
self._map_attribute_names = init_map_attribute_names(map_attribute_names)
File "/prog/res/komodo/2024.09.05-py38-rhel8/root/lib64/python3.8/site-packages/webviz_subsurface/plugins/_co2_leakage/_utilities/initialization.py", line 45, in init_map_attribute_names
return {MapAttribute[key]: value for key, value in mapping.items()}
File "/prog/res/komodo/2024.09.05-py38-rhel8/root/lib64/python3.8/site-packages/webviz_subsurface/plugins/_co2_leakage/_utilities/initialization.py", line 45, in
return {MapAttribute[key]: value for key, value in mapping.items()}
File "/usr/lib64/python3.8/enum.py", line 387, in __getitem__
return cls._member_map_[name]
KeyError: 'MIGRATION_TIME_SGAS'
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.