-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Mar  6 14:34:41 2022 UTC
-- File 20220207_151811_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.646655 to 30.627843
-each separately from 7s to 30s and from 627554us to 967529us.
   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.320296 in 1 packets: 18
      6.660025 in 1 packets: 36
MIU packet time from 2022-02-07T15:18:21.646.655.000 to 2022-02-07T15:18:44.627.843.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.320296 in 1 packets: 18
      6.660025 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.7519913 to 31.7519092
   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.9999428 in 1 packets: 18
      6.9999751 in 1 packets: 36
Temperature FPGA: 
      06 -> 47.2 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Number of generated alerts: 
      0 in 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 20220207_151811_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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.3986467 to 9.3989357
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.3202390  -- OK for SL --
   MIU time from 2022-02-07T15:18:21.646.655.000 to 2022-02-07T15:18:21.646.944.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.320296

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 25.7191747 to 25.7194637
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.6599990  -- OK for SL --
   MIU time from 2022-02-07T15:18:37.967.240.000 to 2022-02-07T15:18:37.967.529.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.660025

 - 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:
      87 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.3794627 to 32.3797517
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-02-07T15:18:44.627.554.000 to 2022-02-07T15:18:44.627.843.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.398646700 corrected by 40bit 10MHz counter of 8.751991300 obtained at 1Hz counter of 7. Result: 7.646657728
--
   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.999996400 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2022-02-07T15:18:21.646.514.725
   Max 1st sample MIU time among all SL packets: 2022-02-07T15:18:44.627.702.725
   Min 1st sample XO time among all SL packets: 7.646517452
   Max 1st sample XO time among all SL packets: 30.627704485
   TM values from -280 to 252 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-02-07T15:18:21.646.514.725 (XO: 7.646517452 - 7.646823454, t=37.2 degC)  Rank: 00076
   TM values: Max =   252  Min =  -263  Ave =    -4.49  Std =    28.60
   Min TM value:-263 at an offset of 168.688 usec -> 2022-02-07T15:18:21.646.683.413 (XO: 7.646686141)
   Max TM value:252 at an offset of 168.413 usec -> 2022-02-07T15:18:21.646.683.138 (XO: 7.646685866)
   Max dTM/dt [1/us]:2.35e+03 at an offset of 170.963 usec -> 2022-02-07T15:18:21.646.685.688 (XO: 7.646688416)
   Min dTM/dt [1/us]:-2.28e+03 at an offset of 126.763 usec -> 2022-02-07T15:18:21.646.641.487 (XO: 7.646644215)

 - Block number: 2 starting at 2022-02-07T15:18:37.967.099.725 (XO: 23.967103710 - 23.967409711, t=37.2 degC)  Rank: 00076
   TM values: Max =   231  Min =  -280  Ave =    -4.40  Std =    26.87
   Min TM value:-280 at an offset of 129.588 usec -> 2022-02-07T15:18:37.967.229.312 (XO: 23.967233298)
   Max TM value:231 at an offset of 127.150 usec -> 2022-02-07T15:18:37.967.226.875 (XO: 23.967230860)
   Max dTM/dt [1/us]:2.34e+03 at an offset of 129.688 usec -> 2022-02-07T15:18:37.967.229.412 (XO: 23.967233398)
   Min dTM/dt [1/us]:-2.42e+03 at an offset of 127.250 usec -> 2022-02-07T15:18:37.967.226.975 (XO: 23.967230960)

 - Block number: 3 starting at 2022-02-07T15:18:44.627.413.725 (XO: 30.627415484 - 30.627721485, t=37.2 degC)  Rank: 00087
   TM values: Max =   204  Min =  -259  Ave =    -4.49  Std =    19.07
   Min TM value:-259 at an offset of 88.013 usec -> 2022-02-07T15:18:44.627.501.737 (XO: 30.627503497)
   Max TM value:204 at an offset of 90.425 usec -> 2022-02-07T15:18:44.627.504.150 (XO: 30.627505909)
   Max dTM/dt [1/us]:2.29e+03 at an offset of 90.313 usec -> 2022-02-07T15:18:44.627.504.037 (XO: 30.627505797)
   Min dTM/dt [1/us]:-2.39e+03 at an offset of 87.875 usec -> 2022-02-07T15:18:44.627.501.600 (XO: 30.627503359)
