-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 22:36:45 2023 UTC
-- File 20220706_035253_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 8.437610 to 42.698358
-each separately from 8s to 42s and from 437610us to 777998us.
   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, ...
      14.339810 in 1 packets: 18
      19.920071 in 1 packets: 36
MIU packet time from 2022-07-06T03:53:04.437.610.000 to 2022-07-06T03:53:38.698.358.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, ...
      14.339810 in 1 packets: 18
      19.920071 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 9.4233993 to 43.4232755
   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, ...
      13.9999491 in 1 packets: 18
      19.9999271 in 1 packets: 36
Temperature FPGA: 
      03 -> 51.1 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      04 -> 49.8 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature XO: 
      C2 -> 38.8 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 35 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Number of generated alerts: 
      0 in 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 35 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20220706_035253_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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.8610098 to 9.8612988
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.3397590  -- OK for SL --
   MIU time from 2022-07-06T03:53:04.437.610.000 to 2022-07-06T03:53:04.437.899.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.339810

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 24.2010578 to 24.2013468
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.9199990  -- OK for SL --
   MIU time from 2022-07-06T03:53:18.777.709.000 to 2022-07-06T03:53:18.777.998.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.920071

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 44.1213458 to 44.1216348
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-07-06T03:53:38.698.069.000 to 2022-07-06T03:53:38.698.358.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 = 8, 32bit 10MHz counter = 9.861009800 corrected by 40bit 10MHz counter of 9.423399300 obtained at 1Hz counter of 8. Result: 8.437612119
--
   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.999996400
   Min 1st sample MIU time among all SL packets: 2022-07-06T03:53:04.437.469.725
   Max 1st sample MIU time among all SL packets: 2022-07-06T03:53:38.698.217.725
   Min 1st sample XO time among all SL packets: 8.437471844
   Max 1st sample XO time among all SL packets: 42.698221539
   TM values from -333 to 243 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-07-06T03:53:04.437.469.725 (XO: 8.437471844 - 8.437777845, t=38.8 degC)  Rank: 00075
   TM values: Max =   243  Min =  -333  Ave =    -4.50  Std =    42.88
   Min TM value:-333 at an offset of 115.588 usec -> 2022-07-06T03:53:04.437.585.312 (XO: 8.437587432)
   Max TM value:243 at an offset of 113.013 usec -> 2022-07-06T03:53:04.437.582.737 (XO: 8.437584857)
   Max dTM/dt [1/us]:2.54e+03 at an offset of 115.625 usec -> 2022-07-06T03:53:04.437.585.350 (XO: 8.437587469)
   Min dTM/dt [1/us]:-2.72e+03 at an offset of 130.938 usec -> 2022-07-06T03:53:04.437.600.662 (XO: 8.437602782)

 - Block number: 2 starting at 2022-07-06T03:53:18.777.568.725 (XO: 22.777572002 - 22.777878003, t=38.8 degC)  Rank: 00081
   TM values: Max =   189  Min =  -285  Ave =    -4.48  Std =    29.64
   Min TM value:-285 at an offset of 123.313 usec -> 2022-07-06T03:53:18.777.692.037 (XO: 22.777695315)
   Max TM value:189 at an offset of 123.575 usec -> 2022-07-06T03:53:18.777.692.300 (XO: 22.777695577)
   Max dTM/dt [1/us]:2.44e+03 at an offset of 123.413 usec -> 2022-07-06T03:53:18.777.692.137 (XO: 22.777695415)
   Min dTM/dt [1/us]:-2.24e+03 at an offset of 120.875 usec -> 2022-07-06T03:53:18.777.689.600 (XO: 22.777692877)

 - Block number: 3 starting at 2022-07-06T03:53:38.697.928.725 (XO: 42.697932538 - 42.698238539, t=38.8 degC)  Rank: 00078
   TM values: Max =   221  Min =  -225  Ave =    -4.41  Std =    28.97
   Min TM value:-225 at an offset of 152.951 usec -> 2022-07-06T03:53:38.698.081.675 (XO: 42.698085488)
   Max TM value:221 at an offset of 126.575 usec -> 2022-07-06T03:53:38.698.055.300 (XO: 42.698059113)
   Max dTM/dt [1/us]:2.06e+03 at an offset of 153.088 usec -> 2022-07-06T03:53:38.698.081.813 (XO: 42.698085626)
   Min dTM/dt [1/us]:-2.04e+03 at an offset of 138.388 usec -> 2022-07-06T03:53:38.698.067.112 (XO: 42.698070926)
