-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue May 16 03:00:20 2023 UTC
-- File 20230516_024205_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 7.738010 to 39.866400
-each separately from 7s to 39s and from 738010us to 866400us.
   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, ...
      16.053610 in 1 packets: 18
      16.073913 in 1 packets: 36
MIU packet time from 2023-05-16T02:42:15.738.010.000 to 2023-05-16T02:42:47.866.400.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, ...
      16.053610 in 1 packets: 18
      16.073913 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 8.4292468 to 40.4291294
   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, ...
      15.9999413 in 2 packets: 18, 36
Temperature FPGA: 
      02 -> 52.4 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      03 -> 51.1 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 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 20230516_024205_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:
      67 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.1672577 to 9.1675467
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.0535510  -- OK for SL --
   MIU time from 2023-05-16T02:42:15.738.010.000 to 2023-05-16T02:42:15.738.299.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.053610

 - 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:
      67 in 18 packets (all packets)  -- OK --
   10 MHz counter from 25.2210977 to 25.2213867
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.0738550  -- OK for SL --
   MIU time from 2023-05-16T02:42:31.791.909.000 to 2023-05-16T02:42:31.792.198.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.073913

 - 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 41.2952417 to 41.2955307
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-05-16T02:42:47.866.111.000 to 2023-05-16T02:42:47.866.400.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 = 7, 32bit 10MHz counter = 9.167257700 corrected by 40bit 10MHz counter of 8.429246800 obtained at 1Hz counter of 7. Result: 7.738013631
--
   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: 2023-05-16T02:42:15.737.869.725
   Max 1st sample MIU time among all SL packets: 2023-05-16T02:42:47.866.259.725
   Min 1st sample XO time among all SL packets: 7.737873355
   Max 1st sample XO time among all SL packets: 39.866264144
   TM values from -226 to 178 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-05-16T02:42:15.737.869.725 (XO: 7.737873355 - 7.738179356, t=38.8 degC)  Rank: 00067
   TM values: Max =   151  Min =  -213  Ave =    -4.48  Std =    16.49
   Min TM value:-213 at an offset of 81.888 usec -> 2023-05-16T02:42:15.737.951.612 (XO: 7.737955243)
   Max TM value:151 at an offset of 84.613 usec -> 2023-05-16T02:42:15.737.954.337 (XO: 7.737957968)
   Max dTM/dt [1/us]:1.40e+03 at an offset of 84.413 usec -> 2023-05-16T02:42:15.737.954.137 (XO: 7.737957768)
   Min dTM/dt [1/us]:-1.60e+03 at an offset of 81.688 usec -> 2023-05-16T02:42:15.737.951.412 (XO: 7.737955043)

 - Block number: 2 starting at 2023-05-16T02:42:31.791.768.725 (XO: 23.791772255 - 23.792078256, t=38.8 degC)  Rank: 00067
   TM values: Max =   167  Min =  -209  Ave =    -4.57  Std =    18.10
   Min TM value:-209 at an offset of 103.863 usec -> 2023-05-16T02:42:31.791.872.587 (XO: 23.791876117)
   Max TM value:167 at an offset of 103.575 usec -> 2023-05-16T02:42:31.791.872.300 (XO: 23.791875830)
   Max dTM/dt [1/us]:1.48e+03 at an offset of 118.900 usec -> 2023-05-16T02:42:31.791.887.625 (XO: 23.791891155)
   Min dTM/dt [1/us]:-1.70e+03 at an offset of 116.188 usec -> 2023-05-16T02:42:31.791.884.912 (XO: 23.791888442)

 - Block number: 3 starting at 2023-05-16T02:42:47.865.970.725 (XO: 39.865975143 - 39.866281144, t=38.8 degC)  Rank: 00070
   TM values: Max =   178  Min =  -226  Ave =    -4.39  Std =    20.27
   Min TM value:-226 at an offset of 105.900 usec -> 2023-05-16T02:42:47.866.076.625 (XO: 39.866081043)
   Max TM value:178 at an offset of 105.638 usec -> 2023-05-16T02:42:47.866.076.362 (XO: 39.866080780)
   Max dTM/dt [1/us]:1.46e+03 at an offset of 108.363 usec -> 2023-05-16T02:42:47.866.079.087 (XO: 39.866083505)
   Min dTM/dt [1/us]:-1.61e+03 at an offset of 105.725 usec -> 2023-05-16T02:42:47.866.076.450 (XO: 39.866080868)
