Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Graeme Weatherill
shakyground2
Commits
64b0f26a
Commit
64b0f26a
authored
Dec 17, 2021
by
g-weatherill
Browse files
Merge branch 'master' into bug/oq_change_dec2021
parents
080f1673
c585c5a4
Pipeline
#36342
failed with stage
in 6 minutes and 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
shakyground2/workflows.py
View file @
64b0f26a
...
...
@@ -258,7 +258,8 @@ def shakemaps_from_quakeml(
"maximum"
:
np
.
exp
(
np
.
max
(
mean_shakemaps
[
imt
])),
"median"
:
np
.
exp
(
np
.
mean
(
mean_shakemaps
[
imt
])),
"minimum"
:
np
.
exp
(
np
.
min
(
mean_shakemaps
[
imt
])),
"IQR"
:
stats
.
iqr
(
mean_shakemaps
[
imt
]),
"IQR"
:
np
.
exp
(
np
.
quantile
(
mean_shakemaps
[
imt
],
0.75
))
-
np
.
exp
(
np
.
quantile
(
mean_shakemaps
[
imt
],
0.25
)),
}
if
export_folder
:
filestem
=
"{:s}_{:s}"
.
format
(
results
.
earthquake
.
id
,
imt
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment