-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri May 12 02:55:47 2023 UTC
-- File 20230512_024619_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 9.881842 to 41.342360
-each separately from 9s to 41s and from 231835us to 882131us.
   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, ...
      6.349704 in 1 packets: 18
      25.109947 in 1 packets: 36
MIU packet time from 2023-05-12T02:46:31.881.842.000 to 2023-05-12T02:47:03.342.360.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, ...
      6.349704 in 1 packets: 18
      25.109947 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 10.8366202 to 42.8365034
   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, ...
      6.9999744 in 1 packets: 18
      24.9999088 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 20230512_024619_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 11.7184631 to 11.7187521
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.3496790  -- OK for SL --
   MIU time from 2023-05-12T02:46:31.881.842.000 to 2023-05-12T02:46:31.882.131.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.349704

 - 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:
      51 in 18 packets (all packets)  -- OK --
   10 MHz counter from 18.0684311 to 18.0687201
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 25.1098550  -- OK for SL --
   MIU time from 2023-05-12T02:46:38.231.835.000 to 2023-05-12T02:46:38.232.124.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 25.109947

 - 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 43.1785751 to 43.1788641
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-05-12T02:47:03.342.071.000 to 2023-05-12T02:47:03.342.360.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 = 9, 32bit 10MHz counter = 11.718463100 corrected by 40bit 10MHz counter of 10.836620200 obtained at 1Hz counter of 9. Result: 9.881846163
--
   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: 2023-05-12T02:46:31.881.701.725
   Max 1st sample MIU time among all SL packets: 2023-05-12T02:47:03.342.219.725
   Min 1st sample XO time among all SL packets: 9.881705887
   Max 1st sample XO time among all SL packets: 41.342221691
   TM values from -179 to 186 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-05-12T02:46:31.881.701.725 (XO: 9.881705887 - 9.882011888, t=37.2 degC)  Rank: 00053
   TM values: Max =   186  Min =  -179  Ave =    -4.42  Std =    20.99
   Min TM value:-179 at an offset of 115.288 usec -> 2023-05-12T02:46:31.881.817.012 (XO: 9.881821175)
   Max TM value:186 at an offset of 188.901 usec -> 2023-05-12T02:46:31.881.890.625 (XO: 9.881894788)
   Max dTM/dt [1/us]:1.59e+03 at an offset of 202.451 usec -> 2023-05-12T02:46:31.881.904.175 (XO: 9.881908338)
   Min dTM/dt [1/us]:-1.82e+03 at an offset of 202.638 usec -> 2023-05-12T02:46:31.881.904.363 (XO: 9.881908526)

 - Block number: 2 starting at 2023-05-12T02:46:38.231.694.725 (XO: 16.231697059 - 16.232003060, t=37.2 degC)  Rank: 00051
   TM values: Max =   162  Min =  -165  Ave =    -4.43  Std =    16.20
   Min TM value:-165 at an offset of 89.725 usec -> 2023-05-12T02:46:38.231.784.450 (XO: 16.231786784)
   Max TM value:162 at an offset of 115.563 usec -> 2023-05-12T02:46:38.231.810.287 (XO: 16.231812622)
   Max dTM/dt [1/us]:1.50e+03 at an offset of 89.825 usec -> 2023-05-12T02:46:38.231.784.550 (XO: 16.231786884)
   Min dTM/dt [1/us]:-1.37e+03 at an offset of 115.663 usec -> 2023-05-12T02:46:38.231.810.387 (XO: 16.231812722)

 - Block number: 3 starting at 2023-05-12T02:47:03.341.930.725 (XO: 41.341932690 - 41.342238691, t=37.2 degC)  Rank: 00055
   TM values: Max =   160  Min =  -170  Ave =    -4.35  Std =    14.68
   Min TM value:-170 at an offset of 124.838 usec -> 2023-05-12T02:47:03.342.055.562 (XO: 41.342057528)
   Max TM value:160 at an offset of 124.563 usec -> 2023-05-12T02:47:03.342.055.287 (XO: 41.342057253)
   Max dTM/dt [1/us]:1.42e+03 at an offset of 127.238 usec -> 2023-05-12T02:47:03.342.057.962 (XO: 41.342059928)
   Min dTM/dt [1/us]:-1.52e+03 at an offset of 124.675 usec -> 2023-05-12T02:47:03.342.055.400 (XO: 41.342057366)
