[INSTRM-640] values following nan are not reported in FITS header Created: 29/Mar/19 Updated: 30/Mar/19 Resolved: 30/Mar/19 |
|
| Status: | Done |
| Project: | Instrument control development |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Normal |
| Reporter: | arnaud.lefur | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
We have temperature sensors which are not currently connected Those values are assigned to nan. temps1=11.301,10.693,10.742,nan,nan,9.984,10.058,10.071,9.878,9.992 It appears that all values starting from the nan are not correctly reported in the header. |
| Comments |
| Comment by cloomis [ 30/Mar/19 ] |
|
Per the logged error below, something in the actor keys layer is turning "nan" into "Invalid", which of course does not convert. In any case, the individual keyword field conversions should be done in try: except blocks. ccd_r1/2019-03-29T13:54:39.log:2019-03-29 15:02:27.664Z cmds 20 CommandLink.py:121 > 2 13 w text="FAILED to generate FITS cards for temps1: float() argument must be a string or a number, not 'Invalid'" |
| Comment by cloomis [ 30/Mar/19 ] |
|
tron_actorcore merged at 03dd478, tagged 2.0.2 Note that this reminds that we want INSTRM-331 (get rid of pyfits) and |