-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Mar 24 11:23:41 2023 UTC
-- File 20220125_060559_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 0.590106 to 53.841018
-each separately from 0s to 53s and from 20511us to 841018us.
   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, ...
      16.569996 in 1 packets: 18
      19.859831 in 1 packets: 36
      16.819929 in 1 packets: 54
MIU packet time from 2022-01-25T06:06:02.590.106.000 to 2022-01-25T06:06:55.841.018.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, ...
      16.569996 in 1 packets: 18
      19.859831 in 1 packets: 36
      16.819929 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 1.3450857 to 54.3448945
   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, ...
      16.9999386 in 1 packets: 18
      19.9999278 in 1 packets: 36
      15.9999424 in 1 packets: 54
Temperature FPGA: 
      03 -> 51.1 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      04 -> 49.8 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
      05 -> 48.5 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature XO: 
      C1 -> 37.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 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 20220125_060559_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:
      61 in 18 packets (all packets)  -- OK --
   10 MHz counter from 1.9351922 to 1.9354812
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.5699350  -- OK for SL --
   MIU time from 2022-01-25T06:06:02.590.106.000 to 2022-01-25T06:06:02.590.395.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.569996

 - 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:
      64 in 18 packets (all packets)  -- OK --
   10 MHz counter from 18.5054162 to 18.5057052
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.8597590  -- OK for SL --
   MIU time from 2022-01-25T06:06:19.160.391.000 to 2022-01-25T06:06:19.160.680.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.859831

 - 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:
      71 in 18 packets (all packets)  -- OK --
   10 MHz counter from 38.3654642 to 38.3657532
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.8198710  -- OK for SL --
   MIU time from 2022-01-25T06:06:39.020.511.000 to 2022-01-25T06:06:39.020.800.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.819929

 - 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:
      63 in 18 packets (all packets)  -- OK --
   10 MHz counter from 55.1856242 to 55.1859132
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-25T06:06:55.840.729.000 to 2022-01-25T06:06:55.841.018.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 = 0, 32bit 10MHz counter = 1.935192200 corrected by 40bit 10MHz counter of 1.345085700 obtained at 1Hz counter of 0. Result: 0.590108624
--
   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-01-25T06:06:02.589.965.725
   Max 1st sample MIU time among all SL packets: 2022-01-25T06:06:55.840.877.725
   Min 1st sample XO time among all SL packets: 0.589968349
   Max 1st sample XO time among all SL packets: 53.840881452
   TM values from -198 to 179 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-25T06:06:02.589.965.725 (XO: 0.589968349 - 0.590274350, t=37.2 degC)  Rank: 00061
   TM values: Max =   179  Min =  -193  Ave =    -4.59  Std =    20.42
   Min TM value:-193 at an offset of 96.763 usec -> 2022-01-25T06:06:02.590.062.487 (XO: 0.590065112)
   Max TM value:179 at an offset of 99.125 usec -> 2022-01-25T06:06:02.590.064.850 (XO: 0.590067474)
   Max dTM/dt [1/us]:1.77e+03 at an offset of 94.600 usec -> 2022-01-25T06:06:02.590.060.325 (XO: 0.590062949)
   Min dTM/dt [1/us]:-1.52e+03 at an offset of 96.638 usec -> 2022-01-25T06:06:02.590.062.362 (XO: 0.590064987)

 - Block number: 2 starting at 2022-01-25T06:06:19.160.250.725 (XO: 17.160252186 - 17.160558187, t=37.2 degC)  Rank: 00064
   TM values: Max =   167  Min =  -184  Ave =    -4.53  Std =    22.16
   Min TM value:-184 at an offset of 176.363 usec -> 2022-01-25T06:06:19.160.427.088 (XO: 17.160428549)
   Max TM value:167 at an offset of 176.076 usec -> 2022-01-25T06:06:19.160.426.800 (XO: 17.160428261)
   Max dTM/dt [1/us]:1.48e+03 at an offset of 121.000 usec -> 2022-01-25T06:06:19.160.371.725 (XO: 17.160373186)
   Min dTM/dt [1/us]:-1.60e+03 at an offset of 118.525 usec -> 2022-01-25T06:06:19.160.369.250 (XO: 17.160370711)

 - Block number: 3 starting at 2022-01-25T06:06:39.020.370.725 (XO: 37.020371896 - 37.020677897, t=37.2 degC)  Rank: 00071
   TM values: Max =   170  Min =  -198  Ave =    -4.50  Std =    21.85
   Min TM value:-198 at an offset of 121.213 usec -> 2022-01-25T06:06:39.020.491.937 (XO: 37.020493109)
   Max TM value:170 at an offset of 123.625 usec -> 2022-01-25T06:06:39.020.494.350 (XO: 37.020495522)
   Max dTM/dt [1/us]:1.48e+03 at an offset of 123.450 usec -> 2022-01-25T06:06:39.020.494.175 (XO: 37.020495347)
   Min dTM/dt [1/us]:-1.85e+03 at an offset of 121.050 usec -> 2022-01-25T06:06:39.020.491.775 (XO: 37.020492947)

 - Block number: 4 starting at 2022-01-25T06:06:55.840.588.725 (XO: 53.840592451 - 53.840898452, t=37.2 degC)  Rank: 00063
   TM values: Max =   136  Min =  -197  Ave =    -4.55  Std =    20.94
   Min TM value:-197 at an offset of 147.513 usec -> 2022-01-25T06:06:55.840.736.238 (XO: 53.840739964)
   Max TM value:136 at an offset of 147.238 usec -> 2022-01-25T06:06:55.840.735.963 (XO: 53.840739689)
   Max dTM/dt [1/us]:1.45e+03 at an offset of 163.151 usec -> 2022-01-25T06:06:55.840.751.875 (XO: 53.840755602)
   Min dTM/dt [1/us]:-1.60e+03 at an offset of 147.438 usec -> 2022-01-25T06:06:55.840.736.163 (XO: 53.840739889)
