-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Dec  3 12:57:48 2021 UTC
-- File 20210802_030222_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 8.305084 to 57.356736
-each separately from 8s to 57s and from 305084us to 586025us.
   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, ...
      8.999981 in 1 packets: 18
      14.280093 in 1 packets: 36
      25.770422 in 1 packets: 54
MIU packet time from 2021-08-02T03:02:33.305.084.000 to 2021-08-02T03:03:22.356.736.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, ...
      8.999981 in 1 packets: 18
      14.280093 in 1 packets: 36
      25.770422 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 9.8850904 to 58.8849271
   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, ...
      8.9999701 in 1 packets: 18
      13.9999533 in 1 packets: 36
      25.9999133 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 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      2 in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      2 in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 20210802_030222_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:
      87 in 18 packets (all packets)  -- OK --
   10 MHz counter from 10.1901750 to 10.1904640
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.9999510  -- OK for SL --
   MIU time from 2021-08-02T03:02:33.305.084.000 to 2021-08-02T03:02:33.305.373.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.999981

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 19.1904150 to 19.1907040
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.2800470  -- OK for SL --
   MIU time from 2021-08-02T03:02:42.305.354.000 to 2021-08-02T03:02:42.305.643.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.280093

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 33.4707510 to 33.4710400
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 25.7703350  -- OK for SL --
   MIU time from 2021-08-02T03:02:56.585.736.000 to 2021-08-02T03:02:56.586.025.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 25.770422

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 59.2413750 to 59.2416640
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-02T03:03:22.356.447.000 to 2021-08-02T03:03:22.356.736.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 = 8, 32bit 10MHz counter = 10.190175000 corrected by 40bit 10MHz counter of 9.885090400 obtained at 1Hz counter of 8. Result: 8.305085607
--
   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-02T03:02:33.304.943.725
   Max 1st sample MIU time among all SL packets: 2021-08-02T03:03:22.356.595.725
   Min 1st sample XO time among all SL packets: 8.304945331
   Max 1st sample XO time among all SL packets: 57.356597802
   TM values from -273 to 277 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-02T03:02:33.304.943.725 (XO: 8.304945331 - 8.305251332, t=37.2 degC)  Rank: 00087
   TM values: Max =   216  Min =  -229  Ave =    -4.31  Std =    20.83
   Min TM value:-229 at an offset of 128.913 usec -> 2021-08-02T03:02:33.305.072.637 (XO: 8.305074244)
   Max TM value:216 at an offset of 131.575 usec -> 2021-08-02T03:02:33.305.075.300 (XO: 8.305076907)
   Max dTM/dt [1/us]:2.11e+03 at an offset of 131.425 usec -> 2021-08-02T03:02:33.305.075.150 (XO: 8.305076757)
   Min dTM/dt [1/us]:-2.03e+03 at an offset of 128.713 usec -> 2021-08-02T03:02:33.305.072.437 (XO: 8.305074044)

 - Block number: 2 starting at 2021-08-02T03:02:42.305.213.725 (XO: 17.305215263 - 17.305521264, t=37.2 degC)  Rank: 00080
   TM values: Max =   221  Min =  -273  Ave =    -4.43  Std =    22.47
   Min TM value:-273 at an offset of 129.575 usec -> 2021-08-02T03:02:42.305.343.300 (XO: 17.305344838)
   Max TM value:221 at an offset of 129.313 usec -> 2021-08-02T03:02:42.305.343.037 (XO: 17.305344576)
   Max dTM/dt [1/us]:1.96e+03 at an offset of 131.963 usec -> 2021-08-02T03:02:42.305.345.687 (XO: 17.305347226)
   Min dTM/dt [1/us]:-2.42e+03 at an offset of 129.413 usec -> 2021-08-02T03:02:42.305.343.137 (XO: 17.305344676)

 - Block number: 3 starting at 2021-08-02T03:02:56.585.595.725 (XO: 31.585598916 - 31.585904917, t=37.2 degC)  Rank: 00078
   TM values: Max =   212  Min =  -246  Ave =    -4.41  Std =    22.61
   Min TM value:-246 at an offset of 127.325 usec -> 2021-08-02T03:02:56.585.723.050 (XO: 31.585726241)
   Max TM value:212 at an offset of 129.988 usec -> 2021-08-02T03:02:56.585.725.712 (XO: 31.585728904)
   Max dTM/dt [1/us]:1.78e+03 at an offset of 129.800 usec -> 2021-08-02T03:02:56.585.725.525 (XO: 31.585728716)
   Min dTM/dt [1/us]:-2.24e+03 at an offset of 127.163 usec -> 2021-08-02T03:02:56.585.722.887 (XO: 31.585726079)

 - Block number: 4 starting at 2021-08-02T03:03:22.356.306.725 (XO: 57.356308801 - 57.356614802, t=37.2 degC)  Rank: 00078
   TM values: Max =   277  Min =  -258  Ave =    -4.45  Std =    23.14
   Min TM value:-258 at an offset of 131.538 usec -> 2021-08-02T03:03:22.356.438.262 (XO: 57.356440339)
   Max TM value:277 at an offset of 129.388 usec -> 2021-08-02T03:03:22.356.436.112 (XO: 57.356438189)
   Max dTM/dt [1/us]:2.16e+03 at an offset of 129.275 usec -> 2021-08-02T03:03:22.356.436.000 (XO: 57.356438076)
   Min dTM/dt [1/us]:-2.35e+03 at an offset of 131.413 usec -> 2021-08-02T03:03:22.356.438.137 (XO: 57.356440214)
