-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Oct 29 17:53:15 2021 UTC
-- File 20210702_234830_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 14.310002 to 51.939641
-each separately from 14s to 51s and from 289580us to 939641us.
   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, ...
      2.349607 in 1 packets: 18
      22.629393 in 1 packets: 36
      12.649483 in 1 packets: 54
MIU packet time from 2021-07-02T23:48:43.310.002.000 to 2021-07-02T23:49:20.939.641.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, ...
      2.349607 in 1 packets: 18
      22.629393 in 1 packets: 36
      12.649483 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 15.7368654 to 52.7367331
   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, ...
      1.9999929 in 1 packets: 18
      22.9999176 in 1 packets: 36
      11.9999572 in 1 packets: 54
Temperature FPGA: 
      06 -> 47.2 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      05 -> 48.5 degC in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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: 
      1 in 1 packets: 1
      2 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      1 in 1 packets: 1
      2 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20210702_234830_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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 16.0468686 to 16.0471576
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 2.3495990  -- OK for SL --
   MIU time from 2021-07-02T23:48:43.310.002.000 to 2021-07-02T23:48:43.310.291.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 2.349607

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 18.3967566 to 18.3970456
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.6293110  -- OK for SL --
   MIU time from 2021-07-02T23:48:45.659.898.000 to 2021-07-02T23:48:45.660.187.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.629393

 - 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.0263566 to 41.0266456
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.6494390  -- OK for SL --
   MIU time from 2021-07-02T23:49:08.289.580.000 to 2021-07-02T23:49:08.289.869.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.649483

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 53.6760846 to 53.6763736
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-02T23:49:20.939.352.000 to 2021-07-02T23:49:20.939.641.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 = 14, 32bit 10MHz counter = 16.046868600 corrected by 40bit 10MHz counter of 15.736865400 obtained at 1Hz counter of 14. Result: 14.310004316
--
   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-07-02T23:48:43.309.861.725
   Max 1st sample MIU time among all SL packets: 2021-07-02T23:49:20.939.500.725
   Min 1st sample XO time among all SL packets: 14.309864041
   Max 1st sample XO time among all SL packets: 51.939503607
   TM values from -254 to 253 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-02T23:48:43.309.861.725 (XO: 14.309864041 - 14.310170042, t=35.6 degC)  Rank: 00082
   TM values: Max =   217  Min =  -253  Ave =    -4.52  Std =    25.57
   Min TM value:-253 at an offset of 106.613 usec -> 2021-07-02T23:48:43.309.968.337 (XO: 14.309970653)
   Max TM value:217 at an offset of 109.250 usec -> 2021-07-02T23:48:43.309.970.975 (XO: 14.309973291)
   Max dTM/dt [1/us]:1.69e+03 at an offset of 109.113 usec -> 2021-07-02T23:48:43.309.970.837 (XO: 14.309973153)
   Min dTM/dt [1/us]:-1.98e+03 at an offset of 106.425 usec -> 2021-07-02T23:48:43.309.968.150 (XO: 14.309970466)

 - Block number: 2 starting at 2021-07-02T23:48:45.659.757.725 (XO: 16.659760400 - 16.660066401, t=35.6 degC)  Rank: 00077
   TM values: Max =   241  Min =  -231  Ave =    -4.50  Std =    22.00
   Min TM value:-231 at an offset of 120.825 usec -> 2021-07-02T23:48:45.659.878.550 (XO: 16.659881226)
   Max TM value:241 at an offset of 123.563 usec -> 2021-07-02T23:48:45.659.881.287 (XO: 16.659883963)
   Max dTM/dt [1/us]:2.03e+03 at an offset of 123.425 usec -> 2021-07-02T23:48:45.659.881.150 (XO: 16.659883826)
   Min dTM/dt [1/us]:-1.86e+03 at an offset of 120.675 usec -> 2021-07-02T23:48:45.659.878.400 (XO: 16.659881076)

 - Block number: 3 starting at 2021-07-02T23:49:08.289.439.725 (XO: 39.289441438 - 39.289747439, t=35.6 degC)  Rank: 00079
   TM values: Max =   219  Min =  -254  Ave =    -4.42  Std =    20.96
   Min TM value:-254 at an offset of 117.650 usec -> 2021-07-02T23:49:08.289.557.375 (XO: 39.289559088)
   Max TM value:219 at an offset of 120.250 usec -> 2021-07-02T23:49:08.289.559.975 (XO: 39.289561688)
   Max dTM/dt [1/us]:1.85e+03 at an offset of 120.113 usec -> 2021-07-02T23:49:08.289.559.837 (XO: 39.289561551)
   Min dTM/dt [1/us]:-2.09e+03 at an offset of 117.413 usec -> 2021-07-02T23:49:08.289.557.137 (XO: 39.289558851)

 - Block number: 4 starting at 2021-07-02T23:49:20.939.211.725 (XO: 51.939214606 - 51.939520607, t=35.6 degC)  Rank: 00079
   TM values: Max =   253  Min =  -235  Ave =    -4.51  Std =    21.95
   Min TM value:-235 at an offset of 119.650 usec -> 2021-07-02T23:49:20.939.331.375 (XO: 51.939334257)
   Max TM value:253 at an offset of 122.413 usec -> 2021-07-02T23:49:20.939.334.137 (XO: 51.939337019)
   Max dTM/dt [1/us]:2.02e+03 at an offset of 122.263 usec -> 2021-07-02T23:49:20.939.333.987 (XO: 51.939336869)
   Min dTM/dt [1/us]:-1.83e+03 at an offset of 178.888 usec -> 2021-07-02T23:49:20.939.390.613 (XO: 51.939393494)
