-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 16 02:01:11 2023 UTC
-- File 20220609_043354_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 12.306807 to 30.141704
-each separately from 12s to 30s and from 124956us to 307096us.
   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, ...
      5.817860 in 1 packets: 18
      12.016170 in 1 packets: 36
MIU packet time from 2022-06-09T04:34:09.306.807.000 to 2022-06-09T04:34:27.141.704.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, ...
      5.817860 in 1 packets: 18
      12.016170 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 13.5367852 to 31.5367217
   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, ...
      5.9999788 in 1 packets: 18
      11.9999577 in 1 packets: 36
Temperature FPGA: 
      00 -> 55.0 degC in 54 packets (all packets)
Temperature XO: 
      C4 -> 42.0 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 20220609_043354_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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 13.8435936 to 13.8438826
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.8178390  -- OK for SL --
   MIU time from 2022-06-09T04:34:09.306.807.000 to 2022-06-09T04:34:09.307.096.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.817860

 - 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 19.6617216 to 19.6620106
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.0161270  -- OK for SL --
   MIU time from 2022-06-09T04:34:15.124.956.000 to 2022-06-09T04:34:15.125.245.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.016170

 - 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 31.6781376 to 31.6784266
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-09T04:34:27.141.415.000 to 2022-06-09T04:34:27.141.704.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 = 12, 32bit 10MHz counter = 13.843593600 corrected by 40bit 10MHz counter of 13.536785200 obtained at 1Hz counter of 12. Result: 12.306809474
--
   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.999996500 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2022-06-09T04:34:09.306.666.725
   Max 1st sample MIU time among all SL packets: 2022-06-09T04:34:27.141.563.725
   Min 1st sample XO time among all SL packets: 12.306669198
   Max 1st sample XO time among all SL packets: 30.141565120
   TM values from -270 to 222 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-09T04:34:09.306.666.725 (XO: 12.306669198 - 12.306975199, t=42.0 degC)  Rank: 00076
   TM values: Max =   194  Min =  -270  Ave =    -4.51  Std =    32.64
   Min TM value:-270 at an offset of 169.088 usec -> 2022-06-09T04:34:09.306.835.813 (XO: 12.306838286)
   Max TM value:194 at an offset of 167.113 usec -> 2022-06-09T04:34:09.306.833.838 (XO: 12.306836311)
   Max dTM/dt [1/us]:1.90e+03 at an offset of 184.188 usec -> 2022-06-09T04:34:09.306.850.913 (XO: 12.306853386)
   Min dTM/dt [1/us]:-2.12e+03 at an offset of 168.988 usec -> 2022-06-09T04:34:09.306.835.713 (XO: 12.306838186)

 - Block number: 2 starting at 2022-06-09T04:34:15.124.815.725 (XO: 18.124817762 - 18.125123763, t=42.0 degC)  Rank: 00071
   TM values: Max =   206  Min =  -234  Ave =    -4.51  Std =    27.19
   Min TM value:-234 at an offset of 99.300 usec -> 2022-06-09T04:34:15.124.915.025 (XO: 18.124917062)
   Max TM value:206 at an offset of 99.563 usec -> 2022-06-09T04:34:15.124.915.287 (XO: 18.124917325)
   Max dTM/dt [1/us]:1.86e+03 at an offset of 99.438 usec -> 2022-06-09T04:34:15.124.915.162 (XO: 18.124917200)
   Min dTM/dt [1/us]:-1.76e+03 at an offset of 96.988 usec -> 2022-06-09T04:34:15.124.912.712 (XO: 18.124914750)

 - Block number: 3 starting at 2022-06-09T04:34:27.141.274.725 (XO: 30.141276119 - 30.141582121, t=42.0 degC)  Rank: 00070
   TM values: Max =   222  Min =  -243  Ave =    -4.51  Std =    25.12
   Min TM value:-243 at an offset of 129.000 usec -> 2022-06-09T04:34:27.141.403.725 (XO: 30.141405120)
   Max TM value:222 at an offset of 101.938 usec -> 2022-06-09T04:34:27.141.376.662 (XO: 30.141378057)
   Max dTM/dt [1/us]:2.08e+03 at an offset of 101.813 usec -> 2022-06-09T04:34:27.141.376.537 (XO: 30.141377932)
   Min dTM/dt [1/us]:-2.02e+03 at an offset of 99.475 usec -> 2022-06-09T04:34:27.141.374.200 (XO: 30.141375595)
