Skip to content
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

fix horizontal errors read from hyp2000 (conversion to m was missing) #48

Merged
merged 1 commit into from
Mar 21, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ master
(by default "alt" key, see #45)
- fix station metadata output in hypo71 format (for location routines)
for longitude <0 (see #47)
- fix horizontal errors read after hyp2000 location (conversion from km to m
was missing, see #48)

0.4.1
- fix minor bug that prevents 0.4.0 from running
Expand Down
3 changes: 2 additions & 1 deletion obspyck/obspyck.py
Original file line number Diff line number Diff line change
Expand Up @@ -2566,7 +2566,8 @@ def loadHyp2000Data(self):
o.longitude = lon
o.latitude = lat
o.depth = depth * (-1e3) # meters positive down!
ou.horizontal_uncertainty = errXY
# all errors are given in km!
ou.horizontal_uncertainty = errXY * 1e3
ou.preferred_description = "horizontal uncertainty"
o.depth_errors.uncertainty = errZ * 1e3
oq.standard_error = rms #XXX stimmt diese Zuordnung!!!?!
Expand Down