Skip to content
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

Rename two API endpoints and add field descriptions to the exported json files #10433

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

ptormene
Copy link
Member

@ptormene ptormene commented Mar 10, 2025

I have also checked that level 1 users can actually use the two API endpoints to retrieve the json data.

In the aggrisk_tags exporter, for each loss type I added a row with total values.

I tried to regenerate expected files for openquake/engine/tests/impact_test.py, but instead of just adding rows with total values, it was doing the aggregation by one field instead of 2 (it's not clear to me why), so I still haven't replaced those files.

I added rows per ID with “injured” and “affectedpop” to the “impact” results in a separate branch (endpoints_plus2lts).

@ptormene ptormene added this to the Engine 3.24.0 milestone Mar 10, 2025
@ptormene ptormene requested a review from micheles March 10, 2025 10:58
@ptormene ptormene self-assigned this Mar 10, 2025
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.

2 participants