-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Dec 13 07:41:47 2021 UTC
-- File 20210812_131638_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 5.112928 to 59.664056
-each separately from 5s to 59s and from 112928us to 803400us.
   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, ...
      16.689894 in 1 packets: 18
      17.970107 in 1 packets: 36
      19.889971 in 1 packets: 54
MIU packet time from 2021-08-12T13:16:46.112.928.000 to 2021-08-12T13:17:40.664.056.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, ...
      16.689894 in 1 packets: 18
      17.970107 in 1 packets: 36
      19.889971 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 6.8368274 to 60.8366458
   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, ...
      15.9999462 in 1 packets: 18
      17.9999394 in 1 packets: 36
      19.9999328 in 1 packets: 54
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 36 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, ...
Temperature XO: 
      C1 -> 37.2 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      C0 -> 35.6 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 55 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      0 in 55 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20210812_131638_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 6.9497569 to 6.9500459
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.6898390  -- OK for SL --
   MIU time from 2021-08-12T13:16:46.112.928.000 to 2021-08-12T13:16:46.113.217.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.689894

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 23.6398849 to 23.6401739
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.9700470  -- OK for SL --
   MIU time from 2021-08-12T13:17:02.803.111.000 to 2021-08-12T13:17:02.803.400.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.970107

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 41.6102209 to 41.6105099
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.8899030  -- OK for SL --
   MIU time from 2021-08-12T13:17:20.773.507.000 to 2021-08-12T13:17:20.773.796.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.889971

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 61.5004129 to 61.5007019
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-12T13:17:40.663.767.000 to 2021-08-12T13:17:40.664.056.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 = 5, 32bit 10MHz counter = 6.949756900 corrected by 40bit 10MHz counter of 6.836827400 obtained at 1Hz counter of 5. Result: 5.112929873
--
   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-08-12T13:16:46.112.787.725
   Max 1st sample MIU time among all SL packets: 2021-08-12T13:17:40.663.915.725
   Min 1st sample XO time among all SL packets: 5.112789597
   Max 1st sample XO time among all SL packets: 59.663918016
   TM values from -271 to 226 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-12T13:16:46.112.787.725 (XO: 5.112789597 - 5.113095598, t=37.2 degC)  Rank: 00080
   TM values: Max =   226  Min =  -258  Ave =    -4.52  Std =    21.87
   Min TM value:-258 at an offset of 113.025 usec -> 2021-08-12T13:16:46.112.900.750 (XO: 5.112902623)
   Max TM value:226 at an offset of 112.775 usec -> 2021-08-12T13:16:46.112.900.500 (XO: 5.112902373)
   Max dTM/dt [1/us]:2.03e+03 at an offset of 115.475 usec -> 2021-08-12T13:16:46.112.903.200 (XO: 5.112905073)
   Min dTM/dt [1/us]:-2.66e+03 at an offset of 112.875 usec -> 2021-08-12T13:16:46.112.900.600 (XO: 5.112902473)

 - Block number: 2 starting at 2021-08-12T13:17:02.802.970.725 (XO: 21.802973755 - 21.803279756, t=35.6 degC)  Rank: 00077
   TM values: Max =   211  Min =  -271  Ave =    -4.48  Std =    21.51
   Min TM value:-271 at an offset of 132.625 usec -> 2021-08-12T13:17:02.803.103.350 (XO: 21.803106381)
   Max TM value:211 at an offset of 132.313 usec -> 2021-08-12T13:17:02.803.103.037 (XO: 21.803106068)
   Max dTM/dt [1/us]:1.72e+03 at an offset of 130.200 usec -> 2021-08-12T13:17:02.803.100.925 (XO: 21.803103956)
   Min dTM/dt [1/us]:-2.08e+03 at an offset of 132.500 usec -> 2021-08-12T13:17:02.803.103.225 (XO: 21.803106256)

 - Block number: 3 starting at 2021-08-12T13:17:20.773.366.725 (XO: 39.773370177 - 39.773676178, t=37.2 degC)  Rank: 00080
   TM values: Max =   214  Min =  -234  Ave =    -4.47  Std =    18.89
   Min TM value:-234 at an offset of 129.475 usec -> 2021-08-12T13:17:20.773.496.200 (XO: 39.773499653)
   Max TM value:214 at an offset of 132.138 usec -> 2021-08-12T13:17:20.773.498.862 (XO: 39.773502315)
   Max dTM/dt [1/us]:1.81e+03 at an offset of 131.975 usec -> 2021-08-12T13:17:20.773.498.700 (XO: 39.773502153)
   Min dTM/dt [1/us]:-1.97e+03 at an offset of 129.300 usec -> 2021-08-12T13:17:20.773.496.025 (XO: 39.773499478)

 - Block number: 4 starting at 2021-08-12T13:17:40.663.626.725 (XO: 59.663629015 - 59.663935016, t=35.6 degC)  Rank: 00081
   TM values: Max =   220  Min =  -270  Ave =    -4.43  Std =    28.57
   Min TM value:-270 at an offset of 131.425 usec -> 2021-08-12T13:17:40.663.758.150 (XO: 59.663760440)
   Max TM value:220 at an offset of 186.476 usec -> 2021-08-12T13:17:40.663.813.200 (XO: 59.663815491)
   Max dTM/dt [1/us]:2.15e+03 at an offset of 191.026 usec -> 2021-08-12T13:17:40.663.817.750 (XO: 59.663820041)
   Min dTM/dt [1/us]:-2.27e+03 at an offset of 188.426 usec -> 2021-08-12T13:17:40.663.815.150 (XO: 59.663817441)
