Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example failes with KeyError MIGRATION_TIME_SGAS #149

Open
berland opened this issue Oct 22, 2024 · 0 comments
Open

Example failes with KeyError MIGRATION_TIME_SGAS #149

berland opened this issue Oct 22, 2024 · 0 comments

Comments

@berland
Copy link
Contributor

berland commented Oct 22, 2024

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 <module>
    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 <dictcomp>
    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'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant