-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Jan  1 15:32:39 2022 UTC
-- File 20210902_223344_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 7.143039 to 49.663885
-each separately from 7s to 49s and from 143039us to 745531us.
   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, ...
      22.450153 in 1 packets: 18
      5.151472 in 1 packets: 36
      14.918065 in 1 packets: 54
MIU packet time from 2021-09-02T22:33:54.143.039.000 to 2021-09-02T22:34:36.663.885.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, ...
      22.450153 in 1 packets: 18
      5.151472 in 1 packets: 36
      14.918065 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 8.8710168 to 50.8708770
   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, ...
      21.9999268 in 1 packets: 18
      4.9999833 in 1 packets: 36
      14.9999501 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      04 -> 49.8 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 18 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
Number of generated alerts: 
      0 in 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 18 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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_223344_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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.0140573 to 9.0143463
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.4500790  -- OK for SL --
   MIU time from 2021-09-02T22:33:54.143.039.000 to 2021-09-02T22:33:54.143.328.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.450153

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 31.4644253 to 31.4647143
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.1514550  -- OK for SL --
   MIU time from 2021-09-02T22:34:16.593.481.000 to 2021-09-02T22:34:16.593.770.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.151472

 - 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 36.6161693 to 36.6164583
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.9180150  -- OK for SL --
   MIU time from 2021-09-02T22:34:21.745.242.000 to 2021-09-02T22:34:21.745.531.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.918065

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 51.5344733 to 51.5347623
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-02T22:34:36.663.596.000 to 2021-09-02T22:34:36.663.885.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 = 7, 32bit 10MHz counter = 9.014057300 corrected by 40bit 10MHz counter of 8.871016800 obtained at 1Hz counter of 7. Result: 7.143040986
--
   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-02T22:33:54.142.898.725
   Max 1st sample MIU time among all SL packets: 2021-09-02T22:34:36.663.744.725
   Min 1st sample XO time among all SL packets: 7.142900711
   Max 1st sample XO time among all SL packets: 49.663747215
   TM values from -266 to 224 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-02T22:33:54.142.898.725 (XO: 7.142900711 - 7.143206712, t=37.2 degC)  Rank: 00080
   TM values: Max =   212  Min =  -263  Ave =    -4.43  Std =    25.42
   Min TM value:-263 at an offset of 89.538 usec -> 2021-09-02T22:33:54.142.988.262 (XO: 7.142990249)
   Max TM value:212 at an offset of 104.888 usec -> 2021-09-02T22:33:54.143.003.612 (XO: 7.143005599)
   Max dTM/dt [1/us]:1.89e+03 at an offset of 104.750 usec -> 2021-09-02T22:33:54.143.003.475 (XO: 7.143005461)
   Min dTM/dt [1/us]:-2.01e+03 at an offset of 89.375 usec -> 2021-09-02T22:33:54.142.988.100 (XO: 7.142990086)

 - Block number: 2 starting at 2021-09-02T22:34:16.593.340.725 (XO: 29.593343383 - 29.593649384, t=37.2 degC)  Rank: 00082
   TM values: Max =   199  Min =  -264  Ave =    -4.38  Std =    30.30
   Min TM value:-264 at an offset of 188.088 usec -> 2021-09-02T22:34:16.593.528.813 (XO: 29.593531471)
   Max TM value:199 at an offset of 158.188 usec -> 2021-09-02T22:34:16.593.498.913 (XO: 29.593501571)
   Max dTM/dt [1/us]:1.85e+03 at an offset of 204.238 usec -> 2021-09-02T22:34:16.593.544.963 (XO: 29.593547621)
   Min dTM/dt [1/us]:-2.40e+03 at an offset of 158.301 usec -> 2021-09-02T22:34:16.593.499.025 (XO: 29.593501684)

 - Block number: 3 starting at 2021-09-02T22:34:21.745.101.725 (XO: 34.745104584 - 34.745410585, t=37.2 degC)  Rank: 00084
   TM values: Max =   224  Min =  -266  Ave =    -4.31  Std =    23.16
   Min TM value:-266 at an offset of 128.263 usec -> 2021-09-02T22:34:21.745.229.987 (XO: 34.745232847)
   Max TM value:224 at an offset of 128.538 usec -> 2021-09-02T22:34:21.745.230.262 (XO: 34.745233122)
   Max dTM/dt [1/us]:2.19e+03 at an offset of 128.388 usec -> 2021-09-02T22:34:21.745.230.112 (XO: 34.745232972)
   Min dTM/dt [1/us]:-2.57e+03 at an offset of 125.838 usec -> 2021-09-02T22:34:21.745.227.562 (XO: 34.745230422)

 - Block number: 4 starting at 2021-09-02T22:34:36.663.455.725 (XO: 49.663458214 - 49.663764215, t=37.2 degC)  Rank: 00077
   TM values: Max =   218  Min =  -247  Ave =    -4.35  Std =    19.99
   Min TM value:-247 at an offset of 125.988 usec -> 2021-09-02T22:34:36.663.581.712 (XO: 49.663584202)
   Max TM value:218 at an offset of 128.563 usec -> 2021-09-02T22:34:36.663.584.287 (XO: 49.663586777)
   Max dTM/dt [1/us]:1.96e+03 at an offset of 128.425 usec -> 2021-09-02T22:34:36.663.584.150 (XO: 49.663586640)
   Min dTM/dt [1/us]:-1.92e+03 at an offset of 125.813 usec -> 2021-09-02T22:34:36.663.581.537 (XO: 49.663584027)
