Skip to content

Generate impact reports in PDF and PNG formats - #11523

Closed
ptormene wants to merge 310 commits into
masterfrom
impact_report
Closed

ptormene wants to merge 310 commits into
masterfrom
impact_report

Conversation

@ptormene

@ptormene ptormene commented Jun 5, 2026

Copy link
Copy Markdown
Member

This branch has been there for months and it's time to finalize it.
Now we are busy with other urgent tasks, but I am opening this PR as a draft, so we can start reviewing the code.

The new feature require some additional python packages and I decided to create a separate requirements file specific for impact (and I did the same for aelo).

I finally managed to fix also the UI tests:
https://github.com/gem/oq-engine/actions/runs/32850716659
They had a very strange behavior, working smoothly in headed mode (showing the process in a browser window) but failing in headless mode.

We should double-check that all the files we are using to generate the reports are updated and "usable" (in terms of licenses, etc.).

…the threshold but that country has no loss at all (do not generate the corresponding report)
…xporting to csv and reading from the exported file
…ded by the risk team with different column names
…nt; refine the styling of some markers and labels
…de in the plots the top cities in the viewport belonging to the reporting country
…r the random name of the temporary internal copy of the rupture file
… outputs (grouping all outputs together instead)
…roach using the finite-fault model from the USGS
…ete before subsequent interactions (like clicking download buttons or remove actions)
…ror report-generation logs in server and job logs
…en if all other loss values are below the negligible-loss threshold
…ions also for exposed value, mean and quantiles
@ptormene

Copy link
Copy Markdown
Member Author

Replaced by #11784

@ptormene ptormene closed this Sep 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants