-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Jan  1 11:14:01 2022 UTC
-- File 20210902_172458_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 4.181817 to 37.621800
-each separately from 4s to 37s and from 181817us to 962061us.
   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, ...
      15.779666 in 1 packets: 18
      17.659450 in 1 packets: 36
MIU packet time from 2021-09-02T17:25:05.181.817.000 to 2021-09-02T17:25:38.621.800.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, ...
      15.779666 in 1 packets: 18
      17.659450 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 5.8461407 to 38.8460307
   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, ...
      14.9999501 in 1 packets: 18
      17.9999399 in 1 packets: 36
Temperature FPGA: 
      04 -> 49.8 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 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 20210902_172458_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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.0279589 to 6.0282479
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.7796150  -- OK for SL --
   MIU time from 2021-09-02T17:25:05.181.817.000 to 2021-09-02T17:25:05.182.106.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.779666

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 21.8078629 to 21.8081519
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.6593910  -- OK for SL --
   MIU time from 2021-09-02T17:25:20.961.772.000 to 2021-09-02T17:25:20.962.061.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.659450

 - 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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 39.4675429 to 39.4678319
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-02T17:25:38.621.511.000 to 2021-09-02T17:25:38.621.800.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 = 4, 32bit 10MHz counter = 6.027958900 corrected by 40bit 10MHz counter of 5.846140700 obtained at 1Hz counter of 4. Result: 4.181818818
--
   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.999996600 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-09-02T17:25:05.181.676.725
   Max 1st sample MIU time among all SL packets: 2021-09-02T17:25:38.621.659.725
   Min 1st sample XO time among all SL packets: 4.181678543
   Max 1st sample XO time among all SL packets: 37.621662976
   TM values from -292 to 246 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-02T17:25:05.181.676.725 (XO: 4.181678543 - 4.181984544, t=37.2 degC)  Rank: 00079
   TM values: Max =   246  Min =  -292  Ave =    -4.52  Std =    26.96
   Min TM value:-292 at an offset of 86.825 usec -> 2021-09-02T17:25:05.181.763.550 (XO: 4.181765368)
   Max TM value:246 at an offset of 86.613 usec -> 2021-09-02T17:25:05.181.763.337 (XO: 4.181765156)
   Max dTM/dt [1/us]:2.65e+03 at an offset of 89.225 usec -> 2021-09-02T17:25:05.181.765.950 (XO: 4.181767768)
   Min dTM/dt [1/us]:-2.81e+03 at an offset of 86.700 usec -> 2021-09-02T17:25:05.181.763.425 (XO: 4.181765243)

 - Block number: 2 starting at 2021-09-02T17:25:20.961.631.725 (XO: 19.961635095 - 19.961941096, t=37.2 degC)  Rank: 00079
   TM values: Max =   228  Min =  -287  Ave =    -4.45  Std =    26.45
   Min TM value:-287 at an offset of 96.650 usec -> 2021-09-02T17:25:20.961.728.375 (XO: 19.961731745)
   Max TM value:228 at an offset of 99.263 usec -> 2021-09-02T17:25:20.961.730.987 (XO: 19.961734357)
   Max dTM/dt [1/us]:2.24e+03 at an offset of 99.088 usec -> 2021-09-02T17:25:20.961.730.812 (XO: 19.961734182)
   Min dTM/dt [1/us]:-2.60e+03 at an offset of 96.513 usec -> 2021-09-02T17:25:20.961.728.237 (XO: 19.961731607)

 - Block number: 3 starting at 2021-09-02T17:25:38.621.370.725 (XO: 37.621373976 - 37.621679977, t=37.2 degC)  Rank: 00084
   TM values: Max =   216  Min =  -283  Ave =    -4.51  Std =    22.49
   Min TM value:-283 at an offset of 108.788 usec -> 2021-09-02T17:25:38.621.479.512 (XO: 37.621482763)
   Max TM value:216 at an offset of 108.513 usec -> 2021-09-02T17:25:38.621.479.237 (XO: 37.621482488)
   Max dTM/dt [1/us]:2.79e+03 at an offset of 111.150 usec -> 2021-09-02T17:25:38.621.481.875 (XO: 37.621485126)
   Min dTM/dt [1/us]:-2.52e+03 at an offset of 108.638 usec -> 2021-09-02T17:25:38.621.479.362 (XO: 37.621482613)
