-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 21:37:48 2023 UTC
-- File 20220118_013501_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.130988 to 54.762189
-each separately from 0s to 54s and from 130988us to 928394us.
   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, ...
      17.796828 in 1 packets: 18
      13.357440 in 1 packets: 36
      23.475777 in 1 packets: 54
MIU packet time from 2022-01-18T01:35:04.130.988.000 to 2022-01-18T01:35:58.762.189.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, ...
      17.796828 in 1 packets: 18
      13.357440 in 1 packets: 36
      23.475777 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.7583261 to 55.7581352
   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.9999399 in 1 packets: 18
      13.9999505 in 1 packets: 36
      22.9999187 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 20220118_013501_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:
      53 in 18 packets (all packets)  -- OK --
   10 MHz counter from 1.8893153 to 1.8896043
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.7967670  -- OK for SL --
   MIU time from 2022-01-18T01:35:04.130.988.000 to 2022-01-18T01:35:04.131.277.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.796828

 - 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:
      56 in 18 packets (all packets)  -- OK --
   10 MHz counter from 19.6863713 to 19.6866603
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.3573910  -- OK for SL --
   MIU time from 2022-01-18T01:35:21.928.105.000 to 2022-01-18T01:35:21.928.394.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.357440

 - 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:
      53 in 18 packets (all packets)  -- OK --
   10 MHz counter from 33.0440513 to 33.0443403
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.4756950  -- OK for SL --
   MIU time from 2022-01-18T01:35:35.285.834.000 to 2022-01-18T01:35:35.286.123.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.475777

 - 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:
      53 in 18 packets (all packets)  -- OK --
   10 MHz counter from 56.5200353 to 56.5203243
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-18T01:35:58.761.900.000 to 2022-01-18T01:35:58.762.189.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.889315300 corrected by 40bit 10MHz counter of 1.758326100 obtained at 1Hz counter of 0. Result: 0.130989658
--
   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-18T01:35:04.130.847.725
   Max 1st sample MIU time among all SL packets: 2022-01-18T01:35:58.762.048.725
   Min 1st sample XO time among all SL packets: 0.130849383
   Max 1st sample XO time among all SL packets: 54.762051492
   TM values from -163 to 140 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-18T01:35:04.130.847.725 (XO: 0.130849383 - 0.131155384, t=37.2 degC)  Rank: 00053
   TM values: Max =   109  Min =  -163  Ave =    -4.57  Std =    14.55
   Min TM value:-163 at an offset of 118.713 usec -> 2022-01-18T01:35:04.130.966.437 (XO: 0.130968096)
   Max TM value:109 at an offset of 118.338 usec -> 2022-01-18T01:35:04.130.966.062 (XO: 0.130967721)
   Max dTM/dt [1/us]:1.17e+03 at an offset of 121.000 usec -> 2022-01-18T01:35:04.130.968.725 (XO: 0.130970383)
   Min dTM/dt [1/us]:-1.16e+03 at an offset of 118.463 usec -> 2022-01-18T01:35:04.130.966.187 (XO: 0.130967846)

 - Block number: 2 starting at 2022-01-18T01:35:21.927.964.725 (XO: 17.927968366 - 17.928274367, t=37.2 degC)  Rank: 00056
   TM values: Max =   140  Min =  -150  Ave =    -4.61  Std =    12.83
   Min TM value:-150 at an offset of 121.788 usec -> 2022-01-18T01:35:21.928.086.512 (XO: 17.928090154)
   Max TM value:140 at an offset of 121.550 usec -> 2022-01-18T01:35:21.928.086.275 (XO: 17.928089916)
   Max dTM/dt [1/us]:1.21e+03 at an offset of 124.063 usec -> 2022-01-18T01:35:21.928.088.787 (XO: 17.928092429)
   Min dTM/dt [1/us]:-1.59e+03 at an offset of 121.650 usec -> 2022-01-18T01:35:21.928.086.375 (XO: 17.928090016)

 - Block number: 3 starting at 2022-01-18T01:35:35.285.693.725 (XO: 31.285695554 - 31.286001555, t=37.2 degC)  Rank: 00053
   TM values: Max =   136  Min =  -153  Ave =    -4.64  Std =    17.66
   Min TM value:-153 at an offset of 122.413 usec -> 2022-01-18T01:35:35.285.816.137 (XO: 31.285817966)
   Max TM value:136 at an offset of 122.113 usec -> 2022-01-18T01:35:35.285.815.837 (XO: 31.285817666)
   Max dTM/dt [1/us]:1.39e+03 at an offset of 124.700 usec -> 2022-01-18T01:35:35.285.818.425 (XO: 31.285820254)
   Min dTM/dt [1/us]:-1.52e+03 at an offset of 122.213 usec -> 2022-01-18T01:35:35.285.815.937 (XO: 31.285817766)

 - Block number: 4 starting at 2022-01-18T01:35:58.761.759.725 (XO: 54.761762491 - 54.762068492, t=37.2 degC)  Rank: 00053
   TM values: Max =   101  Min =  -159  Ave =    -4.48  Std =    16.88
   Min TM value:-159 at an offset of 180.363 usec -> 2022-01-18T01:35:58.761.940.088 (XO: 54.761942854)
   Max TM value:101 at an offset of 125.113 usec -> 2022-01-18T01:35:58.761.884.837 (XO: 54.761887604)
   Max dTM/dt [1/us]:1.17e+03 at an offset of 182.713 usec -> 2022-01-18T01:35:58.761.942.438 (XO: 54.761945204)
   Min dTM/dt [1/us]:-1.15e+03 at an offset of 180.263 usec -> 2022-01-18T01:35:58.761.939.988 (XO: 54.761942754)
