-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Mar  6 22:33:37 2023 UTC
-- File 20220521_160100_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 3.187978 to 57.255417
-each separately from 3s to 57s and from 187978us to 996779us.
   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.808223 in 1 packets: 18
      11.359050 in 1 packets: 36
      18.899010 in 1 packets: 54
MIU packet time from 2022-05-21T16:01:06.187.978.000 to 2022-05-21T16:02:00.255.417.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.808223 in 1 packets: 18
      11.359050 in 1 packets: 36
      18.899010 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 4.7972387 to 58.7970487
   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.9999190 in 1 packets: 18
      11.9999577 in 1 packets: 36
      18.9999333 in 1 packets: 54
Temperature FPGA: 
      02 -> 52.4 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      03 -> 51.1 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      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 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      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 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      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 20220521_160100_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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.9852174 to 4.9855064
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.8081430  -- OK for SL --
   MIU time from 2022-05-21T16:01:06.187.978.000 to 2022-05-21T16:01:06.188.267.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.808223

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 28.7936494 to 28.7939384
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.3590070  -- OK for SL --
   MIU time from 2022-05-21T16:01:29.996.490.000 to 2022-05-21T16:01:29.996.779.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.359050

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 40.1529454 to 40.1532344
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.8989430  -- OK for SL --
   MIU time from 2022-05-21T16:01:41.355.829.000 to 2022-05-21T16:01:41.356.118.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.899010

 - 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 59.0521774 to 59.0524664
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-05-21T16:02:00.255.128.000 to 2022-05-21T16:02:00.255.417.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 = 3, 32bit 10MHz counter = 4.985217400 corrected by 40bit 10MHz counter of 4.797238700 obtained at 1Hz counter of 3. Result: 3.187979377
--
   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.999996400 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2022-05-21T16:01:06.187.837.725
   Max 1st sample MIU time among all SL packets: 2022-05-21T16:02:00.255.276.725
   Min 1st sample XO time among all SL packets: 3.187839101
   Max 1st sample XO time among all SL packets: 57.255278344
   TM values from -279 to 235 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-05-21T16:01:06.187.837.725 (XO: 3.187839101 - 3.188145102, t=42.0 degC)  Rank: 00084
   TM values: Max =   226  Min =  -245  Ave =    -4.61  Std =    29.72
   Min TM value:-245 at an offset of 126.113 usec -> 2022-05-21T16:01:06.187.963.837 (XO: 3.187965214)
   Max TM value:226 at an offset of 126.350 usec -> 2022-05-21T16:01:06.187.964.075 (XO: 3.187965452)
   Max dTM/dt [1/us]:2.34e+03 at an offset of 126.238 usec -> 2022-05-21T16:01:06.187.963.962 (XO: 3.187965339)
   Min dTM/dt [1/us]:-2.26e+03 at an offset of 123.850 usec -> 2022-05-21T16:01:06.187.961.575 (XO: 3.187962952)

 - Block number: 2 starting at 2022-05-21T16:01:29.996.349.725 (XO: 26.996355012 - 26.996661013, t=42.0 degC)  Rank: 00078
   TM values: Max =   227  Min =  -279  Ave =    -4.48  Std =    29.47
   Min TM value:-279 at an offset of 125.338 usec -> 2022-05-21T16:01:29.996.475.062 (XO: 26.996480350)
   Max TM value:227 at an offset of 127.713 usec -> 2022-05-21T16:01:29.996.477.437 (XO: 26.996482725)
   Max dTM/dt [1/us]:2.31e+03 at an offset of 127.613 usec -> 2022-05-21T16:01:29.996.477.337 (XO: 26.996482625)
   Min dTM/dt [1/us]:-2.21e+03 at an offset of 127.375 usec -> 2022-05-21T16:01:29.996.477.100 (XO: 26.996482387)

 - Block number: 3 starting at 2022-05-21T16:01:41.355.688.725 (XO: 38.355690970 - 38.355996971, t=42.0 degC)  Rank: 00083
   TM values: Max =   235  Min =  -271  Ave =    -4.50  Std =    26.82
   Min TM value:-271 at an offset of 181.526 usec -> 2022-05-21T16:01:41.355.870.250 (XO: 38.355872496)
   Max TM value:235 at an offset of 125.000 usec -> 2022-05-21T16:01:41.355.813.725 (XO: 38.355815970)
   Max dTM/dt [1/us]:2.18e+03 at an offset of 124.900 usec -> 2022-05-21T16:01:41.355.813.625 (XO: 38.355815870)
   Min dTM/dt [1/us]:-2.30e+03 at an offset of 122.463 usec -> 2022-05-21T16:01:41.355.811.187 (XO: 38.355813433)

 - Block number: 4 starting at 2022-05-21T16:02:00.254.987.725 (XO: 57.254989343 - 57.255295344, t=42.0 degC)  Rank: 00077
   TM values: Max =   226  Min =  -268  Ave =    -4.56  Std =    22.39
   Min TM value:-268 at an offset of 120.550 usec -> 2022-05-21T16:02:00.255.108.275 (XO: 57.255109893)
   Max TM value:226 at an offset of 120.275 usec -> 2022-05-21T16:02:00.255.108.000 (XO: 57.255109618)
   Max dTM/dt [1/us]:2.26e+03 at an offset of 122.800 usec -> 2022-05-21T16:02:00.255.110.525 (XO: 57.255112143)
   Min dTM/dt [1/us]:-2.27e+03 at an offset of 120.375 usec -> 2022-05-21T16:02:00.255.108.100 (XO: 57.255109718)
