Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Shakemap
shakyground2
Commits
c585c5a4
Commit
c585c5a4
authored
Dec 13, 2021
by
Nils Brinckmann
Committed by
Graeme Weatherill
Dec 13, 2021
Browse files
Compute IQR more manual
parent
5e6359a6
Pipeline
#36141
failed with stage
in 13 minutes and 26 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
shakyground2/workflows.py
View file @
c585c5a4
...
...
@@ -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
.
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