-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Jan  1 13:15:26 2022 UTC
-- File 20210902_195502_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.312761 to 52.864442
-each separately from 4s to 52s and from 312761us to 864442us.
   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, ...
      23.390379 in 1 packets: 18
      12.940027 in 1 packets: 36
      12.220119 in 1 packets: 54
MIU packet time from 2021-09-02T19:55:09.312.761.000 to 2021-09-02T19:55:57.864.442.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, ...
      23.390379 in 1 packets: 18
      12.940027 in 1 packets: 36
      12.220119 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 6.0805518 to 54.0803921
   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, ...
      22.9999234 in 1 packets: 18
      12.9999567 in 1 packets: 36
      11.9999602 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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
      2 in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      0 in 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
      2 in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20210902_195502_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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.3933134 to 6.3936024
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.3903030  -- OK for SL --
   MIU time from 2021-09-02T19:55:09.312.761.000 to 2021-09-02T19:55:09.313.050.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.390379

 - 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 29.7839054 to 29.7841944
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.9399830  -- OK for SL --
   MIU time from 2021-09-02T19:55:32.703.429.000 to 2021-09-02T19:55:32.703.718.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.940027

 - 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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 42.7241774 to 42.7244664
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.2200790  -- OK for SL --
   MIU time from 2021-09-02T19:55:45.643.745.000 to 2021-09-02T19:55:45.644.034.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.220119

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 54.9445454 to 54.9448344
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-02T19:55:57.864.153.000 to 2021-09-02T19:55:57.864.442.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 = 6.393313400 corrected by 40bit 10MHz counter of 6.080551800 obtained at 1Hz counter of 4. Result: 4.312762663
--
   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-09-02T19:55:09.312.620.725
   Max 1st sample MIU time among all SL packets: 2021-09-02T19:55:57.864.301.725
   Min 1st sample XO time among all SL packets: 4.312622388
   Max 1st sample XO time among all SL packets: 52.864304964
   TM values from -278 to 254 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-02T19:55:09.312.620.725 (XO: 4.312622388 - 4.312928389, t=37.2 degC)  Rank: 00078
   TM values: Max =   252  Min =  -254  Ave =    -4.46  Std =    22.98
   Min TM value:-254 at an offset of 121.638 usec -> 2021-09-02T19:55:09.312.742.362 (XO: 4.312744026)
   Max TM value:252 at an offset of 121.888 usec -> 2021-09-02T19:55:09.312.742.612 (XO: 4.312744276)
   Max dTM/dt [1/us]:2.34e+03 at an offset of 121.725 usec -> 2021-09-02T19:55:09.312.742.450 (XO: 4.312744113)
   Min dTM/dt [1/us]:-2.35e+03 at an offset of 119.175 usec -> 2021-09-02T19:55:09.312.739.900 (XO: 4.312741563)

 - Block number: 2 starting at 2021-09-02T19:55:32.703.288.725 (XO: 27.703292246 - 27.703598247, t=37.2 degC)  Rank: 00080
   TM values: Max =   239  Min =  -276  Ave =    -4.38  Std =    26.19
   Min TM value:-276 at an offset of 105.338 usec -> 2021-09-02T19:55:32.703.394.062 (XO: 27.703397584)
   Max TM value:239 at an offset of 121.113 usec -> 2021-09-02T19:55:32.703.409.837 (XO: 27.703413359)
   Max dTM/dt [1/us]:2.53e+03 at an offset of 121.000 usec -> 2021-09-02T19:55:32.703.409.725 (XO: 27.703413246)
   Min dTM/dt [1/us]:-2.19e+03 at an offset of 118.338 usec -> 2021-09-02T19:55:32.703.407.062 (XO: 27.703410584)

 - Block number: 3 starting at 2021-09-02T19:55:45.643.604.725 (XO: 40.643607349 - 40.643913350, t=37.2 degC)  Rank: 00084
   TM values: Max =   227  Min =  -278  Ave =    -4.41  Std =    26.55
   Min TM value:-278 at an offset of 92.550 usec -> 2021-09-02T19:55:45.643.697.275 (XO: 40.643699899)
   Max TM value:227 at an offset of 108.038 usec -> 2021-09-02T19:55:45.643.712.762 (XO: 40.643715387)
   Max dTM/dt [1/us]:2.55e+03 at an offset of 107.925 usec -> 2021-09-02T19:55:45.643.712.650 (XO: 40.643715274)
   Min dTM/dt [1/us]:-2.17e+03 at an offset of 92.388 usec -> 2021-09-02T19:55:45.643.697.112 (XO: 40.643699737)

 - Block number: 4 starting at 2021-09-02T19:55:57.864.012.725 (XO: 52.864015963 - 52.864321964, t=37.2 degC)  Rank: 00076
   TM values: Max =   254  Min =  -260  Ave =    -4.57  Std =    20.22
   Min TM value:-260 at an offset of 33.688 usec -> 2021-09-02T19:55:57.864.046.412 (XO: 52.864049650)
   Max TM value:254 at an offset of 36.213 usec -> 2021-09-02T19:55:57.864.048.937 (XO: 52.864052175)
   Max dTM/dt [1/us]:2.18e+03 at an offset of 36.063 usec -> 2021-09-02T19:55:57.864.048.787 (XO: 52.864052025)
   Min dTM/dt [1/us]:-1.98e+03 at an offset of 33.500 usec -> 2021-09-02T19:55:57.864.046.225 (XO: 52.864049463)
