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
Franco Mele
quality_map
Commits
3e2692b7
Commit
3e2692b7
authored
Jun 14, 2021
by
Franco Mele
Browse files
corretto un errore sull'assenza di un token
parent
faf7ff6f
Changes
2
Hide whitespace changes
Inline
Side-by-side
MEMO.txt
View file @
3e2692b7
IN DATA 3-nov-2020 per la REVISIONE:
chiedono di spostare le 3 legende nell'angolo in alto a destra.
Modifico make_qual2 in make_qual3
Per il bollettino del 2015 uso:
$ ./make_qual3 20150101_20151231_quality.txt file_2015.ps RdYlBu_10.cpt
IN DATA 3-nov-2020 per la REVISIONE:
chiedono di spostare le 3 legende nell'angolo in alto a destra.
Modifico make_qual2 in make_qual3
Per il bollettino del 2015 uso:
$ ./make_qual3 20150101_20151231_quality.txt file_2015.ps RdYlBu_10.cpt
quality_eqks.py
View file @
3e2692b7
...
...
@@ -203,12 +203,17 @@ def main():
print
(
"NULL"
)
deperr
=
5.0
if
(
event
[
"origin"
][
"originUncertainty"
].
get
(
"horizontalUncertainty"
)):
errh
=
float
(
event
[
"origin"
][
"originUncertainty"
][
"horizontalUncertainty"
])
/
1000.0
# da metri a km
print
(
"horiz. uncert: "
,
errh
)
if
(
event
[
"origin"
].
get
(
"originUncertainty"
)):
if
(
event
[
"origin"
][
"originUncertainty"
].
get
(
"horizontalUncertainty"
)):
errh
=
float
(
event
[
"origin"
][
"originUncertainty"
][
"horizontalUncertainty"
])
/
1000.0
# da metri a km
print
(
"horiz. uncert: "
,
errh
)
else
:
print
(
"NULL"
)
errh
=
5.0
else
:
print
(
"NULL"
)
errh
=
5.0
errh
=
5.0
if
(
event
[
"origin"
][
"quality"
].
get
(
"usedStationCount"
)):
usedsta
=
float
(
event
[
"origin"
][
"quality"
][
"usedStationCount"
])
...
...
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