-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Jun  4 22:49:44 2023 UTC
-- File 20230604_051455_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 10.597380 to 44.157999
-each separately from 10s to 44s and from 47508us to 597669us.
   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, ...
      17.449839 in 1 packets: 18
      16.109913 in 1 packets: 36
MIU packet time from 2023-06-04T05:15:08.597.380.000 to 2023-06-04T05:15:42.157.999.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, ...
      17.449839 in 1 packets: 18
      16.109913 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 11.6153054 to 45.6151834
   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, ...
      17.9999354 in 1 packets: 18
      15.9999426 in 1 packets: 36
Temperature FPGA: 
      01 -> 53.7 degC in 54 packets (all packets)
Temperature XO: 
      C3 -> 40.4 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 20230604_051455_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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 12.2126864 to 12.2129754
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.4497750  -- OK for SL --
   MIU time from 2023-06-04T05:15:08.597.380.000 to 2023-06-04T05:15:08.597.669.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.449839

 - 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:
      71 in 18 packets (all packets)  -- OK --
   10 MHz counter from 29.6627504 to 29.6630394
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.1098550  -- OK for SL --
   MIU time from 2023-06-04T05:15:26.047.508.000 to 2023-06-04T05:15:26.047.797.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.109913

 - 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:
      70 in 18 packets (all packets)  -- OK --
   10 MHz counter from 45.7728944 to 45.7731834
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-04T05:15:42.157.710.000 to 2023-06-04T05:15:42.157.999.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 = 10, 32bit 10MHz counter = 12.212686400 corrected by 40bit 10MHz counter of 11.615305400 obtained at 1Hz counter of 10. Result: 10.597383151
--
   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: 2023-06-04T05:15:08.597.239.725
   Max 1st sample MIU time among all SL packets: 2023-06-04T05:15:42.157.858.725
   Min 1st sample XO time among all SL packets: 10.597242875
   Max 1st sample XO time among all SL packets: 44.157860293
   TM values from -255 to 189 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-04T05:15:08.597.239.725 (XO: 10.597242875 - 10.597548876, t=40.4 degC)  Rank: 00077
   TM values: Max =   183  Min =  -255  Ave =    -4.50  Std =    21.96
   Min TM value:-255 at an offset of 121.025 usec -> 2023-06-04T05:15:08.597.360.750 (XO: 10.597363901)
   Max TM value:183 at an offset of 108.200 usec -> 2023-06-04T05:15:08.597.347.925 (XO: 10.597351075)
   Max dTM/dt [1/us]:1.67e+03 at an offset of 123.513 usec -> 2023-06-04T05:15:08.597.363.237 (XO: 10.597366388)
   Min dTM/dt [1/us]:-2.01e+03 at an offset of 108.325 usec -> 2023-06-04T05:15:08.597.348.050 (XO: 10.597351200)

 - Block number: 2 starting at 2023-06-04T05:15:26.047.367.725 (XO: 28.047369491 - 28.047675492, t=40.4 degC)  Rank: 00071
   TM values: Max =   176  Min =  -213  Ave =    -4.55  Std =    20.54
   Min TM value:-213 at an offset of 111.388 usec -> 2023-06-04T05:15:26.047.479.112 (XO: 28.047480879)
   Max TM value:176 at an offset of 111.100 usec -> 2023-06-04T05:15:26.047.478.825 (XO: 28.047480591)
   Max dTM/dt [1/us]:1.80e+03 at an offset of 113.800 usec -> 2023-06-04T05:15:26.047.481.525 (XO: 28.047483291)
   Min dTM/dt [1/us]:-1.69e+03 at an offset of 111.213 usec -> 2023-06-04T05:15:26.047.478.937 (XO: 28.047480704)

 - Block number: 3 starting at 2023-06-04T05:15:42.157.569.725 (XO: 44.157571292 - 44.157877293, t=40.4 degC)  Rank: 00070
   TM values: Max =   189  Min =  -249  Ave =    -4.51  Std =    21.91
   Min TM value:-249 at an offset of 120.950 usec -> 2023-06-04T05:15:42.157.690.675 (XO: 44.157692243)
   Max TM value:189 at an offset of 108.763 usec -> 2023-06-04T05:15:42.157.678.487 (XO: 44.157680055)
   Max dTM/dt [1/us]:1.57e+03 at an offset of 123.400 usec -> 2023-06-04T05:15:42.157.693.125 (XO: 44.157694693)
   Min dTM/dt [1/us]:-1.77e+03 at an offset of 120.775 usec -> 2023-06-04T05:15:42.157.690.500 (XO: 44.157692068)
