-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Mar 13 09:51:00 2023 UTC
-- File 20220601_181919_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 2.247410 to 43.890053
-each separately from 2s to 43s and from 247410us to 890053us.
   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, ...
      25.381240 in 1 packets: 18
      16.260536 in 1 packets: 36
MIU packet time from 2022-06-01T18:19:24.247.410.000 to 2022-06-01T18:20:05.890.053.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, ...
      25.381240 in 1 packets: 18
      16.260536 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 3.6915080 to 44.6913610
   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, ...
      24.9999104 in 1 packets: 18
      15.9999426 in 1 packets: 36
Temperature FPGA: 
      FF -> 56.3 degC in 54 packets (all packets)
Temperature XO: 
      C5 -> 43.6 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 20220601_181919_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:
      71 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.9389190 to 3.9392080
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 25.3811510  -- OK for SL --
   MIU time from 2022-06-01T18:19:24.247.410.000 to 2022-06-01T18:19:24.247.699.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 25.381240

 - 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:
      63 in 18 packets (all packets)  -- OK --
   10 MHz counter from 29.3203590 to 29.3206480
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.2604790  -- OK for SL --
   MIU time from 2022-06-01T18:19:49.628.939.000 to 2022-06-01T18:19:49.629.228.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.260536

 - 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:
      73 in 18 packets (all packets)  -- OK --
   10 MHz counter from 45.5811270 to 45.5814160
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-01T18:20:05.889.764.000 to 2022-06-01T18:20:05.890.053.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 = 2, 32bit 10MHz counter = 3.938919000 corrected by 40bit 10MHz counter of 3.691508000 obtained at 1Hz counter of 2. Result: 2.247411891
--
   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-06-01T18:19:24.247.269.725
   Max 1st sample MIU time among all SL packets: 2022-06-01T18:20:05.889.912.725
   Min 1st sample XO time among all SL packets: 2.247271615
   Max 1st sample XO time among all SL packets: 43.889917929
   TM values from -317 to 292 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-01T18:19:24.247.269.725 (XO: 2.247271615 - 2.247577616, t=43.6 degC)  Rank: 00071
   TM values: Max =   291  Min =  -317  Ave =    -4.34  Std =    51.74
   Min TM value:-317 at an offset of 104.938 usec -> 2022-06-01T18:19:24.247.374.662 (XO: 2.247376553)
   Max TM value:291 at an offset of 105.238 usec -> 2022-06-01T18:19:24.247.374.962 (XO: 2.247376853)
   Max dTM/dt [1/us]:2.42e+03 at an offset of 105.050 usec -> 2022-06-01T18:19:24.247.374.775 (XO: 2.247376666)
   Min dTM/dt [1/us]:-1.84e+03 at an offset of 107.038 usec -> 2022-06-01T18:19:24.247.376.762 (XO: 2.247378653)

 - Block number: 2 starting at 2022-06-01T18:19:49.628.798.725 (XO: 27.628802526 - 27.629108527, t=43.6 degC)  Rank: 00063
   TM values: Max =   233  Min =  -258  Ave =    -4.41  Std =    41.14
   Min TM value:-258 at an offset of 134.063 usec -> 2022-06-01T18:19:49.628.932.787 (XO: 27.628936589)
   Max TM value:233 at an offset of 134.275 usec -> 2022-06-01T18:19:49.628.933.000 (XO: 27.628936801)
   Max dTM/dt [1/us]:2.40e+03 at an offset of 134.163 usec -> 2022-06-01T18:19:49.628.932.887 (XO: 27.628936689)
   Min dTM/dt [1/us]:-2.42e+03 at an offset of 108.388 usec -> 2022-06-01T18:19:49.628.907.112 (XO: 27.628910914)

 - Block number: 3 starting at 2022-06-01T18:20:05.889.623.725 (XO: 43.889628928 - 43.889934929, t=43.6 degC)  Rank: 00073
   TM values: Max =   292  Min =  -303  Ave =    -4.16  Std =    54.46
   Min TM value:-303 at an offset of 127.175 usec -> 2022-06-01T18:20:05.889.750.900 (XO: 43.889756103)
   Max TM value:292 at an offset of 131.800 usec -> 2022-06-01T18:20:05.889.755.525 (XO: 43.889760728)
   Max dTM/dt [1/us]:2.78e+03 at an offset of 145.613 usec -> 2022-06-01T18:20:05.889.769.338 (XO: 43.889774541)
   Min dTM/dt [1/us]:-2.71e+03 at an offset of 143.288 usec -> 2022-06-01T18:20:05.889.767.013 (XO: 43.889772216)
