Closed taldcroft closed 1 year ago
@jeanconn - title fixed. As for Replan Central, we have indirect confirmation now since the regular processing (current release) ran today and the orbit events from OCT0322 got included in the same way as shown for this PR. At this time Replan Central is showing rad zones.
This is from flight processing:
2022-10-04 05:03:31,438 Located TLR file /proj/sot/ska3/flight/data/mpcrit1/mplogs/2022/OCT0322/oflsa/CR276_0801.tlr
2022-10-04 05:03:31,460 Getting points from /proj/sot/ska3/flight/data/mpcrit1/mplogs/2022/SEP1222/oflsa/CR255_0503.tlr
2022-10-04 05:03:31,538 Getting points from /proj/sot/ska3/flight/data/mpcrit1/mplogs/2022/SEP1922/oflsa/CR261_2101.tlr
2022-10-04 05:03:31,644 Getting points from /proj/sot/ska3/flight/data/mpcrit1/mplogs/2022/SEP2622/oflsa/CR269_0301.tlr
2022-10-04 05:03:31,713 Getting points from /proj/sot/ska3/flight/data/mpcrit1/mplogs/2022/SEP2622/oflsb/CR269_0305.tlr
2022-10-04 05:03:31,793 Getting points from /proj/sot/ska3/flight/data/mpcrit1/mplogs/2022/OCT0322/oflsa/CR276_0801.tlr
2022-10-04 05:03:31,868 Adding 11 new orbit points
2022-10-04 05:03:31,868 Skipping orbit 3190 incomplete
2022-10-04 05:03:31,869 get_orbits: Adding orbit 3191 2022:255:09:07:13.064 2022:258:00:34:13.662
2022-10-04 05:03:31,869 get_orbits: Adding orbit 3192 2022:258:00:34:13.662 2022:260:16:01:41.492
2022-10-04 05:03:31,869 get_orbits: Adding orbit 3193 2022:260:16:01:41.492 2022:263:07:29:33.516
2022-10-04 05:03:31,870 get_orbits: Adding orbit 3194 2022:263:07:29:33.516 2022:265:22:57:42.641
2022-10-04 05:03:31,870 get_orbits: Adding orbit 3195 2022:265:22:57:42.641 2022:268:14:25:42.532
2022-10-04 05:03:31,870 get_orbits: Adding orbit 3196 2022:268:14:25:42.532 2022:271:05:52:53.261
2022-10-04 05:03:31,871 get_orbits: Adding orbit 3197 2022:271:05:52:53.261 2022:273:21:19:04.798
2022-10-04 05:03:31,871 get_orbits: Adding orbit 3198 2022:273:21:19:04.798 2022:276:12:45:01.612
2022-10-04 05:03:31,871 get_orbits: Adding orbit 3199 2022:276:12:45:01.612 2022:279:04:11:20.835
2022-10-04 05:03:31,872 get_orbits: Adding orbit 3200 2022:279:04:11:20.835 2022:281:19:37:52.596
2022-10-04 05:03:31,872 Skipping orbit 3201 incomplete
2022-10-04 05:03:31,901 Added Orbit 3198 2022:273:21:19:04 dur=228.4 radzone=-14.0 to 26.5 ksec
2022-10-04 05:03:31,944 Added Orbit 3199 2022:276:12:45:01 dur=228.4 radzone=-18.1 to 27.8 ksec
2022-10-04 05:03:31,956 Added Orbit 3200 2022:279:04:11:20 dur=228.4 radzone=-21.4 to 24.9 ksec
Description
This fixes the problem with rad zones not showing up in Replan Central. The
Orbit
class which generatesrad_zones
was only accepting events up to the present. There might have been some issue with filtering the load date relative to the current time, so possibly the rad zones will start showing up on Tuesday.In any case this fix makes
Orbit
look ahead to any loads that are in the SOT MP area.Interface impacts
Testing
Unit tests
cmds2.*
)Independent check of unit tests by Jean
Functional tests
On kady from the git directory: