-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Nov  9 12:14:36 2021 UTC
-- File 20210709_011020_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 2.021954 to 39.822272
-each separately from 2s to 39s and from 21954us to 822272us.
   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, ...
      17.479689 in 1 packets: 18
      20.319762 in 1 packets: 36
MIU packet time from 2021-07-09T01:10:25.021.954.000 to 2021-07-09T01:11:02.822.272.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, ...
      17.479689 in 1 packets: 18
      20.319762 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 3.9057107 to 40.9055855
   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, ...
      16.9999425 in 1 packets: 18
      19.9999323 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 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 53 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 53 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20210709_011020_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:
      89 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.9276655 to 3.9279545
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.4796310  -- OK for SL --
   MIU time from 2021-07-09T01:10:25.021.954.000 to 2021-07-09T01:10:25.022.243.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.479689

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 21.4075855 to 21.4078745
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.3196950  -- OK for SL --
   MIU time from 2021-07-09T01:10:42.501.932.000 to 2021-07-09T01:10:42.502.221.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.319762

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 41.7275695 to 41.7278585
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-09T01:11:02.821.983.000 to 2021-07-09T01:11:02.822.272.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 = 2, 32bit 10MHz counter = 3.927665500 corrected by 40bit 10MHz counter of 3.905710700 obtained at 1Hz counter of 2. Result: 2.021954875
--
   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.999996600
   Min 1st sample MIU time among all SL packets: 2021-07-09T01:10:25.021.813.725
   Max 1st sample MIU time among all SL packets: 2021-07-09T01:11:02.822.131.725
   Min 1st sample XO time among all SL packets: 2.021814599
   Max 1st sample XO time among all SL packets: 39.822135520
   TM values from -263 to 216 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-09T01:10:25.021.813.725 (XO: 2.021814599 - 2.022120600, t=37.2 degC)  Rank: 00089
   TM values: Max =   212  Min =  -242  Ave =    -4.55  Std =    20.45
   Min TM value:-242 at an offset of 113.363 usec -> 2021-07-09T01:10:25.021.927.087 (XO: 2.021927962)
   Max TM value:212 at an offset of 128.713 usec -> 2021-07-09T01:10:25.021.942.437 (XO: 2.021943312)
   Max dTM/dt [1/us]:1.90e+03 at an offset of 128.538 usec -> 2021-07-09T01:10:25.021.942.262 (XO: 2.021943137)
   Min dTM/dt [1/us]:-2.02e+03 at an offset of 125.800 usec -> 2021-07-09T01:10:25.021.939.525 (XO: 2.021940400)

 - Block number: 2 starting at 2021-07-09T01:10:42.501.791.725 (XO: 19.501793731 - 19.502099732, t=37.2 degC)  Rank: 00079
   TM values: Max =   216  Min =  -262  Ave =    -4.49  Std =    30.46
   Min TM value:-262 at an offset of 215.863 usec -> 2021-07-09T01:10:42.502.007.588 (XO: 19.502009594)
   Max TM value:216 at an offset of 128.575 usec -> 2021-07-09T01:10:42.501.920.300 (XO: 19.501922307)
   Max dTM/dt [1/us]:1.94e+03 at an offset of 128.413 usec -> 2021-07-09T01:10:42.501.920.137 (XO: 19.501922144)
   Min dTM/dt [1/us]:-2.13e+03 at an offset of 243.326 usec -> 2021-07-09T01:10:42.502.035.050 (XO: 19.502037057)

 - Block number: 3 starting at 2021-07-09T01:11:02.821.842.725 (XO: 39.821846519 - 39.822152520, t=37.2 degC)  Rank: 00079
   TM values: Max =   216  Min =  -263  Ave =    -4.45  Std =    24.11
   Min TM value:-263 at an offset of 156.313 usec -> 2021-07-09T01:11:02.821.999.038 (XO: 39.822002832)
   Max TM value:216 at an offset of 129.913 usec -> 2021-07-09T01:11:02.821.972.637 (XO: 39.821976432)
   Max dTM/dt [1/us]:1.99e+03 at an offset of 129.763 usec -> 2021-07-09T01:11:02.821.972.487 (XO: 39.821976282)
   Min dTM/dt [1/us]:-2.00e+03 at an offset of 156.151 usec -> 2021-07-09T01:11:02.821.998.875 (XO: 39.822002670)
