-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Dec  7 07:15:15 2021 UTC
-- File 20210804_182619_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 4.483162 to 58.162750
-each separately from 4s to 58s and from 162461us to 933066us.
   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, ...
      19.449326 in 1 packets: 18
      9.829616 in 1 packets: 36
      24.399490 in 1 packets: 54
MIU packet time from 2021-08-04T18:26:26.483.162.000 to 2021-08-04T18:27:20.162.750.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, ...
      19.449326 in 1 packets: 18
      9.829616 in 1 packets: 36
      24.399490 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 5.8917613 to 59.8915812
   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, ...
      18.9999366 in 1 packets: 18
      9.9999667 in 1 packets: 36
      24.9999166 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 72 packets (all packets)
Temperature XO: 
      C1 -> 37.2 degC in 72 packets (all packets)
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 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 20210804_182619_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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.3749237 to 6.3752127
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.4492630  -- OK for SL --
   MIU time from 2021-08-04T18:26:26.483.162.000 to 2021-08-04T18:26:26.483.451.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.449326

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 25.8244757 to 25.8247647
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.8295830  -- OK for SL --
   MIU time from 2021-08-04T18:26:45.932.777.000 to 2021-08-04T18:26:45.933.066.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.829616

 - 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 35.6543477 to 35.6546367
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.3994070  -- OK for SL --
   MIU time from 2021-08-04T18:26:55.762.682.000 to 2021-08-04T18:26:55.762.971.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.399490

 - 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:
      74 in 18 packets (all packets)  -- OK --
   10 MHz counter from 60.0540437 to 60.0543327
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-04T18:27:20.162.461.000 to 2021-08-04T18:27:20.162.750.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 = 4, 32bit 10MHz counter = 6.374923700 corrected by 40bit 10MHz counter of 5.891761300 obtained at 1Hz counter of 4. Result: 4.483163994
--
   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-08-04T18:26:26.483.021.725
   Max 1st sample MIU time among all SL packets: 2021-08-04T18:27:20.162.609.725
   Min 1st sample XO time among all SL packets: 4.483023719
   Max 1st sample XO time among all SL packets: 58.162611762
   TM values from -281 to 256 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-04T18:26:26.483.021.725 (XO: 4.483023719 - 4.483329720, t=37.2 degC)  Rank: 00082
   TM values: Max =   201  Min =  -271  Ave =    -4.47  Std =    22.78
   Min TM value:-271 at an offset of 111.838 usec -> 2021-08-04T18:26:26.483.133.562 (XO: 4.483135557)
   Max TM value:201 at an offset of 114.450 usec -> 2021-08-04T18:26:26.483.136.175 (XO: 4.483138169)
   Max dTM/dt [1/us]:2.09e+03 at an offset of 114.225 usec -> 2021-08-04T18:26:26.483.135.950 (XO: 4.483137944)
   Min dTM/dt [1/us]:-2.20e+03 at an offset of 111.625 usec -> 2021-08-04T18:26:26.483.133.350 (XO: 4.483135344)

 - Block number: 2 starting at 2021-08-04T18:26:45.932.636.725 (XO: 23.932640603 - 23.932946604, t=37.2 degC)  Rank: 00076
   TM values: Max =   216  Min =  -246  Ave =    -4.45  Std =    18.66
   Min TM value:-246 at an offset of 123.038 usec -> 2021-08-04T18:26:45.932.759.762 (XO: 23.932763641)
   Max TM value:216 at an offset of 122.775 usec -> 2021-08-04T18:26:45.932.759.500 (XO: 23.932763378)
   Max dTM/dt [1/us]:1.86e+03 at an offset of 125.463 usec -> 2021-08-04T18:26:45.932.762.187 (XO: 23.932766066)
   Min dTM/dt [1/us]:-1.84e+03 at an offset of 122.875 usec -> 2021-08-04T18:26:45.932.759.600 (XO: 23.932763478)

 - Block number: 3 starting at 2021-08-04T18:26:55.762.541.725 (XO: 33.762545418 - 33.762851419, t=37.2 degC)  Rank: 00086
   TM values: Max =   246  Min =  -258  Ave =    -4.48  Std =    21.17
   Min TM value:-258 at an offset of 125.863 usec -> 2021-08-04T18:26:55.762.667.587 (XO: 33.762671281)
   Max TM value:246 at an offset of 125.538 usec -> 2021-08-04T18:26:55.762.667.262 (XO: 33.762670956)
   Max dTM/dt [1/us]:2.36e+03 at an offset of 128.175 usec -> 2021-08-04T18:26:55.762.669.900 (XO: 33.762673593)
   Min dTM/dt [1/us]:-2.57e+03 at an offset of 125.650 usec -> 2021-08-04T18:26:55.762.667.375 (XO: 33.762671068)

 - Block number: 4 starting at 2021-08-04T18:27:20.162.320.725 (XO: 58.162322761 - 58.162628762, t=37.2 degC)  Rank: 00074
   TM values: Max =   256  Min =  -281  Ave =    -4.47  Std =    22.90
   Min TM value:-281 at an offset of 129.438 usec -> 2021-08-04T18:27:20.162.450.162 (XO: 58.162452199)
   Max TM value:256 at an offset of 129.713 usec -> 2021-08-04T18:27:20.162.450.437 (XO: 58.162452474)
   Max dTM/dt [1/us]:2.50e+03 at an offset of 129.575 usec -> 2021-08-04T18:27:20.162.450.300 (XO: 58.162452336)
   Min dTM/dt [1/us]:-2.11e+03 at an offset of 127.000 usec -> 2021-08-04T18:27:20.162.447.725 (XO: 58.162449761)
