-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Mar  4 01:56:15 2022 UTC
-- File 20220122_094709_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 3.320414 to 46.510201
-each separately from 3s to 46s and from 32279us to 510201us.
   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, ...
      24.064069 in 1 packets: 18
      9.647218 in 1 packets: 36
      9.477344 in 1 packets: 54
MIU packet time from 2022-01-22T09:47:15.320.414.000 to 2022-01-22T09:47:58.510.201.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, ...
      24.064069 in 1 packets: 18
      9.647218 in 1 packets: 36
      9.477344 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 3.7955685 to 46.7954153
   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, ...
      23.9999145 in 1 packets: 18
      9.9999644 in 1 packets: 36
      8.9999679 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      04 -> 49.8 degC in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20220122_094709_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:
      86 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.1159838 to 4.1162728
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.0639830  -- OK for SL --
   MIU time from 2022-01-22T09:47:15.320.414.000 to 2022-01-22T09:47:15.320.703.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.064069

 - 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 28.1802558 to 28.1805448
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.6471830  -- OK for SL --
   MIU time from 2022-01-22T09:47:39.384.772.000 to 2022-01-22T09:47:39.385.061.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.647218

 - 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:
      74 in 18 packets (all packets)  -- OK --
   10 MHz counter from 37.8277278 to 37.8280168
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.4773110  -- OK for SL --
   MIU time from 2022-01-22T09:47:49.032.279.000 to 2022-01-22T09:47:49.032.568.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.477344

 - 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:
      69 in 18 packets (all packets)  -- OK --
   10 MHz counter from 47.3053278 to 47.3056168
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-22T09:47:58.509.912.000 to 2022-01-22T09:47:58.510.201.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 72 points based on 60 XO calibration points at 1Hz counter from 0 to 59
   --- First point: 1Hz counter = 3, 32bit 10MHz counter = 4.115983800 corrected by 40bit 10MHz counter of 3.795568500 obtained at 1Hz counter of 3. Result: 3.320416421
--
   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-01-22T09:47:15.320.273.725
   Max 1st sample MIU time among all SL packets: 2022-01-22T09:47:58.510.060.725
   Min 1st sample XO time among all SL packets: 3.320276146
   Max 1st sample XO time among all SL packets: 46.510063010
   TM values from -248 to 218 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-22T09:47:15.320.273.725 (XO: 3.320276146 - 3.320582147, t=37.2 degC)  Rank: 00086
   TM values: Max =   203  Min =  -240  Ave =    -4.45  Std =    25.46
   Min TM value:-240 at an offset of 113.900 usec -> 2022-01-22T09:47:15.320.387.625 (XO: 3.320390046)
   Max TM value:203 at an offset of 109.700 usec -> 2022-01-22T09:47:15.320.383.425 (XO: 3.320385846)
   Max dTM/dt [1/us]:2.00e+03 at an offset of 114.013 usec -> 2022-01-22T09:47:15.320.387.737 (XO: 3.320390159)
   Min dTM/dt [1/us]:-2.16e+03 at an offset of 113.813 usec -> 2022-01-22T09:47:15.320.387.537 (XO: 3.320389959)

 - Block number: 2 starting at 2022-01-22T09:47:39.384.631.725 (XO: 27.384633871 - 27.384939872, t=37.2 degC)  Rank: 00076
   TM values: Max =   216  Min =  -248  Ave =    -4.46  Std =    19.89
   Min TM value:-248 at an offset of 104.725 usec -> 2022-01-22T09:47:39.384.736.450 (XO: 27.384738597)
   Max TM value:216 at an offset of 102.300 usec -> 2022-01-22T09:47:39.384.734.025 (XO: 27.384736172)
   Max dTM/dt [1/us]:1.88e+03 at an offset of 104.800 usec -> 2022-01-22T09:47:39.384.736.525 (XO: 27.384738672)
   Min dTM/dt [1/us]:-2.39e+03 at an offset of 102.413 usec -> 2022-01-22T09:47:39.384.734.137 (XO: 27.384736284)

 - Block number: 3 starting at 2022-01-22T09:47:49.032.138.725 (XO: 37.032140241 - 37.032446242, t=37.2 degC)  Rank: 00074
   TM values: Max =   218  Min =  -243  Ave =    -4.41  Std =    21.73
   Min TM value:-243 at an offset of 128.838 usec -> 2022-01-22T09:47:49.032.267.562 (XO: 37.032269079)
   Max TM value:218 at an offset of 126.425 usec -> 2022-01-22T09:47:49.032.265.150 (XO: 37.032266666)
   Max dTM/dt [1/us]:1.93e+03 at an offset of 128.925 usec -> 2022-01-22T09:47:49.032.267.650 (XO: 37.032269166)
   Min dTM/dt [1/us]:-2.30e+03 at an offset of 128.750 usec -> 2022-01-22T09:47:49.032.267.475 (XO: 37.032268991)

 - Block number: 4 starting at 2022-01-22T09:47:58.509.771.725 (XO: 46.509774009 - 46.510080010, t=37.2 degC)  Rank: 00069
   TM values: Max =   191  Min =  -236  Ave =    -4.42  Std =    31.33
   Min TM value:-236 at an offset of 112.838 usec -> 2022-01-22T09:47:58.509.884.562 (XO: 46.509886847)
   Max TM value:191 at an offset of 117.775 usec -> 2022-01-22T09:47:58.509.889.500 (XO: 46.509891785)
   Max dTM/dt [1/us]:2.04e+03 at an offset of 115.150 usec -> 2022-01-22T09:47:58.509.886.875 (XO: 46.509889160)
   Min dTM/dt [1/us]:-1.87e+03 at an offset of 112.725 usec -> 2022-01-22T09:47:58.509.884.450 (XO: 46.509886735)
