Skip to content

ARISTOTLE: add to level 2 interface the possibility to choose among different workflows#10296

Merged
ptormene merged 52 commits into
masterfrom
level2
Feb 6, 2025
Merged

ARISTOTLE: add to level 2 interface the possibility to choose among different workflows#10296
ptormene merged 52 commits into
masterfrom
level2

Conversation

@ptormene

Copy link
Copy Markdown
Member

No description provided.

…ow to use, showing/hiding form fields as a consequence (WIP)
…ata' button in the states 'initial' and 'running'
…e of the available nodal planes and populating rake, dip and strike subsequently
…hes use_pnt_rup_from_usgs and build_rup_from_usgs
@ptormene ptormene requested a review from micheles January 28, 2025 10:29
@ptormene ptormene self-assigned this Jan 28, 2025
Comment thread openquake/hazardlib/shakemap/parsers.py Outdated
Comment thread openquake/server/views.py Outdated
Comment thread openquake/hazardlib/shakemap/parsers.py Outdated
ffs = products['finite-fault']
ff = _get_preferred_item(ffs)
p = ff['properties']
# TODO: we probably need to get the rupture coordinates from shakemap_polygon.txt

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Anirudh says

the downloadable rupture polygon files are not very reliable or consistent in format. For instance, the finite fault polygon file for the 2024 Hualien earthquake does contain the rupture coordinates: https://earthquake.usgs.gov/product/finite-fault/us7000m9g4_1/us/1712690873099/shakemap_polygon.txt, but the 2023 Kahramanmaraş finite fault polygon files are empty: https://earthquake.usgs.gov/product/finite-fault/us6000jllz_1/us/1676951251912/shakemap_polygon.txt and https://earthquake.usgs.gov/product/finite-fault/us6000jlqa_1/us/1676676771092/shakemap_polygon.txt
On the other hand, the rupture.json file from the ShakeMap downloads page is reliable and consistent

so we should never read the polygon and you can remove the commented code below.

@micheles micheles marked this pull request as ready for review January 31, 2025 05:56
@ptormene ptormene merged commit 4ef1145 into master Feb 6, 2025
@ptormene ptormene deleted the level2 branch February 6, 2025 10:03
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