-
Notifications
You must be signed in to change notification settings - Fork 320
ARISTOTLE: add to level 2 interface the possibility to choose among different workflows #10296
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
Merged
Changes from 43 commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
1c01499
Add to aristotle level 2 interface radio buttons to select the workfl…
ptormene 9cba9bf
Merge remote-tracking branch 'origin/master' into level2
ptormene 643479e
Replace the use_shakemap checkbox with the logic related to the corre…
ptormene 1e67abc
Move rupture-related form fields where they can be edited in case the…
ptormene 4351021
Merge remote-tracking branch 'origin/master' into level2
ptormene 8da0b8c
Rename use_pnt_src_from_usgs to use_pnt_rup_from_usgs
ptormene cdb4134
While retrieving rupture data, disable the approach selector
ptormene af36555
If the approach is to provide rupture params, enable editing dip and …
ptormene 4550f51
Extract function require_usgs_id
ptormene 43a1cce
Fix workflow in which the user uploads a rupture model
ptormene 88936b3
Merge remote-tracking branch 'origin/master' into level2
ptormene 694b280
Merge remote-tracking branch 'origin/master' into level2
ptormene 8f179fc
Merge remote-tracking branch 'origin/master' into level2
ptormene 8f807a3
Merge remote-tracking branch 'origin/master' into level2
ptormene a0140aa
Fix workflow for approach provide_rup_params
ptormene 3344631
With the approach providing rupture parameters, don't show the usgs_i…
ptormene 1591ded
Use a map to associate each approach with the text of the 'retrieve d…
ptormene 2c0dcf3
Communicate the selected approach to the backend
ptormene 041ceec
Fix shakemap tests
ptormene 36a59f9
Fix test_aristotle_mode
ptormene 31184c1
Merge remote-tracking branch 'origin/master' into level2
ptormene 2c56f33
Merge remote-tracking branch 'origin/master' into level2
ptormene 3dd521b
Merge remote-tracking branch 'origin/master' into level2
ptormene cfefb6f
Generalize _get_preferred_shakemap -> _get_preferred_item and use it …
ptormene 7cfff81
Improve workflow 'build_rup_from_usgs' allowing the user to select on…
ptormene e55e344
Merge remote-tracking branch 'origin/master' into level2
ptormene 067136d
Merge remote-tracking branch 'origin/master' into level2
ptormene eec9250
Merge remote-tracking branch 'origin/master' into level2
ptormene b8cd1c6
Add the possibility to load rupdic from origin and use it for approac…
ptormene 7c850c6
Merge remote-tracking branch 'origin/master' into level2
ptormene 7f19aae
Merge remote-tracking branch 'origin/master' into level2
ptormene 8a7340d
Fix style of aristotle approach radio buttons
ptormene 3cb5a72
Remove a couple of empty lines
ptormene 8bb6925
Add the selector for the magnitude scaling relationship (TODO: make i…
ptormene 4dd6171
Use get_available_magnitude_scalerel instead of get_available_scalerel
ptormene 2489526
Fix getting the selected magnitude scaling relationship if it exists
ptormene 233a6dd
Add a test checking that get_rup_dic also returns the nodal planes an…
ptormene 3d5b1c8
Add some draft code to get coordinates from shakemap_polygon.txt when…
ptormene ce3c82b
Do not attempt to get rupdic twice in case of approach use_finite_rup…
ptormene 44207c7
Use the selected MSR in the calculation
ptormene c629c5c
Add approach and msr arguments to aristotle.py main_cmd and arist uti…
ptormene 7634e2b
Extract function _get_rup_dic_from_xml
ptormene c4560c2
Fixed tests
94532b3
Cleanup
eb51099
Fix workflow provide_rup (the user uploads a rupture), adding suffix …
ptormene 55c580f
Merge remote-tracking branch 'origin/master' into level2
ptormene 5f2cf92
Merge remote-tracking branch 'origin/master' into level2
ptormene fe80735
Merge remote-tracking branch 'origin/master' into level2
ptormene 7da21e9
Merge remote-tracking branch 'origin/master' into level2
ptormene 9c1d019
Fix check on msr_selector (that was breaking the workflow using the s…
ptormene f07d3c3
Improve workflow for use_pnt_rup_from_usgs; do not download stations …
ptormene 2c47bf5
Initialize err as a dict instead of None
ptormene File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Anirudh says
so we should never read the polygon and you can remove the commented code below.