-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Mar  2 17:41:05 2022 UTC
-- File 20211209_031339_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 5.978893 to 32.672840
-each separately from 5s to 32s and from 22287us to 979182us.
   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, ...
      19.043105 in 1 packets: 18
      7.649975 in 1 packets: 36
MIU packet time from 2021-12-09T03:13:47.978.893.000 to 2021-12-09T03:14:14.672.840.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, ...
      19.043105 in 1 packets: 18
      7.649975 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 6.5378676 to 33.5377781
   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, ...
      19.9999337 in 1 packets: 18
      6.9999768 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 degC in 54 packets (all packets)
Temperature XO: 
      C0 -> 35.6 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: 
      1 in 54 packets (all packets)
Number of generated alerts: 
      1 in 3 packets: 1, 2, 3
      2 in 15 packets: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      3 in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 20211209_031339_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:
      105 in 18 packets (all packets)  -- OK --
   10 MHz counter from 7.5167612 to 7.5170502
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.0430390  -- OK for SL --
   MIU time from 2021-12-09T03:13:47.978.893.000 to 2021-12-09T03:13:47.979.182.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.043105

 - 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:
      49 in 18 packets (all packets)  -- OK --
   10 MHz counter from 26.5600892 to 26.5603782
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.6499510  -- OK for SL --
   MIU time from 2021-12-09T03:14:07.022.287.000 to 2021-12-09T03:14:07.022.576.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.649975

 - 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:
      50 in 18 packets (all packets)  -- OK --
   10 MHz counter from 34.2103292 to 34.2106182
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-12-09T03:14:14.672.551.000 to 2021-12-09T03:14:14.672.840.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 = 5, 32bit 10MHz counter = 7.516761200 corrected by 40bit 10MHz counter of 6.537867600 obtained at 1Hz counter of 5. Result: 5.978896830
--
   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.999996700 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-12-09T03:13:47.978.752.725
   Max 1st sample MIU time among all SL packets: 2021-12-09T03:14:14.672.699.725
   Min 1st sample XO time among all SL packets: 5.978756555
   Max 1st sample XO time among all SL packets: 32.672702045
   TM values from -600 to 342 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-12-09T03:13:47.978.752.725 (XO: 5.978756555 - 5.979062556, t=35.6 degC)  Rank: 00105
   TM values: Max =   342  Min =  -600  Ave =    -4.25  Std =    76.57
   Min TM value:-600 at an offset of 88.613 usec -> 2021-12-09T03:13:47.978.841.337 (XO: 5.978845168)
   Max TM value:342 at an offset of 295.963 usec -> 2021-12-09T03:13:47.979.048.688 (XO: 5.979052518)
   Max dTM/dt [1/us]:3.26e+03 at an offset of 88.725 usec -> 2021-12-09T03:13:47.978.841.450 (XO: 5.978845280)
   Min dTM/dt [1/us]:-4.08e+03 at an offset of 118.438 usec -> 2021-12-09T03:13:47.978.871.162 (XO: 5.978874993)

 - Block number: 2 starting at 2021-12-09T03:14:07.022.146.725 (XO: 25.022147698 - 25.022453699, t=35.6 degC)  Rank: 00049
   TM values: Max =   127  Min =  -162  Ave =    -4.61  Std =    15.06
   Min TM value:-162 at an offset of 121.763 usec -> 2021-12-09T03:14:07.022.268.487 (XO: 25.022269461)
   Max TM value:127 at an offset of 121.175 usec -> 2021-12-09T03:14:07.022.267.900 (XO: 25.022268873)
   Max dTM/dt [1/us]:1.16e+03 at an offset of 121.088 usec -> 2021-12-09T03:14:07.022.267.812 (XO: 25.022268786)
   Min dTM/dt [1/us]:-8.91e+02 at an offset of 121.313 usec -> 2021-12-09T03:14:07.022.268.037 (XO: 25.022269011)

 - Block number: 3 starting at 2021-12-09T03:14:14.672.410.725 (XO: 32.672413044 - 32.672719045, t=35.6 degC)  Rank: 00050
   TM values: Max =   148  Min =  -152  Ave =    -4.60  Std =    14.44
   Min TM value:-152 at an offset of 122.650 usec -> 2021-12-09T03:14:14.672.533.375 (XO: 32.672535694)
   Max TM value:148 at an offset of 122.063 usec -> 2021-12-09T03:14:14.672.532.787 (XO: 32.672535107)
   Max dTM/dt [1/us]:1.47e+03 at an offset of 121.975 usec -> 2021-12-09T03:14:14.672.532.700 (XO: 32.672535019)
   Min dTM/dt [1/us]:-9.00e+02 at an offset of 119.675 usec -> 2021-12-09T03:14:14.672.530.400 (XO: 32.672532719)
