exposure export tool: add support for downloading population and dwelling fractions separately

Bug #1187008 reported by Ben Wyss
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenQuake Platform
Confirmed
High
Ben Wyss

Bug Description

In the exposure export tool the user need to be able to make a selection of what data should be included in the download:
    1) full download (the data that is currently downloaded by the tool
    2) only the population for the selected area
    3) only the dwelling fractions for the selected area

Option 2 and 3 can only be available in csv.

Ben Wyss (bmwyss)
description: updated
description: updated
Changed in oq-platform:
status: New → In Progress
importance: Undecided → High
Revision history for this message
Lars Butler (lars-butler) wrote :
Revision history for this message
Lars Butler (lars-butler) wrote :

Fix for incorrect ToD handling implementation: https://github.com/gem/oq-platform/pull/41

Revision history for this message
Paul Henshaw (paul-sl-henshaw) wrote :

Following a discussion with Chiara it seems that we have a need to obtain dwelling fractions for a number of points (selected by name or specified by the user (see https://bugs.launchpad.net/oq-platform/+bug/1221816) ) without calculating a population fraction value .

Essentially the export tool would continue to operate as it currently does but instead of outputting the calculated population value, the following columns should be output for each cell:

 total_population (in cell)
 is_urban
 building_type
 dwelling_fraction

Where available we would also like to obtain the following values from the distribution_value table:

 avg_dwelling_per_build
        building_fraction
        avg_floor_area
 replace_cost_per_area

and the following values from the study_region_facts table

 avg_peop_dwelling,
        avg_dwelling_area

I think it makes sense to output this kind of data in CSV format only since further processing is required before it can be used with the oq-engine.

Revision history for this message
Paul Henshaw (paul-sl-henshaw) wrote :

See also https://bugs.launchpad.net/oq-platform/+bug/1221814 for "Add support for exposure export by named region"

Ben Wyss (bmwyss)
Changed in oq-platform:
status: In Progress → Fix Released
Revision history for this message
Paul Henshaw (paul-sl-henshaw) wrote :

Updated status - there is still work to do.

Changed in oq-platform:
status: Fix Released → Confirmed
Changed in oq-platform:
milestone: 1.13.0 → 2.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.