-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Nov 16 15:02:51 2021 UTC
-- File 20210717_153929_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 4.632877 to 49.043062
-each separately from 4s to 49s and from 42773us to 782942us.
   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, ...
      22.029818 in 1 packets: 18
      11.119380 in 1 packets: 36
      11.259831 in 1 packets: 54
MIU packet time from 2021-07-17T15:39:36.632.877.000 to 2021-07-17T15:40:21.043.062.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, ...
      22.029818 in 1 packets: 18
      11.119380 in 1 packets: 36
      11.259831 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 5.9012678 to 50.9011157
   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, ...
      21.9999256 in 1 packets: 18
      10.9999628 in 1 packets: 36
      11.9999595 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      03 -> 51.1 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 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 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20210717_153929_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 6.5341458 to 6.5344348
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.0297430  -- OK for SL --
   MIU time from 2021-07-17T15:39:36.632.877.000 to 2021-07-17T15:39:36.633.166.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.029818

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 28.5641778 to 28.5644668
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.1193430  -- OK for SL --
   MIU time from 2021-07-17T15:39:58.662.984.000 to 2021-07-17T15:39:58.663.273.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.119380

 - 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:
      74 in 18 packets (all packets)  -- OK --
   10 MHz counter from 39.6838098 to 39.6840988
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.2597910  -- OK for SL --
   MIU time from 2021-07-17T15:40:09.782.653.000 to 2021-07-17T15:40:09.782.942.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.259831

 - 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:
      70 in 18 packets (all packets)  -- OK --
   10 MHz counter from 50.9438898 to 50.9441788
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-17T15:40:21.042.773.000 to 2021-07-17T15:40:21.043.062.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 = 4, 32bit 10MHz counter = 6.534145800 corrected by 40bit 10MHz counter of 5.901267800 obtained at 1Hz counter of 4. Result: 4.632880089
--
   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-07-17T15:39:36.632.736.725
   Max 1st sample MIU time among all SL packets: 2021-07-17T15:40:21.042.921.725
   Min 1st sample XO time among all SL packets: 4.632739813
   Max 1st sample XO time among all SL packets: 49.042922971
   TM values from -350 to 312 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-17T15:39:36.632.736.725 (XO: 4.632739813 - 4.633045814, t=37.2 degC)  Rank: 00081
   TM values: Max =   312  Min =  -350  Ave =    -4.54  Std =    59.50
   Min TM value:-350 at an offset of 142.125 usec -> 2021-07-17T15:39:36.632.878.850 (XO: 4.632881939)
   Max TM value:312 at an offset of 114.763 usec -> 2021-07-17T15:39:36.632.851.487 (XO: 4.632854576)
   Max dTM/dt [1/us]:2.58e+03 at an offset of 114.613 usec -> 2021-07-17T15:39:36.632.851.337 (XO: 4.632854426)
   Min dTM/dt [1/us]:-2.86e+03 at an offset of 141.963 usec -> 2021-07-17T15:39:36.632.878.687 (XO: 4.632881776)

 - Block number: 2 starting at 2021-07-17T15:39:58.662.843.725 (XO: 26.662846312 - 26.663152313, t=37.2 degC)  Rank: 00076
   TM values: Max =   247  Min =  -312  Ave =    -4.50  Std =    33.44
   Min TM value:-312 at an offset of 161.763 usec -> 2021-07-17T15:39:58.663.005.488 (XO: 26.663008075)
   Max TM value:247 at an offset of 119.425 usec -> 2021-07-17T15:39:58.662.963.150 (XO: 26.662965738)
   Max dTM/dt [1/us]:2.65e+03 at an offset of 122.075 usec -> 2021-07-17T15:39:58.662.965.800 (XO: 26.662968388)
   Min dTM/dt [1/us]:-2.83e+03 at an offset of 119.513 usec -> 2021-07-17T15:39:58.662.963.237 (XO: 26.662965825)

 - Block number: 3 starting at 2021-07-17T15:40:09.782.512.725 (XO: 37.782515907 - 37.782821908, t=37.2 degC)  Rank: 00074
   TM values: Max =   229  Min =  -271  Ave =    -4.51  Std =    25.14
   Min TM value:-271 at an offset of 119.025 usec -> 2021-07-17T15:40:09.782.631.750 (XO: 37.782634933)
   Max TM value:229 at an offset of 118.663 usec -> 2021-07-17T15:40:09.782.631.387 (XO: 37.782634570)
   Max dTM/dt [1/us]:1.74e+03 at an offset of 121.388 usec -> 2021-07-17T15:40:09.782.634.112 (XO: 37.782637295)
   Min dTM/dt [1/us]:-2.19e+03 at an offset of 118.775 usec -> 2021-07-17T15:40:09.782.631.500 (XO: 37.782634683)

 - Block number: 4 starting at 2021-07-17T15:40:21.042.632.725 (XO: 49.042633970 - 49.042939971, t=37.2 degC)  Rank: 00070
   TM values: Max =   206  Min =  -247  Ave =    -4.46  Std =    24.51
   Min TM value:-247 at an offset of 189.363 usec -> 2021-07-17T15:40:21.042.822.088 (XO: 49.042823333)
   Max TM value:206 at an offset of 118.400 usec -> 2021-07-17T15:40:21.042.751.125 (XO: 49.042752370)
   Max dTM/dt [1/us]:1.86e+03 at an offset of 118.238 usec -> 2021-07-17T15:40:21.042.750.962 (XO: 49.042752208)
   Min dTM/dt [1/us]:-2.11e+03 at an offset of 189.251 usec -> 2021-07-17T15:40:21.042.821.975 (XO: 49.042823221)
