Closed ksd3 closed 7 months ago
Hi @ksd3,
asilib works with propagated geodetic ephemeris, so you'll have to run SGP4 on the TLEs, and pass that into the asilib.Conjunction()
class. The skyfield's TLE propagator is probably the easiest approach, with another one being the python implementation of the SGP4 algorithm.
If you want to add another panel to the plot, you can change the plt.subplots()
line to:
fig, ax = plt.subplots(
4, 1, figsize=(7, 10), gridspec_kw={'height_ratios': [4, 1, 1, 1]}, constrained_layout=True
)
And you are correct, the asilib.Conjunction().interp_sat()
interpolates the satellite's coordinates to the imager time stamps (at a three second cadence for the imager arrays currently supported by asilib).
Two-line element data of scientific satellites are often published online and users can derive LLA positions as functions of time of the satellites based on this information. If I want to plot the trajectory of a satellite and the custom data it records on an ASI image, how would I go about doing this? In the example given,
there does not seem to be a convenient way to include an extra subplot. Trying to arbitrarily insert ax[3] leads to indexing errors and the code for the fisheye animation generator shows that ax.plots is set to None by default. Is there a way for a user to insert custom data? I've been doing it by replacing the plotted
area_intensity
with my own data, but that requires using functions likenp.tile
in order to ensure that my data is in the correct form.Is there a better way to do it?
For custom satellite data: I have been downsampling my satellite trajectory (LLA coords) and passing it to asilib.Conjunction, but I would like to know what the intended usage of interp_sat() is. Is it intended for use on position data where the original data is sampled at an extremely high rate? Of course, there are inaccuracies, but I want to know if asilib has an inbuilt method to handle this. However this is not a huge problem.