-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Jan  9 05:32:44 2022 UTC
-- File 20210911_135234_1227.dat, 72  packets found.
APID:
      1227 (SL) in 72 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 72 packets (all packets)
Total number of packets: 
      18 in 72 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 5.183485 to 48.439789
-each separately from 5s to 48s and from 102235us to 679909us.
   Differences in neigboring packets: 
      0.000017 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      13.918461 in 1 packets: 18
      12.577096 in 1 packets: 36
      16.759591 in 1 packets: 54
MIU packet time from 2021-09-11T13:52:42.183.485.000 to 2021-09-11T13:53:25.439.789.000
   Differences in neigboring packets: 
      0.000017 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      13.918461 in 1 packets: 18
      12.577096 in 1 packets: 36
      16.759591 in 1 packets: 54
MIU orbit number: 
      60000 in 72 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 72 packets (all packets)
MIU orbit information / number of events: 
      0 in 72 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 72 packets (all packets)
Instrument anomalies: 
      0 (OK) in 72 packets (all packets)
FPGA configuration version: 
      211 in 72 packets (all packets)
10 MHz counter at the last 1Hz pulse from 6.3861544 to 49.3860115
   Differences in neigboring packets: 
      0.0000000 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      13.9999535 in 1 packets: 18
      11.9999601 in 1 packets: 36
      16.9999435 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 72 packets (all packets)
Temperature XO: 
      C0 -> 35.6 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      C1 -> 37.2 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature ant 3: 
      01 -> 108.0 degC in 72 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 72 packets (all packets)
Number of external events: 
      0 in 1 packets: 1
      1 in 35 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 36 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 35 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 1 packets: 37
      3 in 8 packets: 38, 39, 40, 41, 42, 43, 44, 45
      4 in 6 packets: 46, 47, 48, 49, 50, 51
      5 in 21 packets: 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, ...
Survey memory error: 
      0 in 72 packets (all packets)
Event memory error: 
      0 in 72 packets (all packets)
Configuration error: 
      0 in 72 packets (all packets)
SDRAM CRC error: 
      0 in 72 packets (all packets)
Radio gain: 
      0 in 72 packets (all packets)
Radio bandwidth: 
      0 in 72 packets (all packets)
Digital gain: 
      0 in 72 packets (all packets)
Analog gain: 
      0 in 72 packets (all packets)
 
SURVEY DATA READER
-- File 20210911_135234_1227.dat, 4 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.5696403 to 6.5699293
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.9184150  -- OK for SL --
   MIU time from 2021-09-11T13:52:42.183.485.000 to 2021-09-11T13:52:42.183.774.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.918461

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 20.4883443 to 20.4886333
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.5770550  -- OK for SL --
   MIU time from 2021-09-11T13:52:56.102.235.000 to 2021-09-11T13:52:56.102.524.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.577096

 - 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:
      195 in 18 packets (all packets)  -- OK --
   10 MHz counter from 33.0656883 to 33.0659773
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.7595350  -- OK for SL --
   MIU time from 2021-09-11T13:53:08.679.620.000 to 2021-09-11T13:53:08.679.909.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.759591

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 49.8255123 to 49.8258013
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-11T13:53:25.439.500.000 to 2021-09-11T13:53:25.439.789.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 72 points based on 59 XO calibration points at 1Hz counter from 0 to 58
   --- First point: 1Hz counter = 5, 32bit 10MHz counter = 6.569640300 corrected by 40bit 10MHz counter of 6.386154400 obtained at 1Hz counter of 5. Result: 5.183486506
--
   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.999996600 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-09-11T13:52:42.183.344.725
   Max 1st sample MIU time among all SL packets: 2021-09-11T13:53:25.439.648.725
   Min 1st sample XO time among all SL packets: 5.183346230
   Max 1st sample XO time among all SL packets: 48.439651020
   TM values from -923 to 508 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-11T13:52:42.183.344.725 (XO: 5.183346230 - 5.183652231, t=35.6 degC)  Rank: 00083
   TM values: Max =   223  Min =  -226  Ave =    -4.61  Std =    19.12
   Min TM value:-226 at an offset of 119.050 usec -> 2021-09-11T13:52:42.183.463.775 (XO: 5.183465280)
   Max TM value:223 at an offset of 121.713 usec -> 2021-09-11T13:52:42.183.466.437 (XO: 5.183467943)
   Max dTM/dt [1/us]:1.96e+03 at an offset of 121.575 usec -> 2021-09-11T13:52:42.183.466.300 (XO: 5.183467805)
   Min dTM/dt [1/us]:-1.84e+03 at an offset of 118.838 usec -> 2021-09-11T13:52:42.183.463.562 (XO: 5.183465068)

 - Block number: 2 starting at 2021-09-11T13:52:56.102.094.725 (XO: 19.102096462 - 19.102402463, t=35.6 degC)  Rank: 00075
   TM values: Max =   197  Min =  -256  Ave =    -4.62  Std =    18.63
   Min TM value:-256 at an offset of 107.363 usec -> 2021-09-11T13:52:56.102.202.087 (XO: 19.102203825)
   Max TM value:197 at an offset of 107.063 usec -> 2021-09-11T13:52:56.102.201.787 (XO: 19.102203525)
   Max dTM/dt [1/us]:1.49e+03 at an offset of 109.800 usec -> 2021-09-11T13:52:56.102.204.525 (XO: 19.102206262)
   Min dTM/dt [1/us]:-1.95e+03 at an offset of 107.175 usec -> 2021-09-11T13:52:56.102.201.900 (XO: 19.102203637)

 - Block number: 3 starting at 2021-09-11T13:53:08.679.479.725 (XO: 31.679482335 - 31.679788336, t=37.2 degC)  Rank: 00195
   TM values: Max =   508  Min =  -923  Ave =    -4.73  Std =    75.49
   Min TM value:-923 at an offset of 122.700 usec -> 2021-09-11T13:53:08.679.602.425 (XO: 31.679605036)
   Max TM value:508 at an offset of 123.413 usec -> 2021-09-11T13:53:08.679.603.137 (XO: 31.679605748)
   Max dTM/dt [1/us]:5.10e+03 at an offset of 83.638 usec -> 2021-09-11T13:53:08.679.563.362 (XO: 31.679565973)
   Min dTM/dt [1/us]:-5.20e+03 at an offset of 266.651 usec -> 2021-09-11T13:53:08.679.746.375 (XO: 31.679748986)

 - Block number: 4 starting at 2021-09-11T13:53:25.439.359.725 (XO: 48.439362019 - 48.439668020, t=35.6 degC)  Rank: 00080
   TM values: Max =   212  Min =  -252  Ave =    -4.48  Std =    20.78
   Min TM value:-252 at an offset of 84.725 usec -> 2021-09-11T13:53:25.439.444.450 (XO: 48.439446744)
   Max TM value:212 at an offset of 82.125 usec -> 2021-09-11T13:53:25.439.441.850 (XO: 48.439444144)
   Max dTM/dt [1/us]:1.95e+03 at an offset of 84.825 usec -> 2021-09-11T13:53:25.439.444.550 (XO: 48.439446844)
   Min dTM/dt [1/us]:-2.32e+03 at an offset of 82.238 usec -> 2021-09-11T13:53:25.439.441.962 (XO: 48.439444257)
