-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Dec 19 20:41:02 2021 UTC
-- File 20210818_002009_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 13.270408 to 46.930086
-each separately from 13s to 46s and from 30195us to 930086us.
   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, ...
      12.759498 in 1 packets: 18
      7.599526 in 1 packets: 36
      13.299498 in 1 packets: 54
MIU packet time from 2021-08-18T00:20:25.270.408.000 to 2021-08-18T00:20:58.930.086.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, ...
      12.759498 in 1 packets: 18
      7.599526 in 1 packets: 36
      13.299498 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 14.9401945 to 47.9400853
   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, ...
      12.9999570 in 2 packets: 18, 54
      6.9999768 in 1 packets: 36
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 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 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 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 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 20210818_002009_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 15.2106035 to 15.2108925
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.7594550  -- OK for SL --
   MIU time from 2021-08-18T00:20:25.270.408.000 to 2021-08-18T00:20:25.270.697.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.759498

 - 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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 27.9703475 to 27.9706365
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.5995030  -- OK for SL --
   MIU time from 2021-08-18T00:20:38.030.195.000 to 2021-08-18T00:20:38.030.484.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.599526

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 35.5701395 to 35.5704285
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.2994550  -- OK for SL --
   MIU time from 2021-08-18T00:20:45.630.010.000 to 2021-08-18T00:20:45.630.299.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.299498

 - 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 48.8698835 to 48.8701725
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-18T00:20:58.929.797.000 to 2021-08-18T00:20:58.930.086.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 = 13, 32bit 10MHz counter = 15.210603500 corrected by 40bit 10MHz counter of 14.940194500 obtained at 1Hz counter of 13. Result: 13.270409892
--
   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.999996700 - 0.999996800
   Min 1st sample MIU time among all SL packets: 2021-08-18T00:20:25.270.267.725
   Max 1st sample MIU time among all SL packets: 2021-08-18T00:20:58.929.945.725
   Min 1st sample XO time among all SL packets: 13.270269617
   Max 1st sample XO time among all SL packets: 46.929949901
   TM values from -249 to 199 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-18T00:20:25.270.267.725 (XO: 13.270269617 - 13.270575618, t=37.2 degC)  Rank: 00081
   TM values: Max =   199  Min =  -249  Ave =    -4.53  Std =    26.43
   Min TM value:-249 at an offset of 176.413 usec -> 2021-08-18T00:20:25.270.444.138 (XO: 13.270446030)
   Max TM value:199 at an offset of 119.263 usec -> 2021-08-18T00:20:25.270.386.987 (XO: 13.270388880)
   Max dTM/dt [1/us]:1.74e+03 at an offset of 151.063 usec -> 2021-08-18T00:20:25.270.418.787 (XO: 13.270420680)
   Min dTM/dt [1/us]:-2.25e+03 at an offset of 119.400 usec -> 2021-08-18T00:20:25.270.387.125 (XO: 13.270389017)

 - Block number: 2 starting at 2021-08-18T00:20:38.030.054.725 (XO: 26.030055824 - 26.030361825, t=37.2 degC)  Rank: 00085
   TM values: Max =   173  Min =  -222  Ave =    -4.50  Std =    18.95
   Min TM value:-222 at an offset of 115.050 usec -> 2021-08-18T00:20:38.030.169.775 (XO: 26.030170875)
   Max TM value:173 at an offset of 114.738 usec -> 2021-08-18T00:20:38.030.169.462 (XO: 26.030170562)
   Max dTM/dt [1/us]:1.50e+03 at an offset of 130.063 usec -> 2021-08-18T00:20:38.030.184.787 (XO: 26.030185887)
   Min dTM/dt [1/us]:-1.97e+03 at an offset of 127.463 usec -> 2021-08-18T00:20:38.030.182.187 (XO: 26.030183287)

 - Block number: 3 starting at 2021-08-18T00:20:45.629.869.725 (XO: 33.629872941 - 33.630178942, t=37.2 degC)  Rank: 00076
   TM values: Max =   176  Min =  -198  Ave =    -4.44  Std =    18.74
   Min TM value:-198 at an offset of 128.238 usec -> 2021-08-18T00:20:45.629.997.962 (XO: 33.630001179)
   Max TM value:176 at an offset of 131.013 usec -> 2021-08-18T00:20:45.630.000.737 (XO: 33.630003954)
   Max dTM/dt [1/us]:1.36e+03 at an offset of 130.863 usec -> 2021-08-18T00:20:45.630.000.587 (XO: 33.630003804)
   Min dTM/dt [1/us]:-1.35e+03 at an offset of 116.025 usec -> 2021-08-18T00:20:45.629.985.750 (XO: 33.629988966)

 - Block number: 4 starting at 2021-08-18T00:20:58.929.656.725 (XO: 46.929660900 - 46.929966901, t=37.2 degC)  Rank: 00079
   TM values: Max =   190  Min =  -235  Ave =    -4.46  Std =    18.61
   Min TM value:-235 at an offset of 126.700 usec -> 2021-08-18T00:20:58.929.783.425 (XO: 46.929787600)
   Max TM value:190 at an offset of 129.250 usec -> 2021-08-18T00:20:58.929.785.975 (XO: 46.929790150)
   Max dTM/dt [1/us]:1.92e+03 at an offset of 129.100 usec -> 2021-08-18T00:20:58.929.785.825 (XO: 46.929790000)
   Min dTM/dt [1/us]:-2.21e+03 at an offset of 126.550 usec -> 2021-08-18T00:20:58.929.783.275 (XO: 46.929787450)
