-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Jul 18 14:39:50 2021 UTC
-- File 20210611_123731_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 13.298009 to 36.368332
-each separately from 13s to 36s and from 298009us to 945584us.
   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, ...
      15.646997 in 1 packets: 18
      7.422459 in 1 packets: 36
MIU packet time from 2021-06-11T12:37:47.298.009.000 to 2021-06-11T12:38:10.368.332.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, ...
      15.646997 in 1 packets: 18
      7.422459 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 14.7335989 to 37.7335178
   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, ...
      14.9999470 in 1 packets: 18
      7.9999719 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      06 -> 47.2 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 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 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      2 in 36 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 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      6 in 1 packets: 19
      7 in 5 packets: 20, 21, 22, 23, 24
      8 in 30 packets: 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, ...
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 20210611_123731_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:
      56 in 18 packets (all packets)  -- OK --
   10 MHz counter from 15.0316090 to 15.0318980
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.6469430  -- OK for SL --
   MIU time from 2021-06-11T12:37:47.298.009.000 to 2021-06-11T12:37:47.298.298.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.646997

 - 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:
      256 in 18 packets (all packets)  -- OK --
   10 MHz counter from 30.6788410 to 30.6791300
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.4224310  -- OK for SL --
   MIU time from 2021-06-11T12:38:02.945.295.000 to 2021-06-11T12:38:02.945.584.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.422459

 - 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:
      36 in 18 packets (all packets)  -- OK --
   10 MHz counter from 38.1015610 to 38.1018500
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-06-11T12:38:10.368.043.000 to 2021-06-11T12:38:10.368.332.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 = 13, 32bit 10MHz counter = 15.031609000 corrected by 40bit 10MHz counter of 14.733598900 obtained at 1Hz counter of 13. Result: 13.298011143
--
   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: 2021-06-11T12:37:47.297.868.725
   Max 1st sample MIU time among all SL packets: 2021-06-11T12:38:10.368.191.725
   Min 1st sample XO time among all SL packets: 13.297870868
   Max 1st sample XO time among all SL packets: 36.368193250
   TM values from -907 to 652 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-06-11T12:37:47.297.868.725 (XO: 13.297870868 - 13.298176869, t=35.6 degC)  Rank: 00056
   TM values: Max =   176  Min =  -318  Ave =    -4.52  Std =    24.01
   Min TM value:-318 at an offset of 287.976 usec -> 2021-06-11T12:37:47.298.156.701 (XO: 13.298158844)
   Max TM value:176 at an offset of 282.551 usec -> 2021-06-11T12:37:47.298.151.275 (XO: 13.298153419)
   Max dTM/dt [1/us]:4.20e+03 at an offset of 282.501 usec -> 2021-06-11T12:37:47.298.151.225 (XO: 13.298153369)
   Min dTM/dt [1/us]:-2.39e+03 at an offset of 283.001 usec -> 2021-06-11T12:37:47.298.151.725 (XO: 13.298153869)

 - Block number: 2 starting at 2021-06-11T12:38:02.945.154.725 (XO: 28.945158133 - 28.945464134, t=35.6 degC)  Rank: 00256
   TM values: Max =   652  Min =  -907  Ave =    -4.49  Std =   143.91
   Min TM value:-907 at an offset of 100.013 usec -> 2021-06-11T12:38:02.945.254.737 (XO: 28.945258146)
   Max TM value:652 at an offset of 100.363 usec -> 2021-06-11T12:38:02.945.255.087 (XO: 28.945258496)
   Max dTM/dt [1/us]:6.54e+03 at an offset of 100.138 usec -> 2021-06-11T12:38:02.945.254.862 (XO: 28.945258271)
   Min dTM/dt [1/us]:-6.64e+03 at an offset of 100.500 usec -> 2021-06-11T12:38:02.945.255.225 (XO: 28.945258633)

 - Block number: 3 starting at 2021-06-11T12:38:10.367.902.725 (XO: 36.367904249 - 36.368210251, t=35.6 degC)  Rank: 00036
   TM values: Max =   104  Min =  -177  Ave =    -4.42  Std =    14.38
   Min TM value:-177 at an offset of 144.476 usec -> 2021-06-11T12:38:10.368.047.200 (XO: 36.368048725)
   Max TM value:104 at an offset of 123.475 usec -> 2021-06-11T12:38:10.368.026.200 (XO: 36.368027725)
   Max dTM/dt [1/us]:1.09e+03 at an offset of 123.125 usec -> 2021-06-11T12:38:10.368.025.850 (XO: 36.368027375)
   Min dTM/dt [1/us]:-1.43e+03 at an offset of 144.426 usec -> 2021-06-11T12:38:10.368.047.150 (XO: 36.368048675)
