Some new errors found when converting NR/M NDA files
NDA observations have been converted to fits from 2022 to 2013. Here is a summary of the new errors found when converting NR/M files to Fits going back the years to 2013. These are mainly errors with respect to the expected format of the pointing file.
Following these errors during the reading of the pointing file, a certain number of observationss (roughly about 200) were not converted.
These errors affect one or more pointing lines, but as soon as the first error is found, an exception is raised and the script moves on to the next day's observations. One possibility would be, in the event of an error on a pointing line, to go to the next pointing line when reading the pointing file (P*.log). Errors usually only affect a few pointing lines.
Do you think this is a possible alternative?
Here is a summary of the errors encountered:
- An index column added at the end of the pointing line
S 08:03:48.023 06171020 000 117 1 3 4 2 3 OF 75060717 000 117 1 3 4 2 3 OF 028 INDEX 0
- One or more spaces instead of just one:
S 12:37:46.008 06172031 080 111 1 4 4 4 4 OF 75061720 080 111 1 4 4 4 4 OF 152
S 12:39:46.008 06172031 080 11 1 1 4 4 4 4 OF 75061720 080 111 1 4 4 4 4 OF 153
S 12:40:16.009 06172031 081 111 1 4 4 4 4 OF 75061720 081 111 1 4 4 4 4 OF 153
- One or more manual commands (M) that appear in the pointing sequence
S 09:44:55.008 04625037 025 157 1 4 4 4 4 OF 73514726 025 157 1 4 4 4 4 OF 069
M 09:45:11.118 AAAAAAAA 063 064 4 3 3 3 3 OF AAAAAAAA 063 064 4 3 3 3 3 OF 127
S 09:45:15.008 04625037 025 156 1 4 4 4 4 OF 73514726 025 156 1 4 4 4 4 OF 069
- One or more Z commands (????) that appear in the pointing sequence.
J 00:45:28.003 04634137 127 182 2 1 4 1 1 OF 73523026 127 182 2 1 4 1 1 OF 227
D 00:45:59.003 00335500 063 064 4 3 3 3 3 OF 77224477 063 064 4 3 3 3 3 OF 127
Z 03:06:16.004 05061616 106 255 2 3 3 3 3 OF 74750505 106 255 2 3 3 3 3 OF 191 # az=326° el=19° ha= 123.98° dec= 50.386°
Z 03:07:16.004 05061616 103 255 2 3 3 3 3 OF 74750505 103 255 2 3 3 3 3 OF 187 # az=328° el=23° ha= 122.425° dec= 54.698°
- Small sequence at the beginning of the file with an unexpected 1st character
- hh:mm:ss.ccc phase_rd rew rns f f f f f at phase_rg rew rns f f f f f at rir
N 06:00:00.004 03501461 011 226 3 3 4 3 3 00 72470350 011 226 3 3 4 3 3 00 049 250
Y 06:00:00.254 03501461 011 226 3 3 4 3 3 10 72470350 011 226 3 3 4 3 3 10 049 250
P 06:00:00.504 03501461 011 226 3 3 4 3 3 30 72470350 011 226 3 3 4 3 3 30 049 250
N 07:00:00.010 00335500 063 064 4 3 3 3 3 OF 77224477 063 064 4 3 3 3 3 OF 127 250
O 07:00:00.260 00335500 063 064 4 3 3 3 3 OF 77224477 063 064 4 3 3 3 3 OF 127 250
P 07:00:00.510 00335500 063 064 4 3 3 3 3 OF 77224477 063 064 4 3 3 3 3 OF 127 250
S 07:51:33.010 07643210 000 166 1 4 2 2 3 OF 76532107 000 166 1 4 2 2 3 OF 025
S 07:51:43.011 07644210 000 165 1 4 2 2 3 30 76533107 000 165 1 4 2 2 3 30 025