satellogic / orbit-predictor

Python library to propagate satellite orbits.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow the user to specify Sun-sync position within plane

astrojuanlu opened this issue · comments

Right now the true anomaly is always set to zero for sun synchronous orbits, and there is no way to change the epoch of the orbit or the location:

# TODO: Allow change in time or location
epoch = dt.datetime(date.year, date.month, date.day, *float_to_hms(ltan_h),
tzinfo=dt.timezone.utc)
raan = raan_from_ltan(epoch, ltan_h)

return cls(sma, ecc, inc_deg, raan, 0, 0, epoch)

Requested by @spiccinini

In progress in #42