-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Mar 22 11:31:50 2023 UTC
-- File 20220109_113723_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 4.514407 to 35.065271
-each separately from 4s to 35s and from 64982us to 514696us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      23.929957 in 1 packets: 18
      6.620040 in 1 packets: 36
MIU packet time from 2022-01-09T11:37:30.514.407.000 to 2022-01-09T11:38:01.065.271.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      23.929957 in 1 packets: 18
      6.620040 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 5.3848913 to 36.3847805
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      23.9999142 in 1 packets: 18
      6.9999750 in 1 packets: 36
Temperature FPGA: 
      04 -> 49.8 degC in 54 packets (all packets)
Temperature XO: 
      C1 -> 37.2 degC in 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 packets (all packets)
Number of external events: 
      0 in 54 packets (all packets)
Number of generated alerts: 
      0 in 54 packets (all packets)
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20220109_113723_1227.dat, 3 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 5.8992994 to 5.8995884
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.9298710  -- OK for SL --
   MIU time from 2022-01-09T11:37:30.514.407.000 to 2022-01-09T11:37:30.514.696.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.929957

 - 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 29.8294594 to 29.8297484
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.6200150  -- OK for SL --
   MIU time from 2022-01-09T11:37:54.444.653.000 to 2022-01-09T11:37:54.444.942.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.620040

 - 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:
      55 in 18 packets (all packets)  -- OK --
   10 MHz counter from 36.4497634 to 36.4500524
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-09T11:38:01.064.982.000 to 2022-01-09T11:38:01.065.271.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 4, 32bit 10MHz counter = 5.899299400 corrected by 40bit 10MHz counter of 5.384891300 obtained at 1Hz counter of 4. Result: 4.514409952
--
   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.999996400
   Min 1st sample MIU time among all SL packets: 2022-01-09T11:37:30.514.266.725
   Max 1st sample MIU time among all SL packets: 2022-01-09T11:38:01.065.130.725
   Min 1st sample XO time among all SL packets: 4.514269676
   Max 1st sample XO time among all SL packets: 35.065131859
   TM values from -163 to 144 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-09T11:37:30.514.266.725 (XO: 4.514269676 - 4.514575677, t=37.2 degC)  Rank: 00053
   TM values: Max =   144  Min =  -163  Ave =    -4.49  Std =    14.20
   Min TM value:-163 at an offset of 101.700 usec -> 2022-01-09T11:37:30.514.368.425 (XO: 4.514371377)
   Max TM value:144 at an offset of 106.338 usec -> 2022-01-09T11:37:30.514.373.062 (XO: 4.514376014)
   Max dTM/dt [1/us]:1.51e+03 at an offset of 101.800 usec -> 2022-01-09T11:37:30.514.368.525 (XO: 4.514371477)
   Min dTM/dt [1/us]:-1.15e+03 at an offset of 101.588 usec -> 2022-01-09T11:37:30.514.368.312 (XO: 4.514371264)

 - Block number: 2 starting at 2022-01-09T11:37:54.444.512.725 (XO: 28.444515225 - 28.444821226, t=37.2 degC)  Rank: 00056
   TM values: Max =   100  Min =  -158  Ave =    -4.58  Std =    13.46
   Min TM value:-158 at an offset of 127.538 usec -> 2022-01-09T11:37:54.444.640.262 (XO: 28.444642763)
   Max TM value:100 at an offset of 127.113 usec -> 2022-01-09T11:37:54.444.639.837 (XO: 28.444642338)
   Max dTM/dt [1/us]:8.80e+02 at an offset of 129.838 usec -> 2022-01-09T11:37:54.444.642.562 (XO: 28.444645063)
   Min dTM/dt [1/us]:-9.47e+02 at an offset of 127.238 usec -> 2022-01-09T11:37:54.444.639.962 (XO: 28.444642463)

 - Block number: 3 starting at 2022-01-09T11:38:01.064.841.725 (XO: 35.064842858 - 35.065148860, t=37.2 degC)  Rank: 00055
   TM values: Max =   138  Min =  -149  Ave =    -4.56  Std =    16.04
   Min TM value:-149 at an offset of 144.926 usec -> 2022-01-09T11:38:01.064.986.650 (XO: 35.064987784)
   Max TM value:138 at an offset of 144.663 usec -> 2022-01-09T11:38:01.064.986.388 (XO: 35.064987521)
   Max dTM/dt [1/us]:1.17e+03 at an offset of 144.563 usec -> 2022-01-09T11:38:01.064.986.288 (XO: 35.064987421)
   Min dTM/dt [1/us]:-1.25e+03 at an offset of 132.713 usec -> 2022-01-09T11:38:01.064.974.437 (XO: 35.064975571)
