-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Apr  1 21:11:04 2023 UTC
-- File 20230401_040227_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 3.048482 to 38.246822
-each separately from 3s to 38s and from 48482us to 327188us.
   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, ...
      26.278128 in 1 packets: 18
      8.919345 in 1 packets: 36
MIU packet time from 2023-04-01T04:02:33.048.482.000 to 2023-04-01T04:03:08.246.822.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, ...
      26.278128 in 1 packets: 18
      8.919345 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 4.4728196 to 39.4726892
   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, ...
      25.9999031 in 1 packets: 18
      8.9999665 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 degC in 54 packets (all packets)
Temperature XO: 
      BF -> 34.0 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      C0 -> 35.6 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 20230401_040227_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:
      65 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.5213026 to 4.5215916
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 26.2780310  -- OK for SL --
   MIU time from 2023-04-01T04:02:33.048.482.000 to 2023-04-01T04:02:33.048.771.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 26.278128

 - 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:
      65 in 18 packets (all packets)  -- OK --
   10 MHz counter from 30.7996226 to 30.7999116
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.9193110  -- OK for SL --
   MIU time from 2023-04-01T04:02:59.326.899.000 to 2023-04-01T04:02:59.327.188.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.919345

 - 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:
      67 in 18 packets (all packets)  -- OK --
   10 MHz counter from 39.7192226 to 39.7195116
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-04-01T04:03:08.246.533.000 to 2023-04-01T04:03:08.246.822.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 = 3, 32bit 10MHz counter = 4.521302600 corrected by 40bit 10MHz counter of 4.472819600 obtained at 1Hz counter of 3. Result: 3.048483179
--
   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.999996300
   Min 1st sample MIU time among all SL packets: 2023-04-01T04:02:33.048.341.725
   Max 1st sample MIU time among all SL packets: 2023-04-01T04:03:08.246.681.725
   Min 1st sample XO time among all SL packets: 3.048342904
   Max 1st sample XO time among all SL packets: 38.246683038
   TM values from -216 to 159 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-04-01T04:02:33.048.341.725 (XO: 3.048342904 - 3.048648905, t=34.0 degC)  Rank: 00065
   TM values: Max =   156  Min =  -216  Ave =    -4.38  Std =    16.65
   Min TM value:-216 at an offset of 119.675 usec -> 2023-04-01T04:02:33.048.461.400 (XO: 3.048462579)
   Max TM value:156 at an offset of 119.363 usec -> 2023-04-01T04:02:33.048.461.087 (XO: 3.048462267)
   Max dTM/dt [1/us]:1.51e+03 at an offset of 122.263 usec -> 2023-04-01T04:02:33.048.463.987 (XO: 3.048465167)
   Min dTM/dt [1/us]:-1.70e+03 at an offset of 119.500 usec -> 2023-04-01T04:02:33.048.461.225 (XO: 3.048462404)

 - Block number: 2 starting at 2023-04-01T04:02:59.326.758.725 (XO: 29.326760834 - 29.327066835, t=34.0 degC)  Rank: 00065
   TM values: Max =   159  Min =  -203  Ave =    -4.43  Std =    15.95
   Min TM value:-203 at an offset of 117.675 usec -> 2023-04-01T04:02:59.326.876.400 (XO: 29.326878509)
   Max TM value:159 at an offset of 117.413 usec -> 2023-04-01T04:02:59.326.876.137 (XO: 29.326878247)
   Max dTM/dt [1/us]:1.57e+03 at an offset of 120.250 usec -> 2023-04-01T04:02:59.326.878.975 (XO: 29.326881084)
   Min dTM/dt [1/us]:-1.62e+03 at an offset of 117.538 usec -> 2023-04-01T04:02:59.326.876.262 (XO: 29.326878372)

 - Block number: 3 starting at 2023-04-01T04:03:08.246.392.725 (XO: 38.246394037 - 38.246700038, t=35.6 degC)  Rank: 00067
   TM values: Max =   154  Min =  -198  Ave =    -4.37  Std =    15.33
   Min TM value:-198 at an offset of 131.238 usec -> 2023-04-01T04:03:08.246.523.962 (XO: 38.246525275)
   Max TM value:154 at an offset of 130.913 usec -> 2023-04-01T04:03:08.246.523.637 (XO: 38.246524950)
   Max dTM/dt [1/us]:1.53e+03 at an offset of 133.775 usec -> 2023-04-01T04:03:08.246.526.500 (XO: 38.246527812)
   Min dTM/dt [1/us]:-1.57e+03 at an offset of 131.088 usec -> 2023-04-01T04:03:08.246.523.812 (XO: 38.246525125)
