-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Dec 13 12:37:30 2021 UTC
-- File 20210812_162050_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.503015 to 59.608893
-each separately from 5s to 59s and from 216601us to 608893us.
   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, ...
      17.061512 in 1 packets: 18
      16.651496 in 1 packets: 36
      20.391714 in 1 packets: 54
MIU packet time from 2021-08-12T16:20:58.503.015.000 to 2021-08-12T16:21:52.608.893.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, ...
      17.061512 in 1 packets: 18
      16.651496 in 1 packets: 36
      20.391714 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.8886958 to 60.8885150
   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, ...
      16.9999431 in 1 packets: 18
      16.9999430 in 1 packets: 36
      19.9999331 in 1 packets: 54
Temperature FPGA: 
      06 -> 47.2 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, ...
      04 -> 49.8 degC in 18 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: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, ...
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 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 1 packets: 37
      2 in 18 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55
      3 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 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 1 packets: 37
      2 in 18 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55
      3 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_162050_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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 7.3917117 to 7.3920007
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.0614550  -- OK for SL --
   MIU time from 2021-08-12T16:20:58.503.015.000 to 2021-08-12T16:20:58.503.304.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.061512

 - 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 24.4534557 to 24.4537447
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.6514390  -- OK for SL --
   MIU time from 2021-08-12T16:21:15.564.816.000 to 2021-08-12T16:21:15.565.105.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.651496

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 41.1051837 to 41.1054727
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.3916470  -- OK for SL --
   MIU time from 2021-08-12T16:21:32.216.601.000 to 2021-08-12T16:21:32.216.890.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.391714

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 61.4971197 to 61.4974087
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-12T16:21:52.608.604.000 to 2021-08-12T16:21:52.608.893.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 = 7.391711700 corrected by 40bit 10MHz counter of 6.888695800 obtained at 1Hz counter of 5. Result: 5.503017560
--
   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-12T16:20:58.502.874.725
   Max 1st sample MIU time among all SL packets: 2021-08-12T16:21:52.608.752.725
   Min 1st sample XO time among all SL packets: 5.502877284
   Max 1st sample XO time among all SL packets: 59.608755495
   TM values from -265 to 211 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-12T16:20:58.502.874.725 (XO: 5.502877284 - 5.503183286, t=37.2 degC)  Rank: 00079
   TM values: Max =   204  Min =  -265  Ave =    -4.42  Std =    17.57
   Min TM value:-265 at an offset of 121.338 usec -> 2021-08-12T16:20:58.502.996.062 (XO: 5.502998622)
   Max TM value:204 at an offset of 121.050 usec -> 2021-08-12T16:20:58.502.995.775 (XO: 5.502998335)
   Max dTM/dt [1/us]:1.48e+03 at an offset of 123.813 usec -> 2021-08-12T16:20:58.502.998.537 (XO: 5.503001097)
   Min dTM/dt [1/us]:-1.96e+03 at an offset of 121.163 usec -> 2021-08-12T16:20:58.502.995.887 (XO: 5.502998447)

 - Block number: 2 starting at 2021-08-12T16:21:15.564.675.725 (XO: 22.564678445 - 22.564984446, t=37.2 degC)  Rank: 00079
   TM values: Max =   207  Min =  -220  Ave =    -4.45  Std =    22.81
   Min TM value:-220 at an offset of 94.075 usec -> 2021-08-12T16:21:15.564.769.800 (XO: 22.564772520)
   Max TM value:207 at an offset of 51.688 usec -> 2021-08-12T16:21:15.564.727.412 (XO: 22.564730133)
   Max dTM/dt [1/us]:1.75e+03 at an offset of 51.538 usec -> 2021-08-12T16:21:15.564.727.262 (XO: 22.564729983)
   Min dTM/dt [1/us]:-1.70e+03 at an offset of 93.963 usec -> 2021-08-12T16:21:15.564.769.687 (XO: 22.564772408)

 - Block number: 3 starting at 2021-08-12T16:21:32.216.460.725 (XO: 39.216462239 - 39.216768240, t=35.6 degC)  Rank: 00082
   TM values: Max =   211  Min =  -244  Ave =    -4.48  Std =    22.73
   Min TM value:-244 at an offset of 119.663 usec -> 2021-08-12T16:21:32.216.580.387 (XO: 39.216581902)
   Max TM value:211 at an offset of 117.625 usec -> 2021-08-12T16:21:32.216.578.350 (XO: 39.216579865)
   Max dTM/dt [1/us]:1.95e+03 at an offset of 122.275 usec -> 2021-08-12T16:21:32.216.583.000 (XO: 39.216584515)
   Min dTM/dt [1/us]:-1.90e+03 at an offset of 119.550 usec -> 2021-08-12T16:21:32.216.580.275 (XO: 39.216581790)

 - Block number: 4 starting at 2021-08-12T16:21:52.608.463.725 (XO: 59.608466494 - 59.608772495, t=35.6 degC)  Rank: 00083
   TM values: Max =   207  Min =  -237  Ave =    -4.31  Std =    20.11
   Min TM value:-237 at an offset of 110.200 usec -> 2021-08-12T16:21:52.608.573.925 (XO: 59.608576694)
   Max TM value:207 at an offset of 107.588 usec -> 2021-08-12T16:21:52.608.571.312 (XO: 59.608574082)
   Max dTM/dt [1/us]:2.09e+03 at an offset of 110.300 usec -> 2021-08-12T16:21:52.608.574.025 (XO: 59.608576794)
   Min dTM/dt [1/us]:-2.15e+03 at an offset of 107.700 usec -> 2021-08-12T16:21:52.608.571.425 (XO: 59.608574194)
