-- ERROR --
-----------------> BLESK ver.2021-02-27 run on Fri Mar 10 10:09:10 2023 UTC
-- File 20220531_120158_1227.dat, 109  packets found.
APID:
      1227 (SL) in 109 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 109 packets (all packets)
Total number of packets: 
      18 in 109 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
!!!ERROR: Last packet number must be = 18
Hz and MHz counters from 10.987032 to 93.637270
-each separately from 10s to 93s and from 37401us to 987321us.
   Differences in neigboring packets: 
      0.000017 in 102 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      18.955361 in 1 packets: 18
      5.778355 in 1 packets: 36
      16.315786 in 1 packets: 54
      12.656488 in 1 packets: 72
      23.674018 in 1 packets: 90
      5.268496 in 1 packets: 108
MIU packet time from 2022-05-31T12:02:11.987.032.000 to 2022-05-31T12:03:34.637.270.000
   Differences in neigboring packets: 
      0.000017 in 102 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      18.955361 in 1 packets: 18
      5.778355 in 1 packets: 36
      16.315786 in 1 packets: 54
      12.656488 in 1 packets: 72
      23.674018 in 1 packets: 90
      5.268496 in 1 packets: 108
MIU orbit number: 
      60000 in 109 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 109 packets (all packets)
MIU orbit information / number of events: 
      0 in 109 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 109 packets (all packets)
Instrument anomalies: 
      0 (OK) in 109 packets (all packets)
FPGA configuration version: 
      211 in 109 packets (all packets)
10 MHz counter at the last 1Hz pulse from 12.2520115 to 95.2517262
   Differences in neigboring packets: 
      0.0000000 in 102 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      18.9999346 in 1 packets: 18
      5.9999794 in 1 packets: 36
      16.9999417 in 1 packets: 54
      11.9999588 in 1 packets: 72
      23.9999174 in 1 packets: 90
      4.9999828 in 1 packets: 108
Temperature FPGA: 
      00 -> 55.0 degC in 55 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      01 -> 53.7 degC in 54 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, ...
Temperature XO: 
      C4 -> 42.0 degC in 109 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 109 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 109 packets (all packets)
Number of external events: 
      0 in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      1 in 1 packets: 19
      2 in 90 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Number of generated alerts: 
      0 in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      1 in 1 packets: 19
      2 in 90 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Survey memory error: 
      0 in 109 packets (all packets)
Event memory error: 
      0 in 109 packets (all packets)
Configuration error: 
      0 in 109 packets (all packets)
SDRAM CRC error: 
      0 in 109 packets (all packets)
Radio gain: 
      0 in 109 packets (all packets)
Radio bandwidth: 
      0 in 109 packets (all packets)
Digital gain: 
      0 in 109 packets (all packets)
Analog gain: 
      0 in 109 packets (all packets)
 
SURVEY DATA READER
-- File 20220531_120158_1227.dat, 6 SL data blocks found. Extra packets: 1.
   ERROR -  Extra packets
--
Data structure of blocks of survey data packets:

 - Block number: 1 from the sequence of 18 packets.
   Block numbers in the data:
      1 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 13.2390455 to 13.2393345
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.9552950  -- OK for SL --
   MIU time from 2022-05-31T12:02:11.987.032.000 to 2022-05-31T12:02:11.987.321.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.955361

 - Block number: 2 from the sequence of 18 packets.
   Block numbers in the data:
      2 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.1946295 to 32.1949185
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.7783350  -- OK for SL --
   MIU time from 2022-05-31T12:02:30.942.682.000 to 2022-05-31T12:02:30.942.971.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.778355

 - Block number: 3 from the sequence of 18 packets.
   Block numbers in the data:
      3 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 37.9732535 to 37.9735425
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.3157270  -- OK for SL --
   MIU time from 2022-05-31T12:02:36.721.326.000 to 2022-05-31T12:02:36.721.615.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.315786

 - Block number: 4 from the sequence of 18 packets.
   Block numbers in the data:
      4 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 54.2892695 to 54.2895585
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.6564470  -- OK for SL --
   MIU time from 2022-05-31T12:02:53.037.401.000 to 2022-05-31T12:02:53.037.690.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.656488

 - Block number: 5 from the sequence of 18 packets.
   Block numbers in the data:
      5 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 66.9460055 to 66.9462945
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.6739350  -- OK for SL --
   MIU time from 2022-05-31T12:03:05.694.178.000 to 2022-05-31T12:03:05.694.467.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.674018

 - Block number: 6 from the sequence of 18 packets.
   Block numbers in the data:
      6 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 90.6202295 to 90.6205185
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-05-31T12:03:29.368.485.000 to 2022-05-31T12:03:29.368.774.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 108 points based on 104 XO calibration points at 1Hz counter from 0 to 103
   --- First point: 1Hz counter = 10, 32bit 10MHz counter = 13.239045500 corrected by 40bit 10MHz counter of 12.252011500 obtained at 1Hz counter of 10. Result: 10.987037455
--
   MIU or XO time of the 1st SL sample = header (MIU or corrected XO) time +offset(if negative) - 275 ns delay
   Samplig frequency correction factor in all SL packets: 0.999996500 - 0.999996600
   Min 1st sample MIU time among all SL packets: 2022-05-31T12:02:11.986.891.725
   Max 1st sample MIU time among all SL packets: 2022-05-31T12:03:29.368.633.725
   Min 1st sample XO time among all SL packets: 10.986897179
   Max 1st sample XO time among all SL packets: 88.368636115
   TM values from -249 to 233 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-05-31T12:02:11.986.891.725 (XO: 10.986897179 - 10.987203180, t=42.0 degC)  Rank: 00077
   TM values: Max =   224  Min =  -249  Ave =    -4.29  Std =    29.25
   Min TM value:-249 at an offset of 193.313 usec -> 2022-05-31T12:02:11.987.085.038 (XO: 10.987090492)
   Max TM value:224 at an offset of 195.713 usec -> 2022-05-31T12:02:11.987.087.438 (XO: 10.987092892)
   Max dTM/dt [1/us]:2.20e+03 at an offset of 195.576 usec -> 2022-05-31T12:02:11.987.087.300 (XO: 10.987092755)
   Min dTM/dt [1/us]:-2.02e+03 at an offset of 124.413 usec -> 2022-05-31T12:02:11.987.016.137 (XO: 10.987021592)

 - Block number: 2 starting at 2022-05-31T12:02:30.942.541.725 (XO: 29.942546330 - 29.942852331, t=42.0 degC)  Rank: 00084
   TM values: Max =   189  Min =  -225  Ave =    -4.26  Std =    24.59
   Min TM value:-225 at an offset of 122.450 usec -> 2022-05-31T12:02:30.942.664.175 (XO: 29.942668780)
   Max TM value:189 at an offset of 124.800 usec -> 2022-05-31T12:02:30.942.666.525 (XO: 29.942671130)
   Max dTM/dt [1/us]:2.01e+03 at an offset of 124.688 usec -> 2022-05-31T12:02:30.942.666.412 (XO: 29.942671018)
   Min dTM/dt [1/us]:-1.95e+03 at an offset of 138.738 usec -> 2022-05-31T12:02:30.942.680.462 (XO: 29.942685068)

 - Block number: 3 starting at 2022-05-31T12:02:36.721.185.725 (XO: 35.721190177 - 35.721496178, t=42.0 degC)  Rank: 00078
   TM values: Max =   209  Min =  -237  Ave =    -4.37  Std =    26.34
   Min TM value:-237 at an offset of 109.625 usec -> 2022-05-31T12:02:36.721.295.350 (XO: 35.721299802)
   Max TM value:209 at an offset of 111.988 usec -> 2022-05-31T12:02:36.721.297.712 (XO: 35.721302165)
   Max dTM/dt [1/us]:2.00e+03 at an offset of 141.113 usec -> 2022-05-31T12:02:36.721.326.837 (XO: 35.721331290)
   Min dTM/dt [1/us]:-1.78e+03 at an offset of 126.413 usec -> 2022-05-31T12:02:36.721.312.137 (XO: 35.721316590)

 - Block number: 4 starting at 2022-05-31T12:02:53.037.260.725 (XO: 52.037262152 - 52.037568153, t=42.0 degC)  Rank: 00076
   TM values: Max =   195  Min =  -223  Ave =    -4.33  Std =    24.65
   Min TM value:-223 at an offset of 125.388 usec -> 2022-05-31T12:02:53.037.386.112 (XO: 52.037387540)
   Max TM value:195 at an offset of 113.963 usec -> 2022-05-31T12:02:53.037.374.687 (XO: 52.037376115)
   Max dTM/dt [1/us]:2.06e+03 at an offset of 139.463 usec -> 2022-05-31T12:02:53.037.400.187 (XO: 52.037401615)
   Min dTM/dt [1/us]:-1.92e+03 at an offset of 125.275 usec -> 2022-05-31T12:02:53.037.386.000 (XO: 52.037387427)

 - Block number: 5 starting at 2022-05-31T12:03:05.694.037.725 (XO: 64.694041585 - 64.694347586, t=42.0 degC)  Rank: 00078
   TM values: Max =   233  Min =  -245  Ave =    -4.27  Std =    22.47
   Min TM value:-245 at an offset of 181.163 usec -> 2022-05-31T12:03:05.694.218.888 (XO: 64.694222748)
   Max TM value:233 at an offset of 180.876 usec -> 2022-05-31T12:03:05.694.218.600 (XO: 64.694222460)
   Max dTM/dt [1/us]:1.92e+03 at an offset of 113.213 usec -> 2022-05-31T12:03:05.694.150.937 (XO: 64.694154798)
   Min dTM/dt [1/us]:-2.12e+03 at an offset of 180.963 usec -> 2022-05-31T12:03:05.694.218.688 (XO: 64.694222548)

 - Block number: 6 starting at 2022-05-31T12:03:29.368.344.725 (XO: 88.368347114 - 88.368653115, t=42.0 degC)  Rank: 00076
   TM values: Max =   199  Min =  -208  Ave =    -4.39  Std =    24.72
   Min TM value:-208 at an offset of 125.163 usec -> 2022-05-31T12:03:29.368.469.887 (XO: 88.368472277)
   Max TM value:199 at an offset of 124.900 usec -> 2022-05-31T12:03:29.368.469.625 (XO: 88.368472015)
   Max dTM/dt [1/us]:1.55e+03 at an offset of 79.525 usec -> 2022-05-31T12:03:29.368.424.250 (XO: 88.368426639)
   Min dTM/dt [1/us]:-2.13e+03 at an offset of 125.038 usec -> 2022-05-31T12:03:29.368.469.762 (XO: 88.368472152)
