-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Mar  4 22:57:57 2022 UTC
-- File 20220201_082038_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 4.879303 to 38.802899
-each separately from 4s to 38s and from 686349us to 879592us.
   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, ...
      14.806757 in 1 packets: 18
      19.115972 in 1 packets: 36
MIU packet time from 2022-02-01T08:20:46.879.303.000 to 2022-02-01T08:21:20.802.899.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, ...
      14.806757 in 1 packets: 18
      19.115972 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 6.2905549 to 40.2904316
   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, ...
      14.9999456 in 1 packets: 18
      18.9999311 in 1 packets: 36
Temperature FPGA: 
      06 -> 47.2 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: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
Temperature XO: 
      C0 -> 35.6 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 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 35 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 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 35 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20220201_082038_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:
      86 in 18 packets (all packets)  -- OK --
   10 MHz counter from 7.1698578 to 7.1701468
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.8067030  -- OK for SL --
   MIU time from 2022-02-01T08:20:46.879.303.000 to 2022-02-01T08:20:46.879.592.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.806757

 - 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:
      96 in 18 packets (all packets)  -- OK --
   10 MHz counter from 21.9768498 to 21.9771388
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.1159030  -- OK for SL --
   MIU time from 2022-02-01T08:21:01.686.349.000 to 2022-02-01T08:21:01.686.638.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.115972

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 41.0930418 to 41.0933308
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-02-01T08:21:20.802.610.000 to 2022-02-01T08:21:20.802.899.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 = 4, 32bit 10MHz counter = 7.169857800 corrected by 40bit 10MHz counter of 6.290554900 obtained at 1Hz counter of 4. Result: 4.879306153
--
   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.999996300 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2022-02-01T08:20:46.879.162.725
   Max 1st sample MIU time among all SL packets: 2022-02-01T08:21:20.802.758.725
   Min 1st sample XO time among all SL packets: 4.879165878
   Max 1st sample XO time among all SL packets: 38.802761815
   TM values from -279 to 240 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-02-01T08:20:46.879.162.725 (XO: 4.879165878 - 4.879471879, t=35.6 degC)  Rank: 00086
   TM values: Max =   240  Min =  -273  Ave =    -4.47  Std =    24.28
   Min TM value:-273 at an offset of 107.325 usec -> 2022-02-01T08:20:46.879.270.050 (XO: 4.879273203)
   Max TM value:240 at an offset of 103.113 usec -> 2022-02-01T08:20:46.879.265.837 (XO: 4.879268991)
   Max dTM/dt [1/us]:2.17e+03 at an offset of 107.425 usec -> 2022-02-01T08:20:46.879.270.150 (XO: 4.879273303)
   Min dTM/dt [1/us]:-2.39e+03 at an offset of 107.263 usec -> 2022-02-01T08:20:46.879.269.987 (XO: 4.879273141)

 - Block number: 2 starting at 2022-02-01T08:21:01.686.208.725 (XO: 19.686211495 - 19.686517496, t=35.6 degC)  Rank: 00096
   TM values: Max =   181  Min =  -255  Ave =    -4.47  Std =    20.08
   Min TM value:-255 at an offset of 119.250 usec -> 2022-02-01T08:21:01.686.327.975 (XO: 19.686330746)
   Max TM value:181 at an offset of 116.738 usec -> 2022-02-01T08:21:01.686.325.462 (XO: 19.686328233)
   Max dTM/dt [1/us]:2.18e+03 at an offset of 119.350 usec -> 2022-02-01T08:21:01.686.328.075 (XO: 19.686330846)
   Min dTM/dt [1/us]:-2.50e+03 at an offset of 116.875 usec -> 2022-02-01T08:21:01.686.325.600 (XO: 19.686328371)

 - Block number: 3 starting at 2022-02-01T08:21:20.802.469.725 (XO: 38.802472814 - 38.802778815, t=35.6 degC)  Rank: 00080
   TM values: Max =   235  Min =  -279  Ave =    -4.41  Std =    28.33
   Min TM value:-279 at an offset of 105.425 usec -> 2022-02-01T08:21:20.802.575.150 (XO: 38.802578239)
   Max TM value:235 at an offset of 103.025 usec -> 2022-02-01T08:21:20.802.572.750 (XO: 38.802575839)
   Max dTM/dt [1/us]:2.16e+03 at an offset of 105.525 usec -> 2022-02-01T08:21:20.802.575.250 (XO: 38.802578339)
   Min dTM/dt [1/us]:-2.75e+03 at an offset of 103.125 usec -> 2022-02-01T08:21:20.802.572.850 (XO: 38.802575939)
