-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Jul  7 23:48:29 2023 UTC
-- File 20230628_224457_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 0.843497 to 37.637505
-each separately from 0s to 37s and from 637216us to 845663us.
   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, ...
      19.001588 in 1 packets: 18
      17.791553 in 1 packets: 36
MIU packet time from 2023-06-28T22:45:00.843.497.000 to 2023-06-28T22:45:37.637.505.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, ...
      19.001588 in 1 packets: 18
      17.791553 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 1.8092524 to 38.8091174
   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, ...
      18.9999307 in 1 packets: 18
      17.9999343 in 1 packets: 36
Temperature FPGA: 
      04 -> 49.8 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature XO: 
      C1 -> 37.2 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: 
      0 in 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Number of generated alerts: 
      0 in 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 20230628_224457_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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 2.6527498 to 2.6530388
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.0015190  -- OK for SL --
   MIU time from 2023-06-28T22:45:00.843.497.000 to 2023-06-28T22:45:00.843.786.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.001588

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 21.6545578 to 21.6548468
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.7914870  -- OK for SL --
   MIU time from 2023-06-28T22:45:19.845.374.000 to 2023-06-28T22:45:19.845.663.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.791553

 - 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:
      86 in 18 packets (all packets)  -- OK --
   10 MHz counter from 39.4463338 to 39.4466228
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-28T22:45:37.637.216.000 to 2023-06-28T22:45:37.637.505.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 = 0, 32bit 10MHz counter = 2.652749800 corrected by 40bit 10MHz counter of 1.809252400 obtained at 1Hz counter of 0. Result: 0.843500437
--
   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-28T22:45:00.843.356.725
   Max 1st sample MIU time among all SL packets: 2023-06-28T22:45:37.637.364.725
   Min 1st sample XO time among all SL packets: 0.843360161
   Max 1st sample XO time among all SL packets: 37.637367420
   TM values from -266 to 243 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-28T22:45:00.843.356.725 (XO: 0.843360161 - 0.843666162, t=37.2 degC)  Rank: 00078
   TM values: Max =   203  Min =  -233  Ave =    -4.62  Std =    18.39
   Min TM value:-233 at an offset of 106.775 usec -> 2023-06-28T22:45:00.843.463.500 (XO: 0.843466936)
   Max TM value:203 at an offset of 104.000 usec -> 2023-06-28T22:45:00.843.460.725 (XO: 0.843464161)
   Max dTM/dt [1/us]:2.03e+03 at an offset of 106.863 usec -> 2023-06-28T22:45:00.843.463.587 (XO: 0.843467024)
   Min dTM/dt [1/us]:-2.21e+03 at an offset of 104.138 usec -> 2023-06-28T22:45:00.843.460.862 (XO: 0.843464299)

 - Block number: 2 starting at 2023-06-28T22:45:19.845.233.725 (XO: 19.845237468 - 19.845543469, t=37.2 degC)  Rank: 00077
   TM values: Max =   235  Min =  -264  Ave =    -4.59  Std =    22.29
   Min TM value:-264 at an offset of 130.775 usec -> 2023-06-28T22:45:19.845.364.500 (XO: 19.845368243)
   Max TM value:235 at an offset of 118.563 usec -> 2023-06-28T22:45:19.845.352.287 (XO: 19.845356031)
   Max dTM/dt [1/us]:1.70e+03 at an offset of 133.263 usec -> 2023-06-28T22:45:19.845.366.987 (XO: 19.845370731)
   Min dTM/dt [1/us]:-2.27e+03 at an offset of 130.600 usec -> 2023-06-28T22:45:19.845.364.325 (XO: 19.845368068)

 - Block number: 3 starting at 2023-06-28T22:45:37.637.075.725 (XO: 37.637078418 - 37.637384420, t=37.2 degC)  Rank: 00086
   TM values: Max =   243  Min =  -266  Ave =    -4.62  Std =    22.06
   Min TM value:-266 at an offset of 115.388 usec -> 2023-06-28T22:45:37.637.191.112 (XO: 37.637193806)
   Max TM value:243 at an offset of 102.550 usec -> 2023-06-28T22:45:37.637.178.275 (XO: 37.637180969)
   Max dTM/dt [1/us]:2.05e+03 at an offset of 117.963 usec -> 2023-06-28T22:45:37.637.193.687 (XO: 37.637196381)
   Min dTM/dt [1/us]:-2.34e+03 at an offset of 102.675 usec -> 2023-06-28T22:45:37.637.178.400 (XO: 37.637181094)
