Skip to content

Commit

Permalink
Merge pull request #124 from JonathanMaes/main
Browse files Browse the repository at this point in the history
Implement SGDP4_NEAR_SIMP propagation
  • Loading branch information
pnuu authored Nov 28, 2024
2 parents 1e651fb + 9d7d68f commit a138792
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pyorbital/orbital.py
Original file line number Diff line number Diff line change
Expand Up @@ -807,8 +807,12 @@ def propagate(self, utc_time):
if self.mode == SGDP4_ZERO_ECC:
raise NotImplementedError("Mode SGDP4_ZERO_ECC not implemented")
elif self.mode == SGDP4_NEAR_SIMP:
raise NotImplementedError('Mode "Near-space, simplified equations"'
' not implemented')
tempa = 1.0 - ts * self.c1
tempe = self.bstar * ts * self.c4
templ = ts * ts * self.t2cof
a = self.aodp * tempa * tempa
e = em - tempe
xl = xmp + omega + xnode + self.xnodp * templ
elif self.mode == SGDP4_NEAR_NORM:
delm = self.xmcof * \
((1.0 + self.eta * np.cos(xmp))**3 - self.delmo)
Expand Down

0 comments on commit a138792

Please sign in to comment.