-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Aug  2 10:35:12 2021 UTC
-- File 20210701_232012_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.435266 to 48.784488
-each separately from 3s to 48s and from 435266us to 784488us.
   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.339207 in 1 packets: 18
      7.689388 in 1 packets: 36
      13.319471 in 1 packets: 54
MIU packet time from 2021-07-01T23:20:14.435.266.000 to 2021-07-01T23:20:59.784.488.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.339207 in 1 packets: 18
      7.689388 in 1 packets: 36
      13.319471 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 4.8316418 to 49.8314770
   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.9999120 in 1 packets: 18
      7.9999707 in 1 packets: 36
      12.9999525 in 1 packets: 54
Temperature FPGA: 
      06 -> 47.2 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      07 -> 45.9 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature XO: 
      C0 -> 35.6 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 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      1 in 1 packets: 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Number of generated alerts: 
      0 in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      1 in 1 packets: 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20210701_232012_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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 5.2669080 to 5.2671970
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.3391190  -- OK for SL --
   MIU time from 2021-07-01T23:20:14.435.266.000 to 2021-07-01T23:20:14.435.555.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.339207

 - 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:
      87 in 18 packets (all packets)  -- OK --
   10 MHz counter from 29.6063160 to 29.6066050
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.6893590  -- OK for SL --
   MIU time from 2021-07-01T23:20:38.774.762.000 to 2021-07-01T23:20:38.775.051.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.689388

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 37.2959640 to 37.2962530
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.3194230  -- OK for SL --
   MIU time from 2021-07-01T23:20:46.464.439.000 to 2021-07-01T23:20:46.464.728.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.319471

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 50.6156760 to 50.6159650
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-01T23:20:59.784.199.000 to 2021-07-01T23:20:59.784.488.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 = 3, 32bit 10MHz counter = 5.266908000 corrected by 40bit 10MHz counter of 4.831641800 obtained at 1Hz counter of 3. Result: 3.435267810
--
   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.999996300 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2021-07-01T23:20:14.435.125.725
   Max 1st sample MIU time among all SL packets: 2021-07-01T23:20:59.784.347.725
   Min 1st sample XO time among all SL packets: 3.435127535
   Max 1st sample XO time among all SL packets: 48.784350627
   TM values from -252 to 267 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-01T23:20:14.435.125.725 (XO: 3.435127535 - 3.435433536, t=35.6 degC)  Rank: 00079
   TM values: Max =   220  Min =  -237  Ave =    -4.53  Std =    18.79
   Min TM value:-237 at an offset of 107.613 usec -> 2021-07-01T23:20:14.435.233.337 (XO: 3.435235148)
   Max TM value:220 at an offset of 122.363 usec -> 2021-07-01T23:20:14.435.248.087 (XO: 3.435249898)
   Max dTM/dt [1/us]:1.87e+03 at an offset of 122.175 usec -> 2021-07-01T23:20:14.435.247.900 (XO: 3.435249710)
   Min dTM/dt [1/us]:-1.74e+03 at an offset of 107.463 usec -> 2021-07-01T23:20:14.435.233.187 (XO: 3.435234998)

 - Block number: 2 starting at 2021-07-01T23:20:38.774.621.725 (XO: 27.774624714 - 27.774930715, t=35.6 degC)  Rank: 00087
   TM values: Max =   240  Min =  -252  Ave =    -4.42  Std =    26.65
   Min TM value:-252 at an offset of 120.088 usec -> 2021-07-01T23:20:38.774.741.812 (XO: 27.774744802)
   Max TM value:240 at an offset of 122.713 usec -> 2021-07-01T23:20:38.774.744.437 (XO: 27.774747427)
   Max dTM/dt [1/us]:1.84e+03 at an offset of 122.600 usec -> 2021-07-01T23:20:38.774.744.325 (XO: 27.774747314)
   Min dTM/dt [1/us]:-2.32e+03 at an offset of 119.850 usec -> 2021-07-01T23:20:38.774.741.575 (XO: 27.774744564)

 - Block number: 3 starting at 2021-07-01T23:20:46.464.298.725 (XO: 35.464300896 - 35.464606898, t=35.6 degC)  Rank: 00080
   TM values: Max =   248  Min =  -235  Ave =    -4.39  Std =    20.36
   Min TM value:-235 at an offset of 109.425 usec -> 2021-07-01T23:20:46.464.408.150 (XO: 35.464410322)
   Max TM value:248 at an offset of 112.188 usec -> 2021-07-01T23:20:46.464.410.912 (XO: 35.464413084)
   Max dTM/dt [1/us]:2.08e+03 at an offset of 112.075 usec -> 2021-07-01T23:20:46.464.410.800 (XO: 35.464412972)
   Min dTM/dt [1/us]:-1.85e+03 at an offset of 109.288 usec -> 2021-07-01T23:20:46.464.408.012 (XO: 35.464410184)

 - Block number: 4 starting at 2021-07-01T23:20:59.784.058.725 (XO: 48.784061626 - 48.784367627, t=35.6 degC)  Rank: 00080
   TM values: Max =   267  Min =  -237  Ave =    -4.50  Std =    23.00
   Min TM value:-237 at an offset of 112.038 usec -> 2021-07-01T23:20:59.784.170.762 (XO: 48.784173664)
   Max TM value:267 at an offset of 114.738 usec -> 2021-07-01T23:20:59.784.173.462 (XO: 48.784176364)
   Max dTM/dt [1/us]:2.04e+03 at an offset of 114.588 usec -> 2021-07-01T23:20:59.784.173.312 (XO: 48.784176214)
   Min dTM/dt [1/us]:-1.97e+03 at an offset of 111.813 usec -> 2021-07-01T23:20:59.784.170.537 (XO: 48.784173439)
