Skip to content

Commit 73c727b

Browse files
committed
QuakeML takeoffs are from downward
1 parent 11b0afb commit 73c727b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hashpy/io/obspyIO.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def outputOBSPY(hp, event=None, only_fm_picks=False):
131131
a.creation_info = CreationInfo(version=hp.arid[_i])
132132
a.resource_id = ResourceIdentifier('smi:nsl/Arrival/{0}'.format(p.creation_info.version))
133133
a.azimuth = hp.p_azi_mc[_i,0]
134-
a.takeoff_angle = hp.p_the_mc[_i,0]
134+
a.takeoff_angle = 180. - hp.p_the_mc[_i,0]
135135
a.pick_id = p.resource_id
136136
origin.arrivals.append(a)
137137
event.picks.append(p)

0 commit comments

Comments
 (0)