-
Notifications
You must be signed in to change notification settings - Fork 277
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
ARISTOTLE: plot shakemap #10112
Merged
Merged
ARISTOTLE: plot shakemap #10112
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
e170a52
Download shakemap image from the usgs if available
ptormene 49d16bd
Merge remote-tracking branch 'origin/master' into shakemap
ptormene fcffd9b
Fix aristotle webui tests, including intensity_map in the expected ru…
ptormene edadf33
Fix another test including intensity_map in the expected keys
ptormene a93fd57
Display also the pga image
ptormene c932911
Display images (intensity map and pga) in a single row
ptormene 289ae97
Hide also the pga map when there is an error downloading it
ptormene 4da09c7
Minor improvements
ptormene a1d74f3
Change some labels [ci skip]
ptormene a0c3199
WIP: plotting rupture after retrieving rupture data from usgs
ptormene 2d51b7e
Use non-interactive backend to plot the rupture
ptormene b0e61ad
Do not download/display intensity map and pga map from the usgs
ptormene ab1b061
Merge remote-tracking branch 'origin/master' into plotrup
ptormene 3e440e2
Merge remote-tracking branch 'origin/master' into plotrup
ptormene a70919a
Some renaming for consistency
ptormene a5e594f
Improve plot_rupture, also adding populated places if present in mosa…
ptormene 87b7a2e
Add a note about another possible fallback strategy in case of missin…
ptormene 820f926
Add a parameter to include/exclude populated places
ptormene 58ace37
Make lon_field, lat_field and label_field parametric
ptormene 95d8981
Remove intensity_map and pga from expected keys
ptormene 64f8ea1
Remove an unused import; add an expected key
ptormene 2c5d672
When pressing 'Retrieve rupture data', display avg gmf for mmi and pg…
ptormene c95b8dd
Minor rename
ptormene edac784
Some adjustments to the shakemap plots to make them look and fit bett…
ptormene 80dbab1
Fix expected keys in test_aristotle_mode
ptormene b7f29d8
Fix expected keys for another test
ptormene 9065447
Comment out the import of temporarily unused plot_rupture in views.py
ptormene f43092e
Merge remote-tracking branch 'origin/master' into plotshakemap
ptormene 7a1504d
Fix circular import and manage the use and deletion of rupdic['shakem…
ptormene 69d8017
Minor refactoring of download_rupture_dict
ptormene e10c659
Add a couple of notes and revert a change in the text of the 'Retriev…
ptormene 3d2714f
Merge remote-tracking branch 'origin/master' into plotshakemap
ptormene f724794
If stationlist_url does not contain the usgs_id, try to build the url…
ptormene ef39301
Revert "If stationlist_url does not contain the usgs_id, try to build…
ptormene 4bb83d2
Merge remote-tracking branch 'origin/master' into plotrup
ptormene 6179d20
Merge remote-tracking branch 'origin/plotrup' into plotshakemap
ptormene 1e6d1dc
Add a docstring to plt_to_base64
ptormene ec9bd6f
Merge remote-tracking branch 'origin/master' into plotrup
ptormene 1360a27
Merge branch 'plotrup' into plotshakemap
ptormene 31ab5f1
Merge remote-tracking branch 'origin/master' into plotrup
ptormene ac31674
Merge branch 'plotrup' into plotshakemap
ptormene 5a74817
In the MMI and PGA plots of the ShakeMap, also plot the boundaries of…
ptormene 2617f32
Improve several comments/docstrings [ci skip]
ptormene 76a79ef
Merge remote-tracking branch 'origin/master' into plotshakemap
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 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 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 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 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 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 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 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.
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.
Why we are using base64? Is it required by the javascript side? Please add a comment.
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.
I added a docstring explaining it