-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Mar  6 03:19:23 2022 UTC
-- File 20220202_150240_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 8.915210 to 37.626419
-each separately from 8s to 37s and from 495637us to 915499us.
   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, ...
      11.580138 in 1 packets: 18
      17.130204 in 1 packets: 36
MIU packet time from 2022-02-02T15:02:51.915.210.000 to 2022-02-02T15:03:20.626.419.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, ...
      11.580138 in 1 packets: 18
      17.130204 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 9.7913535 to 38.7912495
   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, ...
      11.9999570 in 1 packets: 18
      16.9999390 in 1 packets: 36
Temperature FPGA: 
      04 -> 49.8 degC in 54 packets (all packets)
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 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 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 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 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 20220202_150240_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 10.7065637 to 10.7068527
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.5800950  -- OK for SL --
   MIU time from 2022-02-02T15:02:51.915.210.000 to 2022-02-02T15:02:51.915.499.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.580138

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 22.2869477 to 22.2872367
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.1301430  -- OK for SL --
   MIU time from 2022-02-02T15:03:03.495.637.000 to 2022-02-02T15:03:03.495.926.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.130204

 - 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:
      90 in 18 packets (all packets)  -- OK --
   10 MHz counter from 39.4173797 to 39.4176687
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-02-02T15:03:20.626.130.000 to 2022-02-02T15:03:20.626.419.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 = 8, 32bit 10MHz counter = 10.706563700 corrected by 40bit 10MHz counter of 9.791353500 obtained at 1Hz counter of 8. Result: 8.915213495
--
   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.999996400
   Min 1st sample MIU time among all SL packets: 2022-02-02T15:02:51.915.069.725
   Max 1st sample MIU time among all SL packets: 2022-02-02T15:03:20.626.278.725
   Min 1st sample XO time among all SL packets: 8.915073219
   Max 1st sample XO time among all SL packets: 37.626281180
   TM values from -255 to 207 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-02-02T15:02:51.915.069.725 (XO: 8.915073219 - 8.915379220, t=37.2 degC)  Rank: 00081
   TM values: Max =   184  Min =  -247  Ave =    -4.50  Std =    19.67
   Min TM value:-247 at an offset of 125.388 usec -> 2022-02-02T15:02:51.915.195.112 (XO: 8.915198607)
   Max TM value:184 at an offset of 122.875 usec -> 2022-02-02T15:02:51.915.192.600 (XO: 8.915196095)
   Max dTM/dt [1/us]:2.22e+03 at an offset of 125.450 usec -> 2022-02-02T15:02:51.915.195.175 (XO: 8.915198670)
   Min dTM/dt [1/us]:-2.16e+03 at an offset of 122.988 usec -> 2022-02-02T15:02:51.915.192.712 (XO: 8.915196207)

 - Block number: 2 starting at 2022-02-02T15:03:03.495.496.725 (XO: 20.495498709 - 20.495804710, t=37.2 degC)  Rank: 00078
   TM values: Max =   174  Min =  -208  Ave =    -4.47  Std =    25.64
   Min TM value:-208 at an offset of 111.238 usec -> 2022-02-02T15:03:03.495.607.962 (XO: 20.495609947)
   Max TM value:174 at an offset of 143.176 usec -> 2022-02-02T15:03:03.495.639.900 (XO: 20.495641884)
   Max dTM/dt [1/us]:1.58e+03 at an offset of 143.038 usec -> 2022-02-02T15:03:03.495.639.763 (XO: 20.495641747)
   Min dTM/dt [1/us]:-1.85e+03 at an offset of 116.313 usec -> 2022-02-02T15:03:03.495.613.037 (XO: 20.495615022)

 - Block number: 3 starting at 2022-02-02T15:03:20.625.989.725 (XO: 37.625992179 - 37.626298180, t=37.2 degC)  Rank: 00090
   TM values: Max =   207  Min =  -255  Ave =    -4.43  Std =    24.42
   Min TM value:-255 at an offset of 127.475 usec -> 2022-02-02T15:03:20.626.117.200 (XO: 37.626119654)
   Max TM value:207 at an offset of 130.225 usec -> 2022-02-02T15:03:20.626.119.950 (XO: 37.626122404)
   Max dTM/dt [1/us]:2.09e+03 at an offset of 127.575 usec -> 2022-02-02T15:03:20.626.117.300 (XO: 37.626119754)
   Min dTM/dt [1/us]:-2.14e+03 at an offset of 127.400 usec -> 2022-02-02T15:03:20.626.117.125 (XO: 37.626119579)
