[INSTRM-1711] Allow LST evaluation to fail when making FITS time cards. Created: 22/Sep/22  Updated: 03/Dec/22

Status: Open
Project: Instrument control development
Component/s: ics_utils
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Normal
Reporter: cloomis Assignee: cloomis
Resolution: Unresolved Votes: 0
Labels: EngRun, FITS
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Story Points: 2

 Description   

This is yet another astropy IERS thing. astropy 4.0.2.

When the mcsActor gets the time cards from the ics.utils routines, we get a familiar astropy error: "(some) times are outside of range covered by IERS table.", but in an unfamiliar context.

Calling the same routines directly, as the same user on the same host (pfs-data@mcs), the timecards routines work fine:

In [1]: from ics.utils.fits import timecards
In [2]: import time
In [3]: tc = timecards.TimeCards()
In [4]: tc.end()
In [5]: tc.getCards()
[good stuff]

Not quite sure where the problem is. But we cannot lose the primary time cards when getting something as unimportant as LST. I propose to wrap the LST in an except and live without LST.

Maybe the astropy 5 in rubin3 will fix that, but we cannot test under the current circumstances.


Generated at Sat Feb 10 16:38:36 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.