-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Jan  4 17:41:24 2022 UTC
-- File 20210907_070032_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 3.030340 to 51.185348
-each separately from 3s to 51s and from 30340us to 740836us.
   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, ...
      19.709918 in 1 packets: 18
      20.398725 in 1 packets: 36
      8.045209 in 1 packets: 54
MIU packet time from 2021-09-07T07:00:38.030.340.000 to 2021-09-07T07:01:26.185.348.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, ...
      19.709918 in 1 packets: 18
      20.398725 in 1 packets: 36
      8.045209 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 4.8883063 to 52.8881470
   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, ...
      18.9999370 in 1 packets: 18
      20.9999303 in 1 packets: 36
      7.9999734 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 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 55 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      0 in 55 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20210907_070032_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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.9186475 to 4.9189365
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.7098550  -- OK for SL --
   MIU time from 2021-09-07T07:00:38.030.340.000 to 2021-09-07T07:00:38.030.629.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.709918

 - 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 24.6287915 to 24.6290805
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.3986550  -- OK for SL --
   MIU time from 2021-09-07T07:00:57.740.547.000 to 2021-09-07T07:00:57.740.836.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.398725

 - 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 45.0277355 to 45.0280245
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.0451830  -- OK for SL --
   MIU time from 2021-09-07T07:01:18.139.561.000 to 2021-09-07T07:01:18.139.850.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.045209

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 53.0732075 to 53.0734965
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-07T07:01:26.185.059.000 to 2021-09-07T07:01:26.185.348.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 = 3, 32bit 10MHz counter = 4.918647500 corrected by 40bit 10MHz counter of 4.888306300 obtained at 1Hz counter of 3. Result: 3.030341303
--
   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: 2021-09-07T07:00:38.030.199.725
   Max 1st sample MIU time among all SL packets: 2021-09-07T07:01:26.185.207.725
   Min 1st sample XO time among all SL packets: 3.030201028
   Max 1st sample XO time among all SL packets: 51.185209836
   TM values from -295 to 256 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-07T07:00:38.030.199.725 (XO: 3.030201028 - 3.030507029, t=37.2 degC)  Rank: 00078
   TM values: Max =   250  Min =  -248  Ave =    -4.40  Std =    21.77
   Min TM value:-248 at an offset of 104.375 usec -> 2021-09-07T07:00:38.030.304.100 (XO: 3.030305403)
   Max TM value:250 at an offset of 119.950 usec -> 2021-09-07T07:00:38.030.319.675 (XO: 3.030320978)
   Max dTM/dt [1/us]:1.72e+03 at an offset of 119.813 usec -> 2021-09-07T07:00:38.030.319.537 (XO: 3.030320841)
   Min dTM/dt [1/us]:-2.43e+03 at an offset of 117.150 usec -> 2021-09-07T07:00:38.030.316.875 (XO: 3.030318178)

 - Block number: 2 starting at 2021-09-07T07:00:57.740.406.725 (XO: 22.740410442 - 22.740716443, t=37.2 degC)  Rank: 00078
   TM values: Max =   256  Min =  -253  Ave =    -4.40  Std =    26.84
   Min TM value:-253 at an offset of 103.050 usec -> 2021-09-07T07:00:57.740.509.775 (XO: 22.740513493)
   Max TM value:256 at an offset of 118.713 usec -> 2021-09-07T07:00:57.740.525.437 (XO: 22.740529155)
   Max dTM/dt [1/us]:1.93e+03 at an offset of 118.588 usec -> 2021-09-07T07:00:57.740.525.312 (XO: 22.740529030)
   Min dTM/dt [1/us]:-2.58e+03 at an offset of 115.900 usec -> 2021-09-07T07:00:57.740.522.625 (XO: 22.740526343)

 - Block number: 3 starting at 2021-09-07T07:01:18.139.420.725 (XO: 43.139422085 - 43.139728086, t=37.2 degC)  Rank: 00078
   TM values: Max =   224  Min =  -280  Ave =    -4.33  Std =    29.43
   Min TM value:-280 at an offset of 121.075 usec -> 2021-09-07T07:01:18.139.541.800 (XO: 43.139543160)
   Max TM value:224 at an offset of 118.800 usec -> 2021-09-07T07:01:18.139.539.525 (XO: 43.139540885)
   Max dTM/dt [1/us]:2.22e+03 at an offset of 118.663 usec -> 2021-09-07T07:01:18.139.539.387 (XO: 43.139540748)
   Min dTM/dt [1/us]:-2.20e+03 at an offset of 120.950 usec -> 2021-09-07T07:01:18.139.541.675 (XO: 43.139543035)

 - Block number: 4 starting at 2021-09-07T07:01:26.184.918.725 (XO: 51.184920835 - 51.185226836, t=37.2 degC)  Rank: 00082
   TM values: Max =   227  Min =  -295  Ave =    -4.39  Std =    32.25
   Min TM value:-295 at an offset of 186.051 usec -> 2021-09-07T07:01:26.185.104.775 (XO: 51.185106886)
   Max TM value:227 at an offset of 130.025 usec -> 2021-09-07T07:01:26.185.048.750 (XO: 51.185050861)
   Max dTM/dt [1/us]:2.20e+03 at an offset of 132.675 usec -> 2021-09-07T07:01:26.185.051.400 (XO: 51.185053511)
   Min dTM/dt [1/us]:-2.29e+03 at an offset of 130.138 usec -> 2021-09-07T07:01:26.185.048.862 (XO: 51.185050973)
