-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Mar 21 12:35:06 2023 UTC
-- File 20220623_113702_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 0.666618 to 33.460050
-each separately from 0s to 33s and from 132971us to 666907us.
   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.466064 in 1 packets: 18
      15.326501 in 1 packets: 36
MIU packet time from 2022-06-23T11:37:05.666.618.000 to 2022-06-23T11:37:38.460.050.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.466064 in 1 packets: 18
      15.326501 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 1.6185687 to 34.6184492
   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.9999348 in 1 packets: 18
      14.9999457 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 degC in 54 packets (all packets)
Temperature XO: 
      C1 -> 37.2 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 1 packets: 1
      1 in 53 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 53 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20220623_113702_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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 2.2851874 to 2.2854764
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.4659990  -- OK for SL --
   MIU time from 2022-06-23T11:37:05.666.618.000 to 2022-06-23T11:37:05.666.907.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.466064

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 19.7514754 to 19.7517644
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.3264470  -- OK for SL --
   MIU time from 2022-06-23T11:37:23.132.971.000 to 2022-06-23T11:37:23.133.260.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.326501

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 35.0782114 to 35.0785004
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-23T11:37:38.459.761.000 to 2022-06-23T11:37:38.460.050.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 = 0, 32bit 10MHz counter = 2.285187400 corrected by 40bit 10MHz counter of 1.618568700 obtained at 1Hz counter of 0. Result: 0.666621100
--
   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-06-23T11:37:05.666.477.725
   Max 1st sample MIU time among all SL packets: 2022-06-23T11:37:38.459.909.725
   Min 1st sample XO time among all SL packets: 0.666480824
   Max 1st sample XO time among all SL packets: 33.459912627
   TM values from -217 to 172 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-23T11:37:05.666.477.725 (XO: 0.666480824 - 0.666786825, t=37.2 degC)  Rank: 00083
   TM values: Max =   167  Min =  -210  Ave =    -4.45  Std =    18.68
   Min TM value:-210 at an offset of 127.900 usec -> 2022-06-23T11:37:05.666.605.625 (XO: 0.666608725)
   Max TM value:167 at an offset of 132.763 usec -> 2022-06-23T11:37:05.666.610.487 (XO: 0.666613587)
   Max dTM/dt [1/us]:1.31e+03 at an offset of 130.400 usec -> 2022-06-23T11:37:05.666.608.125 (XO: 0.666611225)
   Min dTM/dt [1/us]:-1.40e+03 at an offset of 115.450 usec -> 2022-06-23T11:37:05.666.593.175 (XO: 0.666596275)

 - Block number: 2 starting at 2022-06-23T11:37:23.132.830.725 (XO: 18.132832103 - 18.133138104, t=37.2 degC)  Rank: 00075
   TM values: Max =   151  Min =  -174  Ave =    -4.45  Std =    16.86
   Min TM value:-174 at an offset of 130.250 usec -> 2022-06-23T11:37:23.132.960.975 (XO: 18.132962354)
   Max TM value:151 at an offset of 132.988 usec -> 2022-06-23T11:37:23.132.963.712 (XO: 18.132965091)
   Max dTM/dt [1/us]:1.52e+03 at an offset of 130.388 usec -> 2022-06-23T11:37:23.132.961.112 (XO: 18.132962491)
   Min dTM/dt [1/us]:-1.33e+03 at an offset of 116.088 usec -> 2022-06-23T11:37:23.132.946.812 (XO: 18.132948191)

 - Block number: 3 starting at 2022-06-23T11:37:38.459.620.725 (XO: 33.459623626 - 33.459929627, t=37.2 degC)  Rank: 00077
   TM values: Max =   172  Min =  -217  Ave =    -4.43  Std =    26.44
   Min TM value:-217 at an offset of 255.263 usec -> 2022-06-23T11:37:38.459.875.988 (XO: 33.459878889)
   Max TM value:172 at an offset of 241.538 usec -> 2022-06-23T11:37:38.459.862.263 (XO: 33.459865164)
   Max dTM/dt [1/us]:1.42e+03 at an offset of 130.050 usec -> 2022-06-23T11:37:38.459.750.775 (XO: 33.459753676)
   Min dTM/dt [1/us]:-1.94e+03 at an offset of 241.688 usec -> 2022-06-23T11:37:38.459.862.413 (XO: 33.459865314)
