Skip to content

Commit

Permalink
Merge pull request #152 from GeoscienceAustralia/AD/add_more_sinex_fu…
Browse files Browse the repository at this point in the history
…nctions

Adding more SINEX operations
  • Loading branch information
harry093 authored Aug 9, 2024
2 parents e4d1f21 + f7e147c commit 026735e
Show file tree
Hide file tree
Showing 3 changed files with 550 additions and 24 deletions.
2 changes: 1 addition & 1 deletion geodepy/angles.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ def __init__(self, degree, minute=0, second=0.0):
"""
# Convert formatted string 'DDD MM SS.SSS' to DMSAngle
if type(degree) == str:
str_pts = degree.split(' ')
str_pts = degree.split()
degree = int(str_pts[0])
minute = int(str_pts[1])
second = float(str_pts[2])
Expand Down
9 changes: 9 additions & 0 deletions geodepy/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,15 @@ class parameters.
# the transformation object to allow compatibility with GeodePy functions.
# Ref: https://itrf.ign.fr/docs/solutions/itrf2020/Transfo-ITRF2020_TRFs.txt

itrf2020_to_itrf2014_vel = iers2trans(
itrf_from='ITRF2020', itrf_to='ITRF2014', ref_epoch=date(2015, 1, 1),
tx=0.0, ty=-0.1, tz=0.2,
sc=-0.42,
rx=0.0, ry=0.0, rz=0.0,
d_tx=0.0, d_ty=0.0, d_tz=0.0,
d_sc=0.0,
d_rx=0.0, d_ry=0.0, d_rz=0.0)

itrf2020_to_itrf2014 = iers2trans(
itrf_from='ITRF2020', itrf_to='ITRF2014', ref_epoch=date(2015, 1, 1),
tx=-1.4, ty=-0.9, tz=1.4,
Expand Down
Loading

0 comments on commit 026735e

Please sign in to comment.