-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Jul 20 02:38:36 2021 UTC
-- File 20210627_203426_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 13.335497 to 53.617864
-each separately from 13s to 53s and from 335497us to 716849us.
   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, ...
      12.220265 in 1 packets: 18
      8.160220 in 1 packets: 36
      19.900726 in 1 packets: 54
MIU packet time from 2021-06-27T20:34:39.335.497.000 to 2021-06-27T20:35:19.617.864.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, ...
      12.220265 in 1 packets: 18
      8.160220 in 1 packets: 36
      19.900726 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 14.9459054 to 54.9457621
   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, ...
      11.9999570 in 1 packets: 18
      7.9999713 in 1 packets: 36
      19.9999284 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
      05 -> 48.5 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
      06 -> 47.2 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature XO: 
      C0 -> 35.6 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 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20210627_203426_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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 15.2814019 to 15.2816909
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.2202230  -- OK for SL --
   MIU time from 2021-06-27T20:34:39.335.497.000 to 2021-06-27T20:34:39.335.786.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.220265

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 27.5019139 to 27.5022029
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.1601910  -- OK for SL --
   MIU time from 2021-06-27T20:34:51.556.051.000 to 2021-06-27T20:34:51.556.340.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.160220

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 35.6623939 to 35.6626829
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.9006550  -- OK for SL --
   MIU time from 2021-06-27T20:34:59.716.560.000 to 2021-06-27T20:34:59.716.849.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.900726

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 55.5633379 to 55.5636269
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-06-27T20:35:19.617.575.000 to 2021-06-27T20:35:19.617.864.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 = 13, 32bit 10MHz counter = 15.281401900 corrected by 40bit 10MHz counter of 14.945905400 obtained at 1Hz counter of 13. Result: 13.335497708
--
   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: 2021-06-27T20:34:39.335.356.725
   Max 1st sample MIU time among all SL packets: 2021-06-27T20:35:19.617.723.725
   Min 1st sample XO time among all SL packets: 13.335357432
   Max 1st sample XO time among all SL packets: 53.617726749
   TM values from -288 to 250 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-06-27T20:34:39.335.356.725 (XO: 13.335357432 - 13.335663433, t=35.6 degC)  Rank: 00082
   TM values: Max =   234  Min =  -288  Ave =    -4.54  Std =    28.85
   Min TM value:-288 at an offset of 117.288 usec -> 2021-06-27T20:34:39.335.474.012 (XO: 13.335474720)
   Max TM value:234 at an offset of 119.938 usec -> 2021-06-27T20:34:39.335.476.662 (XO: 13.335477370)
   Max dTM/dt [1/us]:1.84e+03 at an offset of 115.100 usec -> 2021-06-27T20:34:39.335.471.825 (XO: 13.335472533)
   Min dTM/dt [1/us]:-2.28e+03 at an offset of 117.200 usec -> 2021-06-27T20:34:39.335.473.925 (XO: 13.335474633)

 - Block number: 2 starting at 2021-06-27T20:34:51.555.910.725 (XO: 25.555913171 - 25.556219172, t=35.6 degC)  Rank: 00075
   TM values: Max =   221  Min =  -272  Ave =    -4.59  Std =    25.21
   Min TM value:-272 at an offset of 122.588 usec -> 2021-06-27T20:34:51.556.033.312 (XO: 25.556035759)
   Max TM value:221 at an offset of 122.338 usec -> 2021-06-27T20:34:51.556.033.062 (XO: 25.556035509)
   Max dTM/dt [1/us]:2.27e+03 at an offset of 120.175 usec -> 2021-06-27T20:34:51.556.030.900 (XO: 25.556033346)
   Min dTM/dt [1/us]:-2.31e+03 at an offset of 122.450 usec -> 2021-06-27T20:34:51.556.033.175 (XO: 25.556035621)

 - Block number: 3 starting at 2021-06-27T20:34:59.716.419.725 (XO: 33.716422504 - 33.716728505, t=35.6 degC)  Rank: 00076
   TM values: Max =   249  Min =  -276  Ave =    -4.53  Std =    27.58
   Min TM value:-276 at an offset of 120.688 usec -> 2021-06-27T20:34:59.716.540.412 (XO: 33.716543192)
   Max TM value:249 at an offset of 123.275 usec -> 2021-06-27T20:34:59.716.543.000 (XO: 33.716545780)
   Max dTM/dt [1/us]:2.15e+03 at an offset of 123.188 usec -> 2021-06-27T20:34:59.716.542.912 (XO: 33.716545692)
   Min dTM/dt [1/us]:-2.45e+03 at an offset of 120.475 usec -> 2021-06-27T20:34:59.716.540.200 (XO: 33.716542980)

 - Block number: 4 starting at 2021-06-27T20:35:19.617.434.725 (XO: 53.617437748 - 53.617743749, t=35.6 degC)  Rank: 00079
   TM values: Max =   250  Min =  -280  Ave =    -4.42  Std =    23.73
   Min TM value:-280 at an offset of 119.188 usec -> 2021-06-27T20:35:19.617.553.912 (XO: 53.617556936)
   Max TM value:250 at an offset of 118.900 usec -> 2021-06-27T20:35:19.617.553.625 (XO: 53.617556648)
   Max dTM/dt [1/us]:1.66e+03 at an offset of 121.663 usec -> 2021-06-27T20:35:19.617.556.387 (XO: 53.617559411)
   Min dTM/dt [1/us]:-2.72e+03 at an offset of 119.038 usec -> 2021-06-27T20:35:19.617.553.762 (XO: 53.617556786)
