-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Mar 22 11:42:07 2023 UTC
-- File 20220703_060648_1227.dat, 72  packets found.
APID:
      1227 (SL) in 72 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 72 packets (all packets)
Total number of packets: 
      18 in 72 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 2.358335 to 53.637594
-each separately from 2s to 53s and from 227653us to 637594us.
   Differences in neigboring packets: 
      0.000017 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      21.989311 in 1 packets: 18
      14.879429 in 1 packets: 36
      14.409363 in 1 packets: 54
MIU packet time from 2022-07-03T06:06:53.358.335.000 to 2022-07-03T06:07:44.637.594.000
   Differences in neigboring packets: 
      0.000017 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      21.989311 in 1 packets: 18
      14.879429 in 1 packets: 36
      14.409363 in 1 packets: 54
MIU orbit number: 
      60000 in 72 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 72 packets (all packets)
MIU orbit information / number of events: 
      0 in 72 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 72 packets (all packets)
Instrument anomalies: 
      0 (OK) in 72 packets (all packets)
FPGA configuration version: 
      211 in 72 packets (all packets)
10 MHz counter at the last 1Hz pulse from 3.7666232 to 54.7664371
   Differences in neigboring packets: 
      0.0000000 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      21.9999197 in 1 packets: 18
      14.9999453 in 1 packets: 36
      13.9999489 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      03 -> 51.1 degC in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      C2 -> 38.8 degC in 72 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 72 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 72 packets (all packets)
Number of external events: 
      0 in 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 53 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 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Survey memory error: 
      0 in 72 packets (all packets)
Event memory error: 
      0 in 72 packets (all packets)
Configuration error: 
      0 in 72 packets (all packets)
SDRAM CRC error: 
      0 in 72 packets (all packets)
Radio gain: 
      0 in 72 packets (all packets)
Radio bandwidth: 
      0 in 72 packets (all packets)
Digital gain: 
      0 in 72 packets (all packets)
Analog gain: 
      0 in 72 packets (all packets)
 
SURVEY DATA READER
-- File 20220703_060648_1227.dat, 4 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:
      86 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.1249587 to 4.1252477
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.9892310  -- OK for SL --
   MIU time from 2022-07-03T06:06:53.358.335.000 to 2022-07-03T06:06:53.358.624.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.989311

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 26.1144787 to 26.1147677
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.8793750  -- OK for SL --
   MIU time from 2022-07-03T06:07:15.347.935.000 to 2022-07-03T06:07:15.348.224.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.879429

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 40.9941427 to 40.9944317
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.4093110  -- OK for SL --
   MIU time from 2022-07-03T06:07:30.227.653.000 to 2022-07-03T06:07:30.227.942.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.409363

 - Block number: 4 from the sequence of 18 packets.
   Block numbers in the data:
      4 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      73 in 18 packets (all packets)  -- OK --
   10 MHz counter from 55.4037427 to 55.4040317
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-07-03T06:07:44.637.305.000 to 2022-07-03T06:07:44.637.594.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 72 points based on 59 XO calibration points at 1Hz counter from 0 to 58
   --- First point: 1Hz counter = 2, 32bit 10MHz counter = 4.124958700 corrected by 40bit 10MHz counter of 3.766623200 obtained at 1Hz counter of 2. Result: 2.358336826
--
   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-03T06:06:53.358.194.725
   Max 1st sample MIU time among all SL packets: 2022-07-03T06:07:44.637.453.725
   Min 1st sample XO time among all SL packets: 2.358196550
   Max 1st sample XO time among all SL packets: 53.637456620
   TM values from -332 to 241 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-07-03T06:06:53.358.194.725 (XO: 2.358196550 - 2.358502551, t=38.8 degC)  Rank: 00086
   TM values: Max =   241  Min =  -279  Ave =    -4.52  Std =    31.32
   Min TM value:-279 at an offset of 126.725 usec -> 2022-07-03T06:06:53.358.321.450 (XO: 2.358323276)
   Max TM value:241 at an offset of 124.238 usec -> 2022-07-03T06:06:53.358.318.962 (XO: 2.358320788)
   Max dTM/dt [1/us]:2.18e+03 at an offset of 126.788 usec -> 2022-07-03T06:06:53.358.321.512 (XO: 2.358323338)
   Min dTM/dt [1/us]:-2.33e+03 at an offset of 124.413 usec -> 2022-07-03T06:06:53.358.319.137 (XO: 2.358320963)

 - Block number: 2 starting at 2022-07-03T06:07:15.347.794.725 (XO: 24.347796777 - 24.348102778, t=38.8 degC)  Rank: 00083
   TM values: Max =   222  Min =  -283  Ave =    -4.42  Std =    32.97
   Min TM value:-283 at an offset of 115.613 usec -> 2022-07-03T06:07:15.347.910.337 (XO: 24.347912390)
   Max TM value:222 at an offset of 113.163 usec -> 2022-07-03T06:07:15.347.907.887 (XO: 24.347909940)
   Max dTM/dt [1/us]:2.63e+03 at an offset of 115.725 usec -> 2022-07-03T06:07:15.347.910.450 (XO: 24.347912502)
   Min dTM/dt [1/us]:-2.22e+03 at an offset of 115.525 usec -> 2022-07-03T06:07:15.347.910.250 (XO: 24.347912302)

 - Block number: 3 starting at 2022-07-03T06:07:30.227.512.725 (XO: 39.227515044 - 39.227821045, t=38.8 degC)  Rank: 00080
   TM values: Max =   225  Min =  -332  Ave =    -4.47  Std =    35.04
   Min TM value:-332 at an offset of 103.200 usec -> 2022-07-03T06:07:30.227.615.925 (XO: 39.227618244)
   Max TM value:225 at an offset of 105.625 usec -> 2022-07-03T06:07:30.227.618.350 (XO: 39.227620669)
   Max dTM/dt [1/us]:3.02e+03 at an offset of 105.500 usec -> 2022-07-03T06:07:30.227.618.225 (XO: 39.227620544)
   Min dTM/dt [1/us]:-2.47e+03 at an offset of 105.288 usec -> 2022-07-03T06:07:30.227.618.012 (XO: 39.227620332)

 - Block number: 4 starting at 2022-07-03T06:07:44.637.164.725 (XO: 53.637167619 - 53.637473620, t=38.8 degC)  Rank: 00073
   TM values: Max =   226  Min =  -244  Ave =    -4.51  Std =    31.28
   Min TM value:-244 at an offset of 112.038 usec -> 2022-07-03T06:07:44.637.276.762 (XO: 53.637279657)
   Max TM value:226 at an offset of 116.975 usec -> 2022-07-03T06:07:44.637.281.700 (XO: 53.637284594)
   Max dTM/dt [1/us]:1.61e+03 at an offset of 128.663 usec -> 2022-07-03T06:07:44.637.293.387 (XO: 53.637296282)
   Min dTM/dt [1/us]:-2.05e+03 at an offset of 128.875 usec -> 2022-07-03T06:07:44.637.293.600 (XO: 53.637296494)
