Skip to content

Commit

Permalink
Generalised the added SINEX functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Cloud User committed Jul 8, 2024
1 parent ffe59fa commit f7e147c
Show file tree
Hide file tree
Showing 3 changed files with 673 additions and 477 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 f7e147c

Please sign in to comment.