-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Jan  8 20:44:34 2022 UTC
-- File 20210910_162529_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 5.410288 to 33.790863
-each separately from 5s to 33s and from 410288us to 790863us.
   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, ...
      12.089751 in 1 packets: 18
      16.289957 in 1 packets: 36
MIU packet time from 2021-09-10T16:25:37.410.288.000 to 2021-09-10T16:26:05.790.863.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, ...
      12.089751 in 1 packets: 18
      16.289957 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 7.2677101 to 35.2676165
   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, ...
      11.9999599 in 1 packets: 18
      15.9999465 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 20210910_162529_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:
      74 in 18 packets (all packets)  -- OK --
   10 MHz counter from 7.6779992 to 7.6782882
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.0897110  -- OK for SL --
   MIU time from 2021-09-10T16:25:37.410.288.000 to 2021-09-10T16:25:37.410.577.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.089751

 - 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 19.7679992 to 19.7682882
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.2899030  -- OK for SL --
   MIU time from 2021-09-10T16:25:49.500.328.000 to 2021-09-10T16:25:49.500.617.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.289957

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 36.0581912 to 36.0584802
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-10T16:26:05.790.574.000 to 2021-09-10T16:26:05.790.863.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 = 5, 32bit 10MHz counter = 7.677999200 corrected by 40bit 10MHz counter of 7.267710100 obtained at 1Hz counter of 5. Result: 5.410290454
--
   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.999996700 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-09-10T16:25:37.410.147.725
   Max 1st sample MIU time among all SL packets: 2021-09-10T16:26:05.790.722.725
   Min 1st sample XO time among all SL packets: 5.410150178
   Max 1st sample XO time among all SL packets: 33.790726034
   TM values from -245 to 219 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-10T16:25:37.410.147.725 (XO: 5.410150178 - 5.410456180, t=37.2 degC)  Rank: 00074
   TM values: Max =   219  Min =  -245  Ave =    -4.46  Std =    21.49
   Min TM value:-245 at an offset of 118.475 usec -> 2021-09-10T16:25:37.410.266.200 (XO: 5.410268654)
   Max TM value:219 at an offset of 118.188 usec -> 2021-09-10T16:25:37.410.265.912 (XO: 5.410268366)
   Max dTM/dt [1/us]:1.92e+03 at an offset of 120.850 usec -> 2021-09-10T16:25:37.410.268.575 (XO: 5.410271029)
   Min dTM/dt [1/us]:-2.05e+03 at an offset of 118.288 usec -> 2021-09-10T16:25:37.410.266.012 (XO: 5.410268466)

 - Block number: 2 starting at 2021-09-10T16:25:49.500.187.725 (XO: 17.500190576 - 17.500496577, t=37.2 degC)  Rank: 00078
   TM values: Max =   218  Min =  -238  Ave =    -4.47  Std =    25.03
   Min TM value:-238 at an offset of 162.151 usec -> 2021-09-10T16:25:49.500.349.875 (XO: 17.500352726)
   Max TM value:218 at an offset of 117.063 usec -> 2021-09-10T16:25:49.500.304.787 (XO: 17.500307639)
   Max dTM/dt [1/us]:2.03e+03 at an offset of 164.713 usec -> 2021-09-10T16:25:49.500.352.438 (XO: 17.500355289)
   Min dTM/dt [1/us]:-1.70e+03 at an offset of 119.163 usec -> 2021-09-10T16:25:49.500.306.887 (XO: 17.500309739)

 - Block number: 3 starting at 2021-09-10T16:26:05.790.433.725 (XO: 33.790437033 - 33.790743034, t=37.2 degC)  Rank: 00079
   TM values: Max =   216  Min =  -219  Ave =    -4.52  Std =    18.92
   Min TM value:-219 at an offset of 128.625 usec -> 2021-09-10T16:26:05.790.562.350 (XO: 33.790565659)
   Max TM value:216 at an offset of 131.238 usec -> 2021-09-10T16:26:05.790.564.962 (XO: 33.790568271)
   Max dTM/dt [1/us]:1.81e+03 at an offset of 131.113 usec -> 2021-09-10T16:26:05.790.564.837 (XO: 33.790568146)
   Min dTM/dt [1/us]:-1.82e+03 at an offset of 128.388 usec -> 2021-09-10T16:26:05.790.562.112 (XO: 33.790565421)
