-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Jul  2 08:02:47 2023 UTC
-- File 20230624_193040_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 2.821201 to 45.941283
-each separately from 2s to 45s and from 211125us to 941283us.
   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.599617 in 1 packets: 18
      9.789729 in 1 packets: 36
      9.729580 in 1 packets: 54
MIU packet time from 2023-06-24T19:30:45.821.201.000 to 2023-06-24T19:31:28.941.283.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.599617 in 1 packets: 18
      9.789729 in 1 packets: 36
      9.729580 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 3.5696110 to 46.5694661
   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, ...
      23.9999191 in 1 packets: 18
      9.9999663 in 1 packets: 36
      8.9999697 in 1 packets: 54
Temperature FPGA: 
      FE -> 57.6 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      00 -> 55.0 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature XO: 
      C6 -> 45.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 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20230624_193040_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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.3908146 to 4.3911036
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.5995350  -- OK for SL --
   MIU time from 2023-06-24T19:30:45.821.201.000 to 2023-06-24T19:30:45.821.490.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.599617

 - 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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 27.9906386 to 27.9909276
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.7896950  -- OK for SL --
   MIU time from 2023-06-24T19:31:09.421.107.000 to 2023-06-24T19:31:09.421.396.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.789729

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 37.7806226 to 37.7809116
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.7295510  -- OK for SL --
   MIU time from 2023-06-24T19:31:19.211.125.000 to 2023-06-24T19:31:19.211.414.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.729580

 - 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:
      72 in 18 packets (all packets)  -- OK --
   10 MHz counter from 47.5104626 to 47.5107516
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-24T19:31:28.940.994.000 to 2023-06-24T19:31:28.941.283.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 = 2, 32bit 10MHz counter = 4.390814600 corrected by 40bit 10MHz counter of 3.569611000 obtained at 1Hz counter of 2. Result: 2.821206392
--
   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: 2023-06-24T19:30:45.821.060.725
   Max 1st sample MIU time among all SL packets: 2023-06-24T19:31:28.941.142.725
   Min 1st sample XO time among all SL packets: 2.821066117
   Max 1st sample XO time among all SL packets: 45.941148425
   TM values from -314 to 246 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-24T19:30:45.821.060.725 (XO: 2.821066117 - 2.821372118, t=45.2 degC)  Rank: 00075
   TM values: Max =   246  Min =  -304  Ave =    -4.49  Std =    32.93
   Min TM value:-304 at an offset of 100.263 usec -> 2023-06-24T19:30:45.821.160.987 (XO: 2.821166379)
   Max TM value:246 at an offset of 99.975 usec -> 2023-06-24T19:30:45.821.160.700 (XO: 2.821166092)
   Max dTM/dt [1/us]:2.10e+03 at an offset of 130.163 usec -> 2023-06-24T19:30:45.821.190.887 (XO: 2.821196280)
   Min dTM/dt [1/us]:-2.60e+03 at an offset of 100.088 usec -> 2023-06-24T19:30:45.821.160.812 (XO: 2.821166204)

 - Block number: 2 starting at 2023-06-24T19:31:09.420.966.725 (XO: 26.420969614 - 26.421275615, t=45.2 degC)  Rank: 00084
   TM values: Max =   230  Min =  -307  Ave =    -4.46  Std =    33.62
   Min TM value:-307 at an offset of 119.775 usec -> 2023-06-24T19:31:09.421.086.500 (XO: 26.421089390)
   Max TM value:230 at an offset of 120.075 usec -> 2023-06-24T19:31:09.421.086.800 (XO: 26.421089690)
   Max dTM/dt [1/us]:2.80e+03 at an offset of 119.888 usec -> 2023-06-24T19:31:09.421.086.612 (XO: 26.421089502)
   Min dTM/dt [1/us]:-2.62e+03 at an offset of 119.700 usec -> 2023-06-24T19:31:09.421.086.425 (XO: 26.421089315)

 - Block number: 3 starting at 2023-06-24T19:31:19.210.984.725 (XO: 36.210986621 - 36.211292622, t=45.2 degC)  Rank: 00076
   TM values: Max =   240  Min =  -278  Ave =    -4.50  Std =    31.72
   Min TM value:-278 at an offset of 128.675 usec -> 2023-06-24T19:31:19.211.113.400 (XO: 36.211115297)
   Max TM value:240 at an offset of 126.700 usec -> 2023-06-24T19:31:19.211.111.425 (XO: 36.211113322)
   Max dTM/dt [1/us]:2.47e+03 at an offset of 130.938 usec -> 2023-06-24T19:31:19.211.115.662 (XO: 36.211117559)
   Min dTM/dt [1/us]:-2.29e+03 at an offset of 128.550 usec -> 2023-06-24T19:31:19.211.113.275 (XO: 36.211115172)

 - Block number: 4 starting at 2023-06-24T19:31:28.940.853.725 (XO: 45.940859424 - 45.941165425, t=45.2 degC)  Rank: 00072
   TM values: Max =   237  Min =  -314  Ave =    -4.51  Std =    39.98
   Min TM value:-314 at an offset of 130.575 usec -> 2023-06-24T19:31:28.940.984.300 (XO: 45.940989999)
   Max TM value:237 at an offset of 130.363 usec -> 2023-06-24T19:31:28.940.984.087 (XO: 45.940989787)
   Max dTM/dt [1/us]:2.74e+03 at an offset of 132.913 usec -> 2023-06-24T19:31:28.940.986.637 (XO: 45.940992337)
   Min dTM/dt [1/us]:-2.63e+03 at an offset of 190.013 usec -> 2023-06-24T19:31:28.941.043.738 (XO: 45.941049437)
