-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Jul 22 23:33:55 2021 UTC
-- File 20210627_220045_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.407299 to 55.007572
-each separately from 2s to 55s and from 7283us to 697729us.
   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, ...
      21.289852 in 1 packets: 18
      6.719736 in 1 packets: 36
      24.589529 in 1 packets: 54
MIU packet time from 2021-06-27T22:00:47.407.299.000 to 2021-06-27T22:01:40.007.572.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, ...
      21.289852 in 1 packets: 18
      6.719736 in 1 packets: 36
      24.589529 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.6929095 to 56.6927169
   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, ...
      20.9999236 in 1 packets: 18
      6.9999746 in 1 packets: 36
      24.9999092 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 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 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 1 packets: 1
      1 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 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 20210627_220045_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.1002093 to 4.1004983
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.2897750  -- OK for SL --
   MIU time from 2021-06-27T22:00:47.407.299.000 to 2021-06-27T22:00:47.407.588.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.289852

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 25.3902733 to 25.3905623
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.7197110  -- OK for SL --
   MIU time from 2021-06-27T22:01:08.697.440.000 to 2021-06-27T22:01:08.697.729.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.719736

 - 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 32.1102733 to 32.1105623
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.5894390  -- OK for SL --
   MIU time from 2021-06-27T22:01:15.417.465.000 to 2021-06-27T22:01:15.417.754.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.589529

 - 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 56.7000013 to 56.7002903
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-06-27T22:01:40.007.283.000 to 2021-06-27T22:01:40.007.572.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.100209300 corrected by 40bit 10MHz counter of 3.692909500 obtained at 1Hz counter of 2. Result: 2.407301266
--
   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.999996400
   Min 1st sample MIU time among all SL packets: 2021-06-27T22:00:47.407.158.725
   Max 1st sample MIU time among all SL packets: 2021-06-27T22:01:40.007.431.725
   Min 1st sample XO time among all SL packets: 2.407160991
   Max 1st sample XO time among all SL packets: 55.007433152
   TM values from -265 to 235 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-06-27T22:00:47.407.158.725 (XO: 2.407160991 - 2.407466992, t=35.6 degC)  Rank: 00081
   TM values: Max =   231  Min =  -265  Ave =    -4.55  Std =    22.95
   Min TM value:-265 at an offset of 108.538 usec -> 2021-06-27T22:00:47.407.267.262 (XO: 2.407269529)
   Max TM value:231 at an offset of 111.188 usec -> 2021-06-27T22:00:47.407.269.912 (XO: 2.407272179)
   Max dTM/dt [1/us]:1.69e+03 at an offset of 111.088 usec -> 2021-06-27T22:00:47.407.269.812 (XO: 2.407272079)
   Min dTM/dt [1/us]:-2.15e+03 at an offset of 108.375 usec -> 2021-06-27T22:00:47.407.267.100 (XO: 2.407269366)

 - Block number: 2 starting at 2021-06-27T22:01:08.697.299.725 (XO: 23.697302435 - 23.697608436, t=35.6 degC)  Rank: 00078
   TM values: Max =   235  Min =  -231  Ave =    -4.46  Std =    19.76
   Min TM value:-231 at an offset of 117.300 usec -> 2021-06-27T22:01:08.697.417.025 (XO: 23.697419736)
   Max TM value:235 at an offset of 119.938 usec -> 2021-06-27T22:01:08.697.419.662 (XO: 23.697422373)
   Max dTM/dt [1/us]:1.82e+03 at an offset of 119.838 usec -> 2021-06-27T22:01:08.697.419.562 (XO: 23.697422273)
   Min dTM/dt [1/us]:-2.01e+03 at an offset of 117.075 usec -> 2021-06-27T22:01:08.697.416.800 (XO: 23.697419511)

 - Block number: 3 starting at 2021-06-27T22:01:15.417.324.725 (XO: 30.417326827 - 30.417632828, t=35.6 degC)  Rank: 00080
   TM values: Max =   218  Min =  -257  Ave =    -4.49  Std =    24.84
   Min TM value:-257 at an offset of 118.525 usec -> 2021-06-27T22:01:15.417.443.250 (XO: 30.417445353)
   Max TM value:218 at an offset of 94.263 usec -> 2021-06-27T22:01:15.417.418.987 (XO: 30.417421090)
   Max dTM/dt [1/us]:1.72e+03 at an offset of 121.013 usec -> 2021-06-27T22:01:15.417.445.737 (XO: 30.417447840)
   Min dTM/dt [1/us]:-2.26e+03 at an offset of 118.350 usec -> 2021-06-27T22:01:15.417.443.075 (XO: 30.417445178)

 - Block number: 4 starting at 2021-06-27T22:01:40.007.142.725 (XO: 55.007144151 - 55.007450152, t=35.6 degC)  Rank: 00081
   TM values: Max =   234  Min =  -228  Ave =    -4.57  Std =    21.33
   Min TM value:-228 at an offset of 119.113 usec -> 2021-06-27T22:01:40.007.261.837 (XO: 55.007263264)
   Max TM value:234 at an offset of 121.863 usec -> 2021-06-27T22:01:40.007.264.587 (XO: 55.007266014)
   Max dTM/dt [1/us]:2.07e+03 at an offset of 121.725 usec -> 2021-06-27T22:01:40.007.264.450 (XO: 55.007265876)
   Min dTM/dt [1/us]:-1.74e+03 at an offset of 118.988 usec -> 2021-06-27T22:01:40.007.261.712 (XO: 55.007263139)
