-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Bug when loading losses layers #729
Labels
Comments
On my machine I can not reproduce this error. I will check on MacOS, to see if the behavior is different. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When trying to load the
Average Asset Losses
from theScenario Risk Demo
, the following error appears2020-04-20T16:36:01 WARNING Traceback (most recent call last): File "/Users/cyepes/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/svir/dialogs/load_output_as_layer_dialog.py", line 875, in accept self.load_from_npz() File "/Users/cyepes/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/svir/dialogs/load_losses_by_asset_as_layer_dialog.py", line 186, in load_from_npz loss_type=loss_type) File "/Users/cyepes/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/svir/dialogs/load_output_as_layer_dialog.py", line 492, in build_layer row_wkt_geom_types=row_wkt_geom_types) File "/Users/cyepes/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/svir/dialogs/load_losses_by_asset_as_layer_dialog.py", line 147, in read_npz_into_layer self.npz_file, rlz_or_stat, loss_type, taxonomy) File "/Users/cyepes/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/svir/dialogs/load_losses_by_asset_as_layer_dialog.py", line 201, in group_by_site loss_by_site[rec['lon'], rec['lat']] += rec[loss_type] ValueError: no field of name b'structural'
The text was updated successfully, but these errors were encountered: