-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Dec  1 16:26:48 2021 UTC
-- File 20210730_221726_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 4.067288 to 46.017222
-each separately from 4s to 46s and from 16933us to 617288us.
   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, ...
      13.399579 in 1 packets: 18
      20.149554 in 1 packets: 36
      8.399645 in 1 packets: 54
MIU packet time from 2021-07-30T22:17:33.067.288.000 to 2021-07-30T22:18:15.017.222.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, ...
      13.399579 in 1 packets: 18
      20.149554 in 1 packets: 36
      8.399645 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 5.8871130 to 47.8869732
   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.9999568 in 1 packets: 18
      19.9999334 in 1 packets: 36
      8.9999700 in 1 packets: 54
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 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      2 in 54 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 1 packets: 1
      1 in 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      2 in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 20210730_221726_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 5.9544025 to 5.9546915
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.3995350  -- OK for SL --
   MIU time from 2021-07-30T22:17:33.067.288.000 to 2021-07-30T22:17:33.067.577.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.399579

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 19.3542265 to 19.3545155
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.1494870  -- OK for SL --
   MIU time from 2021-07-30T22:17:46.467.156.000 to 2021-07-30T22:17:46.467.445.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.149554

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 39.5040025 to 39.5042915
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.3996150  -- OK for SL --
   MIU time from 2021-07-30T22:18:06.616.999.000 to 2021-07-30T22:18:06.617.288.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.399645

 - 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 47.9039065 to 47.9041955
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-30T22:18:15.016.933.000 to 2021-07-30T22:18:15.017.222.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 = 4, 32bit 10MHz counter = 5.954402500 corrected by 40bit 10MHz counter of 5.887113000 obtained at 1Hz counter of 4. Result: 4.067289722
--
   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.999996600 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-07-30T22:17:33.067.147.725
   Max 1st sample MIU time among all SL packets: 2021-07-30T22:18:15.017.081.725
   Min 1st sample XO time among all SL packets: 4.067149447
   Max 1st sample XO time among all SL packets: 46.017082083
   TM values from -261 to 249 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-30T22:17:33.067.147.725 (XO: 4.067149447 - 4.067455448, t=37.2 degC)  Rank: 00082
   TM values: Max =   249  Min =  -261  Ave =    -4.46  Std =    17.63
   Min TM value:-261 at an offset of 119.738 usec -> 2021-07-30T22:17:33.067.267.462 (XO: 4.067269184)
   Max TM value:249 at an offset of 119.475 usec -> 2021-07-30T22:17:33.067.267.200 (XO: 4.067268922)
   Max dTM/dt [1/us]:2.20e+03 at an offset of 122.113 usec -> 2021-07-30T22:17:33.067.269.837 (XO: 4.067271559)
   Min dTM/dt [1/us]:-2.45e+03 at an offset of 119.600 usec -> 2021-07-30T22:17:33.067.267.325 (XO: 4.067269047)

 - Block number: 2 starting at 2021-07-30T22:17:46.467.015.725 (XO: 17.467017966 - 17.467323967, t=37.2 degC)  Rank: 00080
   TM values: Max =   203  Min =  -249  Ave =    -4.56  Std =    19.16
   Min TM value:-249 at an offset of 129.063 usec -> 2021-07-30T22:17:46.467.144.787 (XO: 17.467147029)
   Max TM value:203 at an offset of 131.688 usec -> 2021-07-30T22:17:46.467.147.412 (XO: 17.467149654)
   Max dTM/dt [1/us]:1.65e+03 at an offset of 131.525 usec -> 2021-07-30T22:17:46.467.147.250 (XO: 17.467149492)
   Min dTM/dt [1/us]:-2.22e+03 at an offset of 128.900 usec -> 2021-07-30T22:17:46.467.144.625 (XO: 17.467146867)

 - Block number: 3 starting at 2021-07-30T22:18:06.616.858.725 (XO: 37.616861122 - 37.617167123, t=37.2 degC)  Rank: 00078
   TM values: Max =   218  Min =  -257  Ave =    -4.53  Std =    27.54
   Min TM value:-257 at an offset of 131.438 usec -> 2021-07-30T22:18:06.616.990.162 (XO: 37.616992560)
   Max TM value:218 at an offset of 131.150 usec -> 2021-07-30T22:18:06.616.989.875 (XO: 37.616992273)
   Max dTM/dt [1/us]:2.19e+03 at an offset of 129.075 usec -> 2021-07-30T22:18:06.616.987.800 (XO: 37.616990198)
   Min dTM/dt [1/us]:-1.95e+03 at an offset of 158.488 usec -> 2021-07-30T22:18:06.617.017.213 (XO: 37.617019610)

 - Block number: 4 starting at 2021-07-30T22:18:15.016.792.725 (XO: 46.016793082 - 46.017099083, t=37.2 degC)  Rank: 00080
   TM values: Max =   210  Min =  -245  Ave =    -4.57  Std =    18.35
   Min TM value:-245 at an offset of 134.075 usec -> 2021-07-30T22:18:15.016.926.800 (XO: 46.016927158)
   Max TM value:210 at an offset of 133.800 usec -> 2021-07-30T22:18:15.016.926.525 (XO: 46.016926883)
   Max dTM/dt [1/us]:1.64e+03 at an offset of 131.650 usec -> 2021-07-30T22:18:15.016.924.375 (XO: 46.016924733)
   Min dTM/dt [1/us]:-2.03e+03 at an offset of 133.963 usec -> 2021-07-30T22:18:15.016.926.687 (XO: 46.016927045)
