-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Jun  5 04:20:28 2023 UTC
-- File 20230604_151942_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 12.048516 to 39.391861
-each separately from 12s to 39s and from 48516us to 729693us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      7.680599 in 1 packets: 18
      19.661879 in 1 packets: 36
MIU packet time from 2023-06-04T15:19:57.048.516.000 to 2023-06-04T15:20:24.391.861.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      7.680599 in 1 packets: 18
      19.661879 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 13.9253491 to 40.9252531
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      6.9999752 in 1 packets: 18
      19.9999288 in 1 packets: 36
Temperature FPGA: 
      02 -> 52.4 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      03 -> 51.1 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature XO: 
      C3 -> 40.4 degC in 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 packets (all packets)
Number of external events: 
      1 in 1 packets: 1
      2 in 53 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      1 in 1 packets: 1
      2 in 53 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20230604_151942_1227.dat, 3 SL data blocks found. Extra packets: 0.
--
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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 13.9738659 to 13.9741549
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.6805750  -- OK for SL --
   MIU time from 2023-06-04T15:19:57.048.516.000 to 2023-06-04T15:19:57.048.805.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.680599

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 21.6547299 to 21.6550189
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.6618070  -- OK for SL --
   MIU time from 2023-06-04T15:20:04.729.404.000 to 2023-06-04T15:20:04.729.693.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.661879

 - 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 41.3168259 to 41.3171149
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-04T15:20:24.391.572.000 to 2023-06-04T15:20:24.391.861.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 12, 32bit 10MHz counter = 13.973865900 corrected by 40bit 10MHz counter of 13.925349100 obtained at 1Hz counter of 12. Result: 12.048516975
--
   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.999996400 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2023-06-04T15:19:57.048.375.725
   Max 1st sample MIU time among all SL packets: 2023-06-04T15:20:24.391.720.725
   Min 1st sample XO time among all SL packets: 12.048376699
   Max 1st sample XO time among all SL packets: 39.391722935
   TM values from -252 to 194 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-04T15:19:57.048.375.725 (XO: 12.048376699 - 12.048682700, t=40.4 degC)  Rank: 00082
   TM values: Max =   192  Min =  -244  Ave =    -4.40  Std =    19.64
   Min TM value:-244 at an offset of 122.488 usec -> 2023-06-04T15:19:57.048.498.212 (XO: 12.048499187)
   Max TM value:192 at an offset of 125.138 usec -> 2023-06-04T15:19:57.048.500.862 (XO: 12.048501837)
   Max dTM/dt [1/us]:1.64e+03 at an offset of 124.963 usec -> 2023-06-04T15:19:57.048.500.687 (XO: 12.048501662)
   Min dTM/dt [1/us]:-2.04e+03 at an offset of 122.338 usec -> 2023-06-04T15:19:57.048.498.062 (XO: 12.048499037)

 - Block number: 2 starting at 2023-06-04T15:20:04.729.263.725 (XO: 19.729267950 - 19.729573951, t=40.4 degC)  Rank: 00079
   TM values: Max =   194  Min =  -245  Ave =    -4.44  Std =    19.34
   Min TM value:-245 at an offset of 123.600 usec -> 2023-06-04T15:20:04.729.387.325 (XO: 19.729391551)
   Max TM value:194 at an offset of 126.263 usec -> 2023-06-04T15:20:04.729.389.987 (XO: 19.729394213)
   Max dTM/dt [1/us]:1.65e+03 at an offset of 126.088 usec -> 2023-06-04T15:20:04.729.389.812 (XO: 19.729394038)
   Min dTM/dt [1/us]:-1.95e+03 at an offset of 123.463 usec -> 2023-06-04T15:20:04.729.387.187 (XO: 19.729391413)

 - Block number: 3 starting at 2023-06-04T15:20:24.391.431.725 (XO: 39.391433934 - 39.391739935, t=40.4 degC)  Rank: 00078
   TM values: Max =   186  Min =  -252  Ave =    -4.52  Std =    17.05
   Min TM value:-252 at an offset of 109.013 usec -> 2023-06-04T15:20:24.391.540.737 (XO: 39.391542947)
   Max TM value:186 at an offset of 108.738 usec -> 2023-06-04T15:20:24.391.540.462 (XO: 39.391542672)
   Max dTM/dt [1/us]:1.64e+03 at an offset of 111.475 usec -> 2023-06-04T15:20:24.391.543.200 (XO: 39.391545410)
   Min dTM/dt [1/us]:-1.95e+03 at an offset of 108.863 usec -> 2023-06-04T15:20:24.391.540.587 (XO: 39.391542797)
