the issue about loss maps output

15 views
Skip to first unread message

Jian Ma

unread,
May 27, 2021, 4:44:43 AMMay 27
to openqua...@googlegroups.com
Dear developer,

When ran the event-based risk demo with oq 3.11.3, 
and in the output section, the loss maps was set to true "loss_maps =true"

But in the final result doesn't contain the loss maps.

Do you know why?

Thanks!

Jian MA
Ph.D Candidate
Academy of Disaster Reduction and Emergency Management, Ministry of Emergency Management & Ministry of Education
Beijing Normal University
(86)188-1157-3353

anirudh.rao

unread,
May 27, 2021, 5:28:33 AMMay 27
to OpenQuake Users
Hi Jian,

We removed the loss maps output in favor of the aggregate loss curves output in engine-3.11 (see https://github.com/gem/oq-engine/pull/6395). The old loss maps output was simply an extract from the asset loss curves output, picking out the points from the asset loss curves corresponding to the return period of interest. In principle, it was not possible to obtain the loss corresponding to a given return period for an administrative division, for instance, by simply summing up the corresponding losses from all assets within that division listed in the loss maps output. Thus, the old loss maps output had limitations in its applicability. 

Instead, now, by including the parameter aggregate_by = tag1, tag2, .. in your job file (eg., where tag1 could be province and tag2 could be occupancy), the engine will compute aggregate loss curves for each tag combination. We believe the aggregate loss curves output should cover most (if not all) of the use cases of the old loss maps output. We'd be curious to hear from you if there's a case that you think is not covered by the aggregate loss curves output.

Best regards,
Anirudh

Jian Ma

unread,
May 27, 2021, 8:26:28 PMMay 27
to openqua...@googlegroups.com
Hi Anirudh,

Thanks for your response.

I think that the function of aggregate by tag is amazing.

 It would nice to add an example to the manual.

Jian


Jian MA
Ph.D Candidate
Academy of Disaster Reduction and Emergency Management, Ministry of Emergency Management & Ministry of Education
Beijing Normal University
(86)188-1157-3353


anirudh.rao <aniru...@globalquakemodel.org> 于2021年5月27日周四 下午5:28写道:
--
You received this message because you are subscribed to the Google Groups "OpenQuake Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openquake-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openquake-users/6f069ab0-08d6-43d5-92e1-e3a97788a406n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages