-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Mar 22 19:39:40 2023 UTC
-- File 20220624_163412_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.020227 to 48.655853
-each separately from 2s to 48s and from 20227us to 796483us.
   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, ...
      21.477436 in 1 packets: 18
      18.297953 in 1 packets: 36
      6.859081 in 1 packets: 54
MIU packet time from 2022-06-24T16:34:17.020.227.000 to 2022-06-24T16:35:03.655.853.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, ...
      21.477436 in 1 packets: 18
      18.297953 in 1 packets: 36
      6.859081 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.8249429 to 49.8247753
   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, ...
      20.9999235 in 1 packets: 18
      17.9999343 in 1 packets: 36
      6.9999746 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 72 packets (all packets)
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 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 20220624_163412_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:
      86 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.8451715 to 3.8454605
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.4773590  -- OK for SL --
   MIU time from 2022-06-24T16:34:17.020.227.000 to 2022-06-24T16:34:17.020.516.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.477436

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 25.3228195 to 25.3231085
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.2978870  -- OK for SL --
   MIU time from 2022-06-24T16:34:38.497.952.000 to 2022-06-24T16:34:38.498.241.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.297953

 - 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:
      88 in 18 packets (all packets)  -- OK --
   10 MHz counter from 43.6209955 to 43.6212845
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.8590550  -- OK for SL --
   MIU time from 2022-06-24T16:34:56.796.194.000 to 2022-06-24T16:34:56.796.483.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.859081

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 50.4803395 to 50.4806285
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-24T16:35:03.655.564.000 to 2022-06-24T16:35:03.655.853.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 = 3.845171500 corrected by 40bit 10MHz counter of 3.824942900 obtained at 1Hz counter of 2. Result: 2.020228675
--
   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.999996300 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2022-06-24T16:34:17.020.086.725
   Max 1st sample MIU time among all SL packets: 2022-06-24T16:35:03.655.712.725
   Min 1st sample XO time among all SL packets: 2.020088399
   Max 1st sample XO time among all SL packets: 48.655715351
   TM values from -293 to 213 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-24T16:34:17.020.086.725 (XO: 2.020088399 - 2.020394400, t=37.2 degC)  Rank: 00086
   TM values: Max =   188  Min =  -285  Ave =    -4.41  Std =    21.79
   Min TM value:-285 at an offset of 122.663 usec -> 2022-06-24T16:34:17.020.209.387 (XO: 2.020211062)
   Max TM value:188 at an offset of 120.088 usec -> 2022-06-24T16:34:17.020.206.812 (XO: 2.020208487)
   Max dTM/dt [1/us]:2.08e+03 at an offset of 122.763 usec -> 2022-06-24T16:34:17.020.209.487 (XO: 2.020211162)
   Min dTM/dt [1/us]:-2.42e+03 at an offset of 120.225 usec -> 2022-06-24T16:34:17.020.206.950 (XO: 2.020208625)

 - Block number: 2 starting at 2022-06-24T16:34:38.497.811.725 (XO: 23.497814667 - 23.498120668, t=37.2 degC)  Rank: 00079
   TM values: Max =   213  Min =  -278  Ave =    -4.36  Std =    27.06
   Min TM value:-278 at an offset of 180.926 usec -> 2022-06-24T16:34:38.497.992.650 (XO: 23.497995593)
   Max TM value:213 at an offset of 120.200 usec -> 2022-06-24T16:34:38.497.931.925 (XO: 23.497934867)
   Max dTM/dt [1/us]:2.35e+03 at an offset of 122.850 usec -> 2022-06-24T16:34:38.497.934.575 (XO: 23.497937517)
   Min dTM/dt [1/us]:-2.04e+03 at an offset of 120.300 usec -> 2022-06-24T16:34:38.497.932.025 (XO: 23.497934967)

 - Block number: 3 starting at 2022-06-24T16:34:56.796.053.725 (XO: 41.796057391 - 41.796363392, t=37.2 degC)  Rank: 00088
   TM values: Max =   208  Min =  -293  Ave =    -4.39  Std =    20.90
   Min TM value:-293 at an offset of 111.188 usec -> 2022-06-24T16:34:56.796.164.912 (XO: 41.796168579)
   Max TM value:208 at an offset of 96.338 usec -> 2022-06-24T16:34:56.796.150.062 (XO: 41.796153729)
   Max dTM/dt [1/us]:2.17e+03 at an offset of 111.275 usec -> 2022-06-24T16:34:56.796.165.000 (XO: 41.796168666)
   Min dTM/dt [1/us]:-2.35e+03 at an offset of 108.775 usec -> 2022-06-24T16:34:56.796.162.500 (XO: 41.796166166)

 - Block number: 4 starting at 2022-06-24T16:35:03.655.423.725 (XO: 48.655426350 - 48.655732351, t=37.2 degC)  Rank: 00079
   TM values: Max =   182  Min =  -285  Ave =    -4.51  Std =    18.76
   Min TM value:-285 at an offset of 122.738 usec -> 2022-06-24T16:35:03.655.546.462 (XO: 48.655549088)
   Max TM value:182 at an offset of 120.200 usec -> 2022-06-24T16:35:03.655.543.925 (XO: 48.655546551)
   Max dTM/dt [1/us]:2.25e+03 at an offset of 122.838 usec -> 2022-06-24T16:35:03.655.546.562 (XO: 48.655549188)
   Min dTM/dt [1/us]:-2.18e+03 at an offset of 120.300 usec -> 2022-06-24T16:35:03.655.544.025 (XO: 48.655546651)
