obspy.io.sac.sactrace.SACTrace._set_distances

SACTrace._set_distances(force=False)[source]

Calculate dist, az, baz, gcarc. If force=True, ignore lcalda. Raises SacHeaderError if force=True and geographic headers are unset.