-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Jun  3 08:50:37 2023 UTC
-- File 20230602_224014_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 6.780252 to 50.410490
-each separately from 6s to 50s and from 222us to 780541us.
   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, ...
      13.219681 in 1 packets: 18
      19.779715 in 1 packets: 36
      10.629686 in 1 packets: 54
MIU packet time from 2023-06-02T22:40:23.780.252.000 to 2023-06-02T22:41:07.410.490.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, ...
      13.219681 in 1 packets: 18
      19.779715 in 1 packets: 36
      10.629686 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 7.7299543 to 51.7297967
   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, ...
      13.9999499 in 1 packets: 18
      18.9999319 in 1 packets: 36
      10.9999606 in 1 packets: 54
Temperature FPGA: 
      01 -> 53.7 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: 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 72 packets (all packets)
Number of generated alerts: 
      0 in 72 packets (all packets)
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_224014_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 8.5102072 to 8.5104962
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.2196310  -- OK for SL --
   MIU time from 2023-06-02T22:40:23.780.252.000 to 2023-06-02T22:40:23.780.541.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.219681

 - 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 21.7301272 to 21.7304162
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.7796470  -- OK for SL --
   MIU time from 2023-06-02T22:40:37.000.222.000 to 2023-06-02T22:40:37.000.511.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.779715

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 41.5100632 to 41.5103522
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.6296470  -- OK for SL --
   MIU time from 2023-06-02T22:40:56.780.226.000 to 2023-06-02T22:40:56.780.515.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.629686

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 52.1399992 to 52.1402882
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-02T22:41:07.410.201.000 to 2023-06-02T22:41:07.410.490.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 = 6, 32bit 10MHz counter = 8.510207200 corrected by 40bit 10MHz counter of 7.729954300 obtained at 1Hz counter of 6. Result: 6.780255709
--
   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: 2023-06-02T22:40:23.780.111.725
   Max 1st sample MIU time among all SL packets: 2023-06-02T22:41:07.410.349.725
   Min 1st sample XO time among all SL packets: 6.780115433
   Max 1st sample XO time among all SL packets: 50.410352661
   TM values from -280 to 207 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-02T22:40:23.780.111.725 (XO: 6.780115433 - 6.780421435, t=42.0 degC)  Rank: 00080
   TM values: Max =   182  Min =  -253  Ave =    -4.41  Std =    22.96
   Min TM value:-253 at an offset of 120.563 usec -> 2023-06-02T22:40:23.780.232.287 (XO: 6.780235996)
   Max TM value:182 at an offset of 118.525 usec -> 2023-06-02T22:40:23.780.230.250 (XO: 6.780233959)
   Max dTM/dt [1/us]:1.94e+03 at an offset of 122.975 usec -> 2023-06-02T22:40:23.780.234.700 (XO: 6.780238409)
   Min dTM/dt [1/us]:-2.12e+03 at an offset of 120.413 usec -> 2023-06-02T22:40:23.780.232.137 (XO: 6.780235846)

 - Block number: 2 starting at 2023-06-02T22:40:37.000.081.725 (XO: 20.000082725 - 20.000388726, t=42.0 degC)  Rank: 00078
   TM values: Max =   198  Min =  -280  Ave =    -4.45  Std =    21.90
   Min TM value:-280 at an offset of 107.050 usec -> 2023-06-02T22:40:37.000.188.775 (XO: 20.000189776)
   Max TM value:198 at an offset of 106.788 usec -> 2023-06-02T22:40:37.000.188.512 (XO: 20.000189513)
   Max dTM/dt [1/us]:2.04e+03 at an offset of 109.450 usec -> 2023-06-02T22:40:37.000.191.175 (XO: 20.000192176)
   Min dTM/dt [1/us]:-2.35e+03 at an offset of 106.913 usec -> 2023-06-02T22:40:37.000.188.637 (XO: 20.000189638)

 - Block number: 3 starting at 2023-06-02T22:40:56.780.085.725 (XO: 39.780089633 - 39.780395634, t=42.0 degC)  Rank: 00078
   TM values: Max =   207  Min =  -259  Ave =    -4.42  Std =    23.61
   Min TM value:-259 at an offset of 120.113 usec -> 2023-06-02T22:40:56.780.205.837 (XO: 39.780209746)
   Max TM value:207 at an offset of 119.838 usec -> 2023-06-02T22:40:56.780.205.562 (XO: 39.780209471)
   Max dTM/dt [1/us]:1.89e+03 at an offset of 122.488 usec -> 2023-06-02T22:40:56.780.208.212 (XO: 39.780212121)
   Min dTM/dt [1/us]:-2.35e+03 at an offset of 119.963 usec -> 2023-06-02T22:40:56.780.205.687 (XO: 39.780209596)

 - Block number: 4 starting at 2023-06-02T22:41:07.410.060.725 (XO: 50.410063660 - 50.410369661, t=42.0 degC)  Rank: 00075
   TM values: Max =   170  Min =  -177  Ave =    -4.33  Std =    23.14
   Min TM value:-177 at an offset of 121.475 usec -> 2023-06-02T22:41:07.410.182.200 (XO: 50.410185136)
   Max TM value:170 at an offset of 124.225 usec -> 2023-06-02T22:41:07.410.184.950 (XO: 50.410187886)
   Max dTM/dt [1/us]:1.30e+03 at an offset of 173.013 usec -> 2023-06-02T22:41:07.410.233.738 (XO: 50.410236673)
   Min dTM/dt [1/us]:-1.45e+03 at an offset of 124.338 usec -> 2023-06-02T22:41:07.410.185.062 (XO: 50.410187998)
