-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Jan 18 18:47:00 2022 UTC
-- File 20210922_114703_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 0.088028 to 49.377089
-each separately from 0s to 49s and from 67271us to 727761us.
   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, ...
      20.639155 in 1 packets: 18
      11.339510 in 1 packets: 36
      17.309240 in 1 packets: 54
MIU packet time from 2021-09-22T11:47:06.088.028.000 to 2021-09-22T11:47:55.377.089.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, ...
      20.639155 in 1 packets: 18
      11.339510 in 1 packets: 36
      17.309240 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 1.9098589 to 50.9096954
   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, ...
      19.9999332 in 1 packets: 18
      11.9999600 in 1 packets: 36
      16.9999433 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 72 packets (all packets)
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 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 20210922_114703_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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 1.9978884 to 1.9981774
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.6390870  -- OK for SL --
   MIU time from 2021-09-22T11:47:06.088.028.000 to 2021-09-22T11:47:06.088.317.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.639155

 - 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 22.6372644 to 22.6375534
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.3394710  -- OK for SL --
   MIU time from 2021-09-22T11:47:26.727.472.000 to 2021-09-22T11:47:26.727.761.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.339510

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 33.9770244 to 33.9773134
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.3091830  -- OK for SL --
   MIU time from 2021-09-22T11:47:38.067.271.000 to 2021-09-22T11:47:38.067.560.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.309240

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 51.2864964 to 51.2867854
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-22T11:47:55.376.800.000 to 2021-09-22T11:47:55.377.089.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 = 0, 32bit 10MHz counter = 1.997888400 corrected by 40bit 10MHz counter of 1.909858900 obtained at 1Hz counter of 0. Result: 0.088029799
--
   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-09-22T11:47:06.087.887.725
   Max 1st sample MIU time among all SL packets: 2021-09-22T11:47:55.376.948.725
   Min 1st sample XO time among all SL packets: 0.087889524
   Max 1st sample XO time among all SL packets: 49.376950969
   TM values from -276 to 245 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-22T11:47:06.087.887.725 (XO: 0.087889524 - 0.088195525, t=37.2 degC)  Rank: 00085
   TM values: Max =   234  Min =  -260  Ave =    -4.62  Std =    20.99
   Min TM value:-260 at an offset of 111.613 usec -> 2021-09-22T11:47:06.087.999.337 (XO: 0.088001137)
   Max TM value:234 at an offset of 111.325 usec -> 2021-09-22T11:47:06.087.999.050 (XO: 0.088000849)
   Max dTM/dt [1/us]:2.19e+03 at an offset of 114.000 usec -> 2021-09-22T11:47:06.088.001.725 (XO: 0.088003524)
   Min dTM/dt [1/us]:-2.54e+03 at an offset of 111.425 usec -> 2021-09-22T11:47:06.087.999.150 (XO: 0.088000949)

 - Block number: 2 starting at 2021-09-22T11:47:26.727.331.725 (XO: 20.727334425 - 20.727640426, t=37.2 degC)  Rank: 00079
   TM values: Max =   221  Min =  -246  Ave =    -4.58  Std =    24.19
   Min TM value:-246 at an offset of 96.363 usec -> 2021-09-22T11:47:26.727.428.087 (XO: 20.727430788)
   Max TM value:221 at an offset of 126.988 usec -> 2021-09-22T11:47:26.727.458.712 (XO: 20.727461413)
   Max dTM/dt [1/us]:1.72e+03 at an offset of 126.800 usec -> 2021-09-22T11:47:26.727.458.525 (XO: 20.727461226)
   Min dTM/dt [1/us]:-2.03e+03 at an offset of 124.138 usec -> 2021-09-22T11:47:26.727.455.862 (XO: 20.727458563)

 - Block number: 3 starting at 2021-09-22T11:47:38.067.130.725 (XO: 32.067132253 - 32.067438254, t=37.2 degC)  Rank: 00078
   TM values: Max =   245  Min =  -276  Ave =    -4.52  Std =    28.57
   Min TM value:-276 at an offset of 88.438 usec -> 2021-09-22T11:47:38.067.219.162 (XO: 32.067220691)
   Max TM value:245 at an offset of 85.925 usec -> 2021-09-22T11:47:38.067.216.650 (XO: 32.067218179)
   Max dTM/dt [1/us]:2.60e+03 at an offset of 88.538 usec -> 2021-09-22T11:47:38.067.219.262 (XO: 32.067220791)
   Min dTM/dt [1/us]:-2.53e+03 at an offset of 86.025 usec -> 2021-09-22T11:47:38.067.216.750 (XO: 32.067218279)

 - Block number: 4 starting at 2021-09-22T11:47:55.376.659.725 (XO: 49.376661968 - 49.376967969, t=37.2 degC)  Rank: 00082
   TM values: Max =   221  Min =  -246  Ave =    -4.65  Std =    17.67
   Min TM value:-246 at an offset of 113.800 usec -> 2021-09-22T11:47:55.376.773.525 (XO: 49.376775768)
   Max TM value:221 at an offset of 116.388 usec -> 2021-09-22T11:47:55.376.776.112 (XO: 49.376778356)
   Max dTM/dt [1/us]:1.85e+03 at an offset of 116.188 usec -> 2021-09-22T11:47:55.376.775.912 (XO: 49.376778156)
   Min dTM/dt [1/us]:-1.92e+03 at an offset of 113.600 usec -> 2021-09-22T11:47:55.376.773.325 (XO: 49.376775568)
