-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Mar 21 07:11:04 2023 UTC
-- File 20220622_231413_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 8.172941 to 33.912888
-each separately from 8s to 33s and from 102685us to 912888us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      17.929455 in 1 packets: 18
      7.809625 in 1 packets: 36
MIU packet time from 2022-06-22T23:14:24.172.941.000 to 2022-06-22T23:14:49.912.888.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      17.929455 in 1 packets: 18
      7.809625 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 9.7564273 to 34.7563379
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      17.9999356 in 1 packets: 18
      6.9999750 in 1 packets: 36
Temperature FPGA: 
      04 -> 49.8 degC in 54 packets (all packets)
Temperature XO: 
      C1 -> 37.2 degC in 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 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 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20220622_231413_1227.dat, 3 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.9293692 to 9.9296582
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.9293910  -- OK for SL --
   MIU time from 2022-06-22T23:14:24.172.941.000 to 2022-06-22T23:14:24.173.230.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.929455

 - 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:
      86 in 18 packets (all packets)  -- OK --
   10 MHz counter from 27.8590492 to 27.8593382
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.8095990  -- OK for SL --
   MIU time from 2022-06-22T23:14:42.102.685.000 to 2022-06-22T23:14:42.102.974.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.809625

 - 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 35.6689372 to 35.6692262
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-22T23:14:49.912.599.000 to 2022-06-22T23:14:49.912.888.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 8, 32bit 10MHz counter = 9.929369200 corrected by 40bit 10MHz counter of 9.756427300 obtained at 1Hz counter of 8. Result: 8.172942523
--
   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-06-22T23:14:24.172.800.725
   Max 1st sample MIU time among all SL packets: 2022-06-22T23:14:49.912.747.725
   Min 1st sample XO time among all SL packets: 8.172802247
   Max 1st sample XO time among all SL packets: 33.912751311
   TM values from -264 to 204 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-22T23:14:24.172.800.725 (XO: 8.172802247 - 8.173108248, t=37.2 degC)  Rank: 00076
   TM values: Max =   202  Min =  -248  Ave =    -4.61  Std =    22.18
   Min TM value:-248 at an offset of 127.750 usec -> 2022-06-22T23:14:24.172.928.475 (XO: 8.172929998)
   Max TM value:202 at an offset of 125.263 usec -> 2022-06-22T23:14:24.172.925.987 (XO: 8.172927510)
   Max dTM/dt [1/us]:2.30e+03 at an offset of 127.875 usec -> 2022-06-22T23:14:24.172.928.600 (XO: 8.172930123)
   Min dTM/dt [1/us]:-2.16e+03 at an offset of 125.363 usec -> 2022-06-22T23:14:24.172.926.087 (XO: 8.172927610)

 - Block number: 2 starting at 2022-06-22T23:14:42.102.544.725 (XO: 26.102546384 - 26.102852385, t=37.2 degC)  Rank: 00086
   TM values: Max =   204  Min =  -235  Ave =    -4.47  Std =    19.88
   Min TM value:-235 at an offset of 115.788 usec -> 2022-06-22T23:14:42.102.660.512 (XO: 26.102662172)
   Max TM value:204 at an offset of 111.638 usec -> 2022-06-22T23:14:42.102.656.362 (XO: 26.102658022)
   Max dTM/dt [1/us]:2.09e+03 at an offset of 111.475 usec -> 2022-06-22T23:14:42.102.656.200 (XO: 26.102657859)
   Min dTM/dt [1/us]:-1.68e+03 at an offset of 115.725 usec -> 2022-06-22T23:14:42.102.660.450 (XO: 26.102662109)

 - Block number: 3 starting at 2022-06-22T23:14:49.912.458.725 (XO: 33.912462310 - 33.912768311, t=37.2 degC)  Rank: 00083
   TM values: Max =   186  Min =  -264  Ave =    -4.51  Std =    20.75
   Min TM value:-264 at an offset of 128.163 usec -> 2022-06-22T23:14:49.912.586.887 (XO: 33.912590473)
   Max TM value:186 at an offset of 123.900 usec -> 2022-06-22T23:14:49.912.582.625 (XO: 33.912586210)
   Max dTM/dt [1/us]:2.24e+03 at an offset of 128.250 usec -> 2022-06-22T23:14:49.912.586.975 (XO: 33.912590560)
   Min dTM/dt [1/us]:-2.09e+03 at an offset of 125.775 usec -> 2022-06-22T23:14:49.912.584.500 (XO: 33.912588085)
