-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Mar 20 00:32:02 2023 UTC
-- File 20220617_185744_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 14.310715 to 51.811124
-each separately from 14s to 51s and from 94641us to 990777us.
   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, ...
      1.783637 in 1 packets: 18
      17.895558 in 1 packets: 36
      17.820058 in 1 packets: 54
MIU packet time from 2022-06-17T18:58:01.310.715.000 to 2022-06-17T18:58:38.811.124.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, ...
      1.783637 in 1 packets: 18
      17.895558 in 1 packets: 36
      17.820058 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 15.3511566 to 52.3510355
   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, ...
      1.9999934 in 1 packets: 18
      16.9999444 in 1 packets: 36
      17.9999411 in 1 packets: 54
Temperature FPGA: 
      FE -> 57.6 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      FD -> 58.9 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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: 
      2 in 72 packets (all packets)
Number of generated alerts: 
      2 in 1 packets: 1
      3 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 20220617_185744_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:
      96 in 18 packets (all packets)  -- OK --
   10 MHz counter from 15.6618727 to 15.6621617
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 1.7836310  -- OK for SL --
   MIU time from 2022-06-17T18:58:01.310.715.000 to 2022-06-17T18:58:01.311.004.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 1.783637

 - 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:
      58 in 18 packets (all packets)  -- OK --
   10 MHz counter from 17.4457927 to 17.4460817
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.8955030  -- OK for SL --
   MIU time from 2022-06-17T18:58:03.094.641.000 to 2022-06-17T18:58:03.094.930.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.895558

 - 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:
      60 in 18 packets (all packets)  -- OK --
   10 MHz counter from 35.3415847 to 35.3418737
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.8199990  -- OK for SL --
   MIU time from 2022-06-17T18:58:20.990.488.000 to 2022-06-17T18:58:20.990.777.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.820058

 - 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:
      49 in 18 packets (all packets)  -- OK --
   10 MHz counter from 53.1618727 to 53.1621617
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-17T18:58:38.810.835.000 to 2022-06-17T18:58:38.811.124.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 = 14, 32bit 10MHz counter = 15.661872700 corrected by 40bit 10MHz counter of 15.351156600 obtained at 1Hz counter of 14. Result: 14.310717125
--
   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.999996700 - 0.999996800
   Min 1st sample MIU time among all SL packets: 2022-06-17T18:58:01.310.574.725
   Max 1st sample MIU time among all SL packets: 2022-06-17T18:58:38.810.983.725
   Min 1st sample XO time among all SL packets: 14.310576850
   Max 1st sample XO time among all SL packets: 51.810988520
   TM values from -296 to 270 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-17T18:58:01.310.574.725 (XO: 14.310576850 - 14.310882851, t=45.2 degC)  Rank: 00096
   TM values: Max =   231  Min =  -229  Ave =    -4.46  Std =    74.38
   Min TM value:-229 at an offset of 142.638 usec -> 2022-06-17T18:58:01.310.717.362 (XO: 14.310719488)
   Max TM value:231 at an offset of 145.350 usec -> 2022-06-17T18:58:01.310.720.075 (XO: 14.310722200)
   Max dTM/dt [1/us]:2.17e+03 at an offset of 139.488 usec -> 2022-06-17T18:58:01.310.714.212 (XO: 14.310716338)
   Min dTM/dt [1/us]:-2.13e+03 at an offset of 104.775 usec -> 2022-06-17T18:58:01.310.679.500 (XO: 14.310681625)

 - Block number: 2 starting at 2022-06-17T18:58:03.094.500.725 (XO: 16.094502727 - 16.094808728, t=45.2 degC)  Rank: 00058
   TM values: Max =   168  Min =  -183  Ave =    -4.40  Std =    65.11
   Min TM value:-183 at an offset of 117.938 usec -> 2022-06-17T18:58:03.094.618.662 (XO: 16.094620665)
   Max TM value:168 at an offset of 123.400 usec -> 2022-06-17T18:58:03.094.624.125 (XO: 16.094626128)
   Max dTM/dt [1/us]:1.79e+03 at an offset of 135.338 usec -> 2022-06-17T18:58:03.094.636.062 (XO: 16.094638065)
   Min dTM/dt [1/us]:-1.76e+03 at an offset of 136.213 usec -> 2022-06-17T18:58:03.094.636.937 (XO: 16.094638940)

 - Block number: 3 starting at 2022-06-17T18:58:20.990.347.725 (XO: 33.990353293 - 33.990659294, t=45.2 degC)  Rank: 00060
   TM values: Max =   270  Min =  -296  Ave =    -4.32  Std =    62.28
   Min TM value:-296 at an offset of 189.401 usec -> 2022-06-17T18:58:20.990.537.125 (XO: 33.990542694)
   Max TM value:270 at an offset of 189.651 usec -> 2022-06-17T18:58:20.990.537.375 (XO: 33.990542944)
   Max dTM/dt [1/us]:2.45e+03 at an offset of 189.526 usec -> 2022-06-17T18:58:20.990.537.250 (XO: 33.990542819)
   Min dTM/dt [1/us]:-2.33e+03 at an offset of 187.026 usec -> 2022-06-17T18:58:20.990.534.750 (XO: 33.990540319)

 - Block number: 4 starting at 2022-06-17T18:58:38.810.694.725 (XO: 51.810699519 - 51.811005520, t=45.2 degC)  Rank: 00049
   TM values: Max =   243  Min =  -266  Ave =    -4.48  Std =    43.12
   Min TM value:-266 at an offset of 150.300 usec -> 2022-06-17T18:58:38.810.845.025 (XO: 51.810849820)
   Max TM value:243 at an offset of 152.588 usec -> 2022-06-17T18:58:38.810.847.312 (XO: 51.810852107)
   Max dTM/dt [1/us]:1.99e+03 at an offset of 122.525 usec -> 2022-06-17T18:58:38.810.817.250 (XO: 51.810822045)
   Min dTM/dt [1/us]:-2.50e+03 at an offset of 150.138 usec -> 2022-06-17T18:58:38.810.844.862 (XO: 51.810849657)
