Thanks Michele. I appreciate your help. You can download a zip file of the working directory here (
) . It is the scenario_damage demo and extended to use ShakeMaps (using a shakemap of the 2016 Nepal earthquake).
I first ran the normal demo to get consequence losses:
oq engine --run job_hazard.ini job_risk.ini --exports csv
and this produces the losses (from the consequences file) in avg_losses-mean_XXX.csv and also as second to last column in risk_by_event_XXX.csv
oq engine --run job_prepare_risk.ini
This ran fine. Then I ran the scenario_damage calculator importing a local shakemap:
oq engine --run job_shakemap_risk.ini --hc=-1 --exports csv
This ran through and produced damage outputs. But didnt produce the avg_losses-mean_XXX.csv file or the losses column risk_by_event_XXX.csv
Any assistance would be very welcome.