-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Jun  2 06:32:14 2023 UTC
-- File 20230602_013219_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 5.010014 to 49.219945
-each separately from 5s to 49s and from 10014us to 730076us.
   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.719484 in 1 packets: 18
      6.589703 in 1 packets: 36
      14.899588 in 1 packets: 54
MIU packet time from 2023-06-02T01:32:27.010.014.000 to 2023-06-02T01:33:11.219.945.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.719484 in 1 packets: 18
      6.589703 in 1 packets: 36
      14.899588 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.5061929 to 50.5060384
   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.9999228 in 1 packets: 18
      6.9999754 in 1 packets: 36
      14.9999473 in 1 packets: 54
Temperature FPGA: 
      00 -> 55.0 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      01 -> 53.7 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20230602_013219_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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.5162077 to 6.5164967
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.7194070  -- OK for SL --
   MIU time from 2023-06-02T01:32:27.010.014.000 to 2023-06-02T01:32:27.010.303.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.719484

 - 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:
      72 in 18 packets (all packets)  -- OK --
   10 MHz counter from 29.2359037 to 29.2361927
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.5896790  -- OK for SL --
   MIU time from 2023-06-02T01:32:49.729.787.000 to 2023-06-02T01:32:49.730.076.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.589703

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 35.8258717 to 35.8261607
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.8995350  -- OK for SL --
   MIU time from 2023-06-02T01:32:56.319.779.000 to 2023-06-02T01:32:56.320.068.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.899588

 - 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 50.7256957 to 50.7259847
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-02T01:33:11.219.656.000 to 2023-06-02T01:33:11.219.945.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 = 5, 32bit 10MHz counter = 6.516207700 corrected by 40bit 10MHz counter of 6.506192900 obtained at 1Hz counter of 5. Result: 5.010014835
--
   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.999996500 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2023-06-02T01:32:27.009.873.725
   Max 1st sample MIU time among all SL packets: 2023-06-02T01:33:11.219.804.725
   Min 1st sample XO time among all SL packets: 5.009874560
   Max 1st sample XO time among all SL packets: 49.219806794
   TM values from -233 to 209 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-02T01:32:27.009.873.725 (XO: 5.009874560 - 5.010180561, t=42.0 degC)  Rank: 00082
   TM values: Max =   209  Min =  -233  Ave =    -4.51  Std =    27.90
   Min TM value:-233 at an offset of 127.275 usec -> 2023-06-02T01:32:27.010.001.000 (XO: 5.010001835)
   Max TM value:209 at an offset of 246.388 usec -> 2023-06-02T01:32:27.010.120.113 (XO: 5.010120948)
   Max dTM/dt [1/us]:1.54e+03 at an offset of 129.738 usec -> 2023-06-02T01:32:27.010.003.462 (XO: 5.010004298)
   Min dTM/dt [1/us]:-2.21e+03 at an offset of 246.476 usec -> 2023-06-02T01:32:27.010.120.200 (XO: 5.010121035)

 - Block number: 2 starting at 2023-06-02T01:32:49.729.646.725 (XO: 27.729650279 - 27.729956280, t=42.0 degC)  Rank: 00072
   TM values: Max =   181  Min =  -224  Ave =    -4.43  Std =    24.52
   Min TM value:-224 at an offset of 187.301 usec -> 2023-06-02T01:32:49.729.834.025 (XO: 27.729837579)
   Max TM value:181 at an offset of 127.163 usec -> 2023-06-02T01:32:49.729.773.887 (XO: 27.729777442)
   Max dTM/dt [1/us]:1.82e+03 at an offset of 187.426 usec -> 2023-06-02T01:32:49.729.834.150 (XO: 27.729837704)
   Min dTM/dt [1/us]:-1.83e+03 at an offset of 184.888 usec -> 2023-06-02T01:32:49.729.831.613 (XO: 27.729835167)

 - Block number: 3 starting at 2023-06-02T01:32:56.319.638.725 (XO: 34.319641444 - 34.319947445, t=42.0 degC)  Rank: 00079
   TM values: Max =   199  Min =  -221  Ave =    -4.55  Std =    28.68
   Min TM value:-221 at an offset of 180.138 usec -> 2023-06-02T01:32:56.319.818.863 (XO: 34.319821582)
   Max TM value:199 at an offset of 154.988 usec -> 2023-06-02T01:32:56.319.793.713 (XO: 34.319796432)
   Max dTM/dt [1/us]:1.45e+03 at an offset of 182.513 usec -> 2023-06-02T01:32:56.319.821.238 (XO: 34.319823957)
   Min dTM/dt [1/us]:-1.90e+03 at an offset of 155.076 usec -> 2023-06-02T01:32:56.319.793.800 (XO: 34.319796519)

 - Block number: 4 starting at 2023-06-02T01:33:11.219.515.725 (XO: 49.219517793 - 49.219823794, t=42.0 degC)  Rank: 00077
   TM values: Max =   182  Min =  -195  Ave =    -4.47  Std =    24.02
   Min TM value:-195 at an offset of 170.026 usec -> 2023-06-02T01:33:11.219.685.750 (XO: 49.219687819)
   Max TM value:182 at an offset of 131.925 usec -> 2023-06-02T01:33:11.219.647.650 (XO: 49.219649719)
   Max dTM/dt [1/us]:1.45e+03 at an offset of 167.588 usec -> 2023-06-02T01:33:11.219.683.313 (XO: 49.219685381)
   Min dTM/dt [1/us]:-1.69e+03 at an offset of 144.676 usec -> 2023-06-02T01:33:11.219.660.400 (XO: 49.219662469)
