-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Mar 20 17:32:31 2023 UTC
-- File 20220621_090145_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.888303 to 53.678670
-each separately from 2s to 53s and from 178562us to 998839us.
   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, ...
      23.289970 in 1 packets: 18
      11.819699 in 1 packets: 36
      15.679542 in 1 packets: 54
MIU packet time from 2022-06-21T09:01:50.888.303.000 to 2022-06-21T09:02:41.678.670.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, ...
      23.289970 in 1 packets: 18
      11.819699 in 1 packets: 36
      15.679542 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.6033631 to 54.6031890
   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, ...
      23.9999180 in 1 packets: 18
      10.9999625 in 1 packets: 36
      15.9999454 in 1 packets: 54
Temperature FPGA: 
      FE -> 57.6 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      FF -> 56.3 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      FC -> 60.2 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature XO: 
      C6 -> 45.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 72 packets (all packets)
Number of generated alerts: 
      0 in 72 packets (all packets)
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 20220621_090145_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:
      74 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.4916680 to 4.4919570
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.2898870  -- OK for SL --
   MIU time from 2022-06-21T09:01:50.888.303.000 to 2022-06-21T09:01:50.888.592.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.289970

 - 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:
      71 in 18 packets (all packets)  -- OK --
   10 MHz counter from 27.7818440 to 27.7821330
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.8196630  -- OK for SL --
   MIU time from 2022-06-21T09:02:14.178.562.000 to 2022-06-21T09:02:14.178.851.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.819699

 - 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.6017960 to 39.6020850
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.6794870  -- OK for SL --
   MIU time from 2022-06-21T09:02:25.998.550.000 to 2022-06-21T09:02:25.998.839.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.679542

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 55.2815720 to 55.2818610
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-21T09:02:41.678.381.000 to 2022-06-21T09:02:41.678.670.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.491668000 corrected by 40bit 10MHz counter of 3.603363100 obtained at 1Hz counter of 2. Result: 2.888307831
--
   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.999996500 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2022-06-21T09:01:50.888.162.725
   Max 1st sample MIU time among all SL packets: 2022-06-21T09:02:41.678.529.725
   Min 1st sample XO time among all SL packets: 2.888167556
   Max 1st sample XO time among all SL packets: 53.678534100
   TM values from -305 to 248 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-21T09:01:50.888.162.725 (XO: 2.888167556 - 2.888473557, t=45.2 degC)  Rank: 00074
   TM values: Max =   248  Min =  -238  Ave =    -4.49  Std =    21.63
   Min TM value:-238 at an offset of 110.750 usec -> 2022-06-21T09:01:50.888.273.475 (XO: 2.888278306)
   Max TM value:248 at an offset of 108.825 usec -> 2022-06-21T09:01:50.888.271.550 (XO: 2.888276381)
   Max dTM/dt [1/us]:2.04e+03 at an offset of 108.725 usec -> 2022-06-21T09:01:50.888.271.450 (XO: 2.888276281)
   Min dTM/dt [1/us]:-1.83e+03 at an offset of 110.525 usec -> 2022-06-21T09:01:50.888.273.250 (XO: 2.888278081)

 - Block number: 2 starting at 2022-06-21T09:02:14.178.421.725 (XO: 26.178423249 - 26.178729251, t=45.2 degC)  Rank: 00071
   TM values: Max =   218  Min =  -274  Ave =    -4.45  Std =    33.45
   Min TM value:-274 at an offset of 171.026 usec -> 2022-06-21T09:02:14.178.592.750 (XO: 26.178594275)
   Max TM value:218 at an offset of 173.338 usec -> 2022-06-21T09:02:14.178.595.063 (XO: 26.178596588)
   Max dTM/dt [1/us]:2.01e+03 at an offset of 114.263 usec -> 2022-06-21T09:02:14.178.535.987 (XO: 26.178537512)
   Min dTM/dt [1/us]:-2.14e+03 at an offset of 170.951 usec -> 2022-06-21T09:02:14.178.592.675 (XO: 26.178594200)

 - Block number: 3 starting at 2022-06-21T09:02:25.998.409.725 (XO: 37.998415520 - 37.998721521, t=45.2 degC)  Rank: 00074
   TM values: Max =   225  Min =  -271  Ave =    -4.42  Std =    37.63
   Min TM value:-271 at an offset of 282.113 usec -> 2022-06-21T09:02:25.998.691.838 (XO: 37.998697633)
   Max TM value:225 at an offset of 254.751 usec -> 2022-06-21T09:02:25.998.664.475 (XO: 37.998670270)
   Max dTM/dt [1/us]:2.11e+03 at an offset of 254.626 usec -> 2022-06-21T09:02:25.998.664.350 (XO: 37.998670145)
   Min dTM/dt [1/us]:-2.02e+03 at an offset of 282.001 usec -> 2022-06-21T09:02:25.998.691.725 (XO: 37.998697521)

 - Block number: 4 starting at 2022-06-21T09:02:41.678.240.725 (XO: 53.678245099 - 53.678551100, t=45.2 degC)  Rank: 00079
   TM values: Max =   221  Min =  -305  Ave =    -4.31  Std =    38.58
   Min TM value:-305 at an offset of 216.788 usec -> 2022-06-21T09:02:41.678.457.513 (XO: 53.678461887)
   Max TM value:221 at an offset of 249.463 usec -> 2022-06-21T09:02:41.678.490.188 (XO: 53.678494562)
   Max dTM/dt [1/us]:2.22e+03 at an offset of 127.350 usec -> 2022-06-21T09:02:41.678.368.075 (XO: 53.678372449)
   Min dTM/dt [1/us]:-2.26e+03 at an offset of 216.688 usec -> 2022-06-21T09:02:41.678.457.413 (XO: 53.678461787)
