-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 20:06:57 2023 UTC
-- File 20220113_073703_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 4.898598 to 45.448377
-each separately from 4s to 45s and from 448088us to 898887us.
   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.679724 in 1 packets: 18
      22.979217 in 1 packets: 36
      0.889682 in 1 packets: 54
MIU packet time from 2022-01-13T07:37:10.898.598.000 to 2022-01-13T07:37:51.448.377.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.679724 in 1 packets: 18
      22.979217 in 1 packets: 36
      0.889682 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 5.8082543 to 46.8081082
   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.9999394 in 1 packets: 18
      22.9999180 in 1 packets: 36
      0.9999965 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 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 20220113_073703_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:
      69 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.7068532 to 6.7071422
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.6796630  -- OK for SL --
   MIU time from 2022-01-13T07:37:10.898.598.000 to 2022-01-13T07:37:10.898.887.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.679724

 - 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 23.3868052 to 23.3870942
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.9791350  -- OK for SL --
   MIU time from 2022-01-13T07:37:27.578.611.000 to 2022-01-13T07:37:27.578.900.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.979217

 - 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 46.3662292 to 46.3665182
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 0.8896790  -- OK for SL --
   MIU time from 2022-01-13T07:37:50.558.117.000 to 2022-01-13T07:37:50.558.406.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 0.889682

 - 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:
      69 in 18 packets (all packets)  -- OK --
   10 MHz counter from 47.2561972 to 47.2564862
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-13T07:37:51.448.088.000 to 2022-01-13T07:37:51.448.377.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 = 4, 32bit 10MHz counter = 6.706853200 corrected by 40bit 10MHz counter of 5.808254300 obtained at 1Hz counter of 4. Result: 4.898602135
--
   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-13T07:37:10.898.457.725
   Max 1st sample MIU time among all SL packets: 2022-01-13T07:37:51.448.236.725
   Min 1st sample XO time among all SL packets: 4.898461859
   Max 1st sample XO time among all SL packets: 45.448239294
   TM values from -232 to 217 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-13T07:37:10.898.457.725 (XO: 4.898461859 - 4.898767861, t=37.2 degC)  Rank: 00069
   TM values: Max =   217  Min =  -217  Ave =    -4.55  Std =    16.51
   Min TM value:-217 at an offset of 130.313 usec -> 2022-01-13T07:37:10.898.588.037 (XO: 4.898592172)
   Max TM value:217 at an offset of 130.075 usec -> 2022-01-13T07:37:10.898.587.800 (XO: 4.898591935)
   Max dTM/dt [1/us]:2.03e+03 at an offset of 130.000 usec -> 2022-01-13T07:37:10.898.587.725 (XO: 4.898591860)
   Min dTM/dt [1/us]:-2.47e+03 at an offset of 130.175 usec -> 2022-01-13T07:37:10.898.587.900 (XO: 4.898592035)

 - Block number: 2 starting at 2022-01-13T07:37:27.578.470.725 (XO: 21.578473308 - 21.578779309, t=37.2 degC)  Rank: 00064
   TM values: Max =   169  Min =  -214  Ave =    -4.60  Std =    20.56
   Min TM value:-214 at an offset of 93.763 usec -> 2022-01-13T07:37:27.578.564.487 (XO: 21.578567070)
   Max TM value:169 at an offset of 94.013 usec -> 2022-01-13T07:37:27.578.564.737 (XO: 21.578567320)
   Max dTM/dt [1/us]:1.64e+03 at an offset of 93.850 usec -> 2022-01-13T07:37:27.578.564.575 (XO: 21.578567158)
   Min dTM/dt [1/us]:-2.11e+03 at an offset of 93.688 usec -> 2022-01-13T07:37:27.578.564.412 (XO: 21.578566995)

 - Block number: 3 starting at 2022-01-13T07:37:50.557.976.725 (XO: 44.557979178 - 44.558285179, t=37.2 degC)  Rank: 00071
   TM values: Max =   216  Min =  -232  Ave =    -4.57  Std =    23.69
   Min TM value:-232 at an offset of 130.500 usec -> 2022-01-13T07:37:50.558.107.225 (XO: 44.558109678)
   Max TM value:216 at an offset of 128.113 usec -> 2022-01-13T07:37:50.558.104.837 (XO: 44.558107291)
   Max dTM/dt [1/us]:1.83e+03 at an offset of 130.638 usec -> 2022-01-13T07:37:50.558.107.362 (XO: 44.558109816)
   Min dTM/dt [1/us]:-2.30e+03 at an offset of 128.213 usec -> 2022-01-13T07:37:50.558.104.937 (XO: 44.558107391)

 - Block number: 4 starting at 2022-01-13T07:37:51.447.947.725 (XO: 45.447950293 - 45.448256294, t=37.2 degC)  Rank: 00069
   TM values: Max =   189  Min =  -213  Ave =    -4.57  Std =    17.84
   Min TM value:-213 at an offset of 115.125 usec -> 2022-01-13T07:37:51.448.062.850 (XO: 45.448065418)
   Max TM value:189 at an offset of 115.375 usec -> 2022-01-13T07:37:51.448.063.100 (XO: 45.448065668)
   Max dTM/dt [1/us]:1.91e+03 at an offset of 115.275 usec -> 2022-01-13T07:37:51.448.063.000 (XO: 45.448065568)
   Min dTM/dt [1/us]:-2.10e+03 at an offset of 115.038 usec -> 2022-01-13T07:37:51.448.062.762 (XO: 45.448065331)
