Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement SGDP4_NEAR_SIMP propagation #124

Merged
merged 1 commit into from
Nov 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions pyorbital/orbital.py
Original file line number Diff line number Diff line change
Expand Up @@ -794,8 +794,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