-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Nov 15 09:26:05 2021 UTC
-- File 20210715_105724_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.226429 to 45.856222
-each separately from 2s to 45s and from 226429us to 896629us.
   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.669622 in 1 packets: 18
      17.869355 in 1 packets: 36
      4.089660 in 1 packets: 54
MIU packet time from 2021-07-15T10:57:29.226.429.000 to 2021-07-15T10:58:12.856.222.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.669622 in 1 packets: 18
      17.869355 in 1 packets: 36
      4.089660 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.9083362 to 46.9081928
   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.9999299 in 1 packets: 18
      17.9999401 in 1 packets: 36
      3.9999866 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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
Number of generated alerts: 
      0 in 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 20210715_105724_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 4.1347665 to 4.1350555
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.6695510  -- OK for SL --
   MIU time from 2021-07-15T10:57:29.226.429.000 to 2021-07-15T10:57:29.226.718.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.669622

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 25.8046065 to 25.8048955
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.8692950  -- OK for SL --
   MIU time from 2021-07-15T10:57:50.896.340.000 to 2021-07-15T10:57:50.896.629.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.869355

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 43.6741905 to 43.6744795
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 4.0896470  -- OK for SL --
   MIU time from 2021-07-15T10:58:08.765.984.000 to 2021-07-15T10:58:08.766.273.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 4.089660

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 47.7641265 to 47.7644155
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-15T10:58:12.855.933.000 to 2021-07-15T10:58:12.856.222.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.134766500 corrected by 40bit 10MHz counter of 3.908336200 obtained at 1Hz counter of 2. Result: 2.226431025
--
   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.999996800
   Min 1st sample MIU time among all SL packets: 2021-07-15T10:57:29.226.288.725
   Max 1st sample MIU time among all SL packets: 2021-07-15T10:58:12.856.081.725
   Min 1st sample XO time among all SL packets: 2.226290749
   Max 1st sample XO time among all SL packets: 45.856085336
   TM values from -268 to 245 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-15T10:57:29.226.288.725 (XO: 2.226290749 - 2.226596750, t=37.2 degC)  Rank: 00079
   TM values: Max =   245  Min =  -226  Ave =    -4.50  Std =    17.98
   Min TM value:-226 at an offset of 122.075 usec -> 2021-07-15T10:57:29.226.410.800 (XO: 2.226412825)
   Max TM value:245 at an offset of 124.788 usec -> 2021-07-15T10:57:29.226.413.512 (XO: 2.226415537)
   Max dTM/dt [1/us]:1.80e+03 at an offset of 124.638 usec -> 2021-07-15T10:57:29.226.413.362 (XO: 2.226415387)
   Min dTM/dt [1/us]:-1.74e+03 at an offset of 121.913 usec -> 2021-07-15T10:57:29.226.410.637 (XO: 2.226412662)

 - Block number: 2 starting at 2021-07-15T10:57:50.896.199.725 (XO: 23.896203082 - 23.896509083, t=37.2 degC)  Rank: 00080
   TM values: Max =   217  Min =  -251  Ave =    -4.46  Std =    20.75
   Min TM value:-251 at an offset of 95.738 usec -> 2021-07-15T10:57:50.896.295.462 (XO: 23.896298820)
   Max TM value:217 at an offset of 111.288 usec -> 2021-07-15T10:57:50.896.311.012 (XO: 23.896314370)
   Max dTM/dt [1/us]:1.81e+03 at an offset of 111.100 usec -> 2021-07-15T10:57:50.896.310.825 (XO: 23.896314183)
   Min dTM/dt [1/us]:-2.01e+03 at an offset of 108.400 usec -> 2021-07-15T10:57:50.896.308.125 (XO: 23.896311483)

 - Block number: 3 starting at 2021-07-15T10:58:08.765.843.725 (XO: 41.765846629 - 41.766152630, t=37.2 degC)  Rank: 00081
   TM values: Max =   216  Min =  -244  Ave =    -4.42  Std =    21.08
   Min TM value:-244 at an offset of 109.663 usec -> 2021-07-15T10:58:08.765.953.387 (XO: 41.765956292)
   Max TM value:216 at an offset of 112.438 usec -> 2021-07-15T10:58:08.765.956.162 (XO: 41.765959067)
   Max dTM/dt [1/us]:1.98e+03 at an offset of 112.275 usec -> 2021-07-15T10:58:08.765.956.000 (XO: 41.765958904)
   Min dTM/dt [1/us]:-1.76e+03 at an offset of 97.263 usec -> 2021-07-15T10:58:08.765.940.987 (XO: 41.765943892)

 - Block number: 4 starting at 2021-07-15T10:58:12.855.792.725 (XO: 45.855796335 - 45.856102336, t=37.2 degC)  Rank: 00078
   TM values: Max =   225  Min =  -268  Ave =    -4.43  Std =    21.00
   Min TM value:-268 at an offset of 111.625 usec -> 2021-07-15T10:58:12.855.904.350 (XO: 45.855907960)
   Max TM value:225 at an offset of 111.300 usec -> 2021-07-15T10:58:12.855.904.025 (XO: 45.855907635)
   Max dTM/dt [1/us]:2.17e+03 at an offset of 113.963 usec -> 2021-07-15T10:58:12.855.906.687 (XO: 45.855910298)
   Min dTM/dt [1/us]:-2.24e+03 at an offset of 111.413 usec -> 2021-07-15T10:58:12.855.904.137 (XO: 45.855907748)
