-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Mar  6 22:35:25 2022 UTC
-- File 20220207_234903_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 3.414529 to 35.543876
-each separately from 3s to 35s and from 414529us to 624402us.
   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, ...
      18.209295 in 1 packets: 18
      13.919185 in 1 packets: 36
MIU packet time from 2022-02-07T23:49:09.414.529.000 to 2022-02-07T23:49:41.543.876.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, ...
      18.209295 in 1 packets: 18
      13.919185 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 4.7989816 to 36.7988680
   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, ...
      17.9999362 in 1 packets: 18
      13.9999502 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      04 -> 49.8 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 20220207_234903_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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 5.2135112 to 5.2138002
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.2092310  -- OK for SL --
   MIU time from 2022-02-07T23:49:09.414.529.000 to 2022-02-07T23:49:09.414.818.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.209295

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 23.4230312 to 23.4233202
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.9191350  -- OK for SL --
   MIU time from 2022-02-07T23:49:27.624.113.000 to 2022-02-07T23:49:27.624.402.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.919185

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 37.3424552 to 37.3427442
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-02-07T23:49:41.543.587.000 to 2022-02-07T23:49:41.543.876.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 = 3, 32bit 10MHz counter = 5.213511200 corrected by 40bit 10MHz counter of 4.798981600 obtained at 1Hz counter of 3. Result: 3.414531051
--
   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.999996500
   Min 1st sample MIU time among all SL packets: 2022-02-07T23:49:09.414.388.725
   Max 1st sample MIU time among all SL packets: 2022-02-07T23:49:41.543.735.725
   Min 1st sample XO time among all SL packets: 3.414390775
   Max 1st sample XO time among all SL packets: 35.543737882
   TM values from -282 to 245 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-02-07T23:49:09.414.388.725 (XO: 3.414390775 - 3.414696776, t=37.2 degC)  Rank: 00080
   TM values: Max =   243  Min =  -282  Ave =    -4.36  Std =    24.78
   Min TM value:-282 at an offset of 109.988 usec -> 2022-02-07T23:49:09.414.498.712 (XO: 3.414500763)
   Max TM value:243 at an offset of 110.238 usec -> 2022-02-07T23:49:09.414.498.962 (XO: 3.414501013)
   Max dTM/dt [1/us]:2.43e+03 at an offset of 105.638 usec -> 2022-02-07T23:49:09.414.494.362 (XO: 3.414496413)
   Min dTM/dt [1/us]:-2.51e+03 at an offset of 107.688 usec -> 2022-02-07T23:49:09.414.496.412 (XO: 3.414498463)

 - Block number: 2 starting at 2022-02-07T23:49:27.623.972.725 (XO: 21.623975371 - 21.624281372, t=37.2 degC)  Rank: 00080
   TM values: Max =   245  Min =  -282  Ave =    -4.54  Std =    24.21
   Min TM value:-282 at an offset of 117.475 usec -> 2022-02-07T23:49:27.624.090.200 (XO: 21.624092847)
   Max TM value:245 at an offset of 115.013 usec -> 2022-02-07T23:49:27.624.087.737 (XO: 21.624090384)
   Max dTM/dt [1/us]:2.55e+03 at an offset of 117.600 usec -> 2022-02-07T23:49:27.624.090.325 (XO: 21.624092972)
   Min dTM/dt [1/us]:-2.53e+03 at an offset of 115.113 usec -> 2022-02-07T23:49:27.624.087.837 (XO: 21.624090484)

 - Block number: 3 starting at 2022-02-07T23:49:41.543.446.725 (XO: 35.543448881 - 35.543754883, t=37.2 degC)  Rank: 00081
   TM values: Max =   239  Min =  -259  Ave =    -4.47  Std =    21.07
   Min TM value:-259 at an offset of 130.063 usec -> 2022-02-07T23:49:41.543.576.787 (XO: 35.543578944)
   Max TM value:239 at an offset of 127.613 usec -> 2022-02-07T23:49:41.543.574.337 (XO: 35.543576494)
   Max dTM/dt [1/us]:2.49e+03 at an offset of 130.188 usec -> 2022-02-07T23:49:41.543.576.912 (XO: 35.543579069)
   Min dTM/dt [1/us]:-2.54e+03 at an offset of 127.725 usec -> 2022-02-07T23:49:41.543.574.450 (XO: 35.543576607)
