solo-spice / sospice

Python data analysis tools for the SPICE extreme-UV spectrometer on Solar Orbiter
BSD 3-Clause "New" or "Revised" License
12 stars 5 forks source link

Take into account accurate times in FOV plotting #41

Open ebuchlin opened 7 months ago

ebuchlin commented 7 months ago

The observer for each FOV plot is taken at the mid-time of the observation (see FileMetadata.get_observer(), but the delay between this reference time and the actual time of each exposure can be quite large.

This delay should be taken into account, for the left and right edges of the FOV (last and first slit positions), and in principle also for each point on the top and bottom boundaries. However, one needs to be careful to interpret the WCS headers correctly, especially what they mean in case target locking (following solar rotation) is activated.

ebuchlin commented 6 months ago

This concerns 1 observation; there would be the same issue when plotting the FOVs for several observations over a long duration.

ebuchlin commented 6 months ago

Maybe use SunPy's propagate_with_solar_surface context manager.