-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Mar  7 05:51:51 2023 UTC
-- File 20220522_231835_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.480636 to 49.420396
-each separately from 14s to 49s and from 420107us to 680596us.
   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, ...
      0.979731 in 1 packets: 18
      23.219362 in 1 packets: 36
      10.739511 in 1 packets: 54
MIU packet time from 2022-05-22T23:18:52.480.636.000 to 2022-05-22T23:19:27.420.396.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, ...
      0.979731 in 1 packets: 18
      23.219362 in 1 packets: 36
      10.739511 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.4767519 to 50.4766251
   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, ...
      0.9999964 in 1 packets: 18
      22.9999165 in 1 packets: 36
      10.9999603 in 1 packets: 54
Temperature FPGA: 
      00 -> 55.0 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      01 -> 53.7 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Temperature XO: 
      C4 -> 42.0 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 72 packets (all packets)
Number of generated alerts: 
      0 in 72 packets (all packets)
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 20220522_231835_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:
      69 in 18 packets (all packets)  -- OK --
   10 MHz counter from 15.9573892 to 15.9576782
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 0.9797270  -- OK for SL --
   MIU time from 2022-05-22T23:18:52.480.636.000 to 2022-05-22T23:18:52.480.925.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 0.979731

 - 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:
      70 in 18 packets (all packets)  -- OK --
   10 MHz counter from 16.9374052 to 16.9376942
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.2192790  -- OK for SL --
   MIU time from 2022-05-22T23:18:53.460.656.000 to 2022-05-22T23:18:53.460.945.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.219362

 - 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:
      69 in 18 packets (all packets)  -- OK --
   10 MHz counter from 40.1569732 to 40.1572622
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.7394710  -- OK for SL --
   MIU time from 2022-05-22T23:19:16.680.307.000 to 2022-05-22T23:19:16.680.596.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.739511

 - 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:
      64 in 18 packets (all packets)  -- OK --
   10 MHz counter from 50.8967332 to 50.8970222
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-05-22T23:19:27.420.107.000 to 2022-05-22T23:19:27.420.396.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 = 15.957389200 corrected by 40bit 10MHz counter of 15.476751900 obtained at 1Hz counter of 14. Result: 14.480639030
--
   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: 2022-05-22T23:18:52.480.495.725
   Max 1st sample MIU time among all SL packets: 2022-05-22T23:19:27.420.255.725
   Min 1st sample XO time among all SL packets: 14.480498755
   Max 1st sample XO time among all SL packets: 49.420258380
   TM values from -249 to 200 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-05-22T23:18:52.480.495.725 (XO: 14.480498755 - 14.480804756, t=42.0 degC)  Rank: 00069
   TM values: Max =   188  Min =  -228  Ave =    -4.49  Std =    24.08
   Min TM value:-228 at an offset of 125.863 usec -> 2022-05-22T23:18:52.480.621.587 (XO: 14.480624618)
   Max TM value:188 at an offset of 128.225 usec -> 2022-05-22T23:18:52.480.623.950 (XO: 14.480626980)
   Max dTM/dt [1/us]:1.75e+03 at an offset of 213.188 usec -> 2022-05-22T23:18:52.480.708.913 (XO: 14.480711943)
   Min dTM/dt [1/us]:-1.75e+03 at an offset of 127.863 usec -> 2022-05-22T23:18:52.480.623.587 (XO: 14.480626618)

 - Block number: 2 starting at 2022-05-22T23:18:53.460.515.725 (XO: 15.460518283 - 15.460824284, t=42.0 degC)  Rank: 00070
   TM values: Max =   194  Min =  -232  Ave =    -4.35  Std =    23.59
   Min TM value:-232 at an offset of 126.775 usec -> 2022-05-22T23:18:53.460.642.500 (XO: 15.460645058)
   Max TM value:194 at an offset of 129.088 usec -> 2022-05-22T23:18:53.460.644.812 (XO: 15.460647371)
   Max dTM/dt [1/us]:1.98e+03 at an offset of 128.975 usec -> 2022-05-22T23:18:53.460.644.700 (XO: 15.460647258)
   Min dTM/dt [1/us]:-1.82e+03 at an offset of 168.488 usec -> 2022-05-22T23:18:53.460.684.213 (XO: 15.460686771)

 - Block number: 3 starting at 2022-05-22T23:19:16.680.166.725 (XO: 38.680170574 - 38.680476575, t=42.0 degC)  Rank: 00069
   TM values: Max =   200  Min =  -249  Ave =    -4.29  Std =    26.19
   Min TM value:-249 at an offset of 128.100 usec -> 2022-05-22T23:19:16.680.294.825 (XO: 38.680298674)
   Max TM value:200 at an offset of 127.850 usec -> 2022-05-22T23:19:16.680.294.575 (XO: 38.680298424)
   Max dTM/dt [1/us]:1.73e+03 at an offset of 130.338 usec -> 2022-05-22T23:19:16.680.297.062 (XO: 38.680300912)
   Min dTM/dt [1/us]:-2.14e+03 at an offset of 127.950 usec -> 2022-05-22T23:19:16.680.294.675 (XO: 38.680298524)

 - Block number: 4 starting at 2022-05-22T23:19:27.419.966.725 (XO: 49.419969379 - 49.420275380, t=42.0 degC)  Rank: 00064
   TM values: Max =   181  Min =  -220  Ave =    -4.34  Std =    24.75
   Min TM value:-220 at an offset of 126.613 usec -> 2022-05-22T23:19:27.420.093.337 (XO: 49.420095992)
   Max TM value:181 at an offset of 129.038 usec -> 2022-05-22T23:19:27.420.095.762 (XO: 49.420098417)
   Max dTM/dt [1/us]:1.82e+03 at an offset of 128.938 usec -> 2022-05-22T23:19:27.420.095.662 (XO: 49.420098317)
   Min dTM/dt [1/us]:-1.83e+03 at an offset of 169.051 usec -> 2022-05-22T23:19:27.420.135.775 (XO: 49.420138430)
