-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Jan 17 08:15:54 2022 UTC
-- File 20210921_035704_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.450695 to 48.751457
-each separately from 2s to 48s and from 450695us to 941275us.
   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, ...
      25.490002 in 1 packets: 18
      8.829773 in 1 packets: 36
      11.979831 in 1 packets: 54
MIU packet time from 2021-09-21T03:57:09.450.695.000 to 2021-09-21T03:57:55.751.457.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, ...
      25.490002 in 1 packets: 18
      8.829773 in 1 packets: 36
      11.979831 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.8665768 to 49.8664247
   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, ...
      24.9999173 in 1 packets: 18
      8.9999702 in 1 packets: 36
      11.9999604 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      04 -> 49.8 degC in 36 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 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 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      1 in 1 packets: 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 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      1 in 1 packets: 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 20210921_035704_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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.3172730 to 4.3175620
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 25.4899190  -- OK for SL --
   MIU time from 2021-09-21T03:57:09.450.695.000 to 2021-09-21T03:57:09.450.984.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 25.490002

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 29.8074810 to 29.8077700
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.8297430  -- OK for SL --
   MIU time from 2021-09-21T03:57:34.940.986.000 to 2021-09-21T03:57:34.941.275.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.829773

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 38.6375130 to 38.6378020
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.9797910  -- OK for SL --
   MIU time from 2021-09-21T03:57:43.771.048.000 to 2021-09-21T03:57:43.771.337.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.979831

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 50.6175930 to 50.6178820
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-21T03:57:55.751.168.000 to 2021-09-21T03:57:55.751.457.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.317273000 corrected by 40bit 10MHz counter of 3.866576800 obtained at 1Hz counter of 2. Result: 2.450697687
--
   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-09-21T03:57:09.450.554.725
   Max 1st sample MIU time among all SL packets: 2021-09-21T03:57:55.751.316.725
   Min 1st sample XO time among all SL packets: 2.450557412
   Max 1st sample XO time among all SL packets: 48.751319504
   TM values from -248 to 202 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-21T03:57:09.450.554.725 (XO: 2.450557412 - 2.450863413, t=37.2 degC)  Rank: 00080
   TM values: Max =   190  Min =  -234  Ave =    -4.56  Std =    18.69
   Min TM value:-234 at an offset of 122.963 usec -> 2021-09-21T03:57:09.450.677.687 (XO: 2.450680375)
   Max TM value:190 at an offset of 125.575 usec -> 2021-09-21T03:57:09.450.680.300 (XO: 2.450682987)
   Max dTM/dt [1/us]:1.66e+03 at an offset of 125.413 usec -> 2021-09-21T03:57:09.450.680.137 (XO: 2.450682825)
   Min dTM/dt [1/us]:-1.98e+03 at an offset of 122.788 usec -> 2021-09-21T03:57:09.450.677.512 (XO: 2.450680200)

 - Block number: 2 starting at 2021-09-21T03:57:34.940.845.725 (XO: 27.940849730 - 27.941155731, t=37.2 degC)  Rank: 00082
   TM values: Max =   184  Min =  -232  Ave =    -4.50  Std =    19.20
   Min TM value:-232 at an offset of 122.538 usec -> 2021-09-21T03:57:34.940.968.262 (XO: 27.940972268)
   Max TM value:184 at an offset of 125.250 usec -> 2021-09-21T03:57:34.940.970.975 (XO: 27.940974980)
   Max dTM/dt [1/us]:1.86e+03 at an offset of 125.125 usec -> 2021-09-21T03:57:34.940.970.850 (XO: 27.940974855)
   Min dTM/dt [1/us]:-1.59e+03 at an offset of 109.800 usec -> 2021-09-21T03:57:34.940.955.525 (XO: 27.940959530)

 - Block number: 3 starting at 2021-09-21T03:57:43.770.907.725 (XO: 36.770910969 - 36.771216970, t=37.2 degC)  Rank: 00075
   TM values: Max =   181  Min =  -228  Ave =    -4.54  Std =    20.44
   Min TM value:-228 at an offset of 110.225 usec -> 2021-09-21T03:57:43.771.017.950 (XO: 36.771021194)
   Max TM value:181 at an offset of 112.925 usec -> 2021-09-21T03:57:43.771.020.650 (XO: 36.771023894)
   Max dTM/dt [1/us]:1.62e+03 at an offset of 112.775 usec -> 2021-09-21T03:57:43.771.020.500 (XO: 36.771023744)
   Min dTM/dt [1/us]:-1.53e+03 at an offset of 82.800 usec -> 2021-09-21T03:57:43.770.990.525 (XO: 36.770993769)

 - Block number: 4 starting at 2021-09-21T03:57:55.751.027.725 (XO: 48.751030503 - 48.751336504, t=37.2 degC)  Rank: 00080
   TM values: Max =   202  Min =  -248  Ave =    -4.45  Std =    22.46
   Min TM value:-248 at an offset of 109.700 usec -> 2021-09-21T03:57:55.751.137.425 (XO: 48.751140204)
   Max TM value:202 at an offset of 109.413 usec -> 2021-09-21T03:57:55.751.137.137 (XO: 48.751139916)
   Max dTM/dt [1/us]:1.88e+03 at an offset of 112.125 usec -> 2021-09-21T03:57:55.751.139.850 (XO: 48.751142629)
   Min dTM/dt [1/us]:-2.01e+03 at an offset of 109.513 usec -> 2021-09-21T03:57:55.751.137.237 (XO: 48.751140016)
