-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Mar 24 00:47:29 2023 UTC
-- File 20220706_080840_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 13.168603 to 50.447555
-each separately from 13s to 50s and from 8534us to 447555us.
   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, ...
      2.839642 in 1 packets: 18
      24.358886 in 1 packets: 36
      10.079268 in 1 packets: 54
MIU packet time from 2022-07-06T08:08:56.168.603.000 to 2022-07-06T08:09:33.447.555.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, ...
      2.839642 in 1 packets: 18
      24.358886 in 1 packets: 36
      10.079268 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.2636180 to 52.2634831
   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, ...
      2.9999891 in 1 packets: 18
      23.9999125 in 1 packets: 36
      9.9999635 in 1 packets: 54
Temperature FPGA: 
      03 -> 51.1 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      05 -> 48.5 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
      04 -> 49.8 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Temperature XO: 
      C2 -> 38.8 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: 
      1 in 1 packets: 1
      2 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: 
      1 in 1 packets: 1
      2 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 20220706_080840_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:
      90 in 18 packets (all packets)  -- OK --
   10 MHz counter from 15.4322218 to 15.4325108
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 2.8396310  -- OK for SL --
   MIU time from 2022-07-06T08:08:56.168.603.000 to 2022-07-06T08:08:56.168.892.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 2.839642

 - 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 18.2721418 to 18.2724308
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.3587990  -- OK for SL --
   MIU time from 2022-07-06T08:08:59.008.534.000 to 2022-07-06T08:08:59.008.823.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.358886

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 42.6312298 to 42.6315188
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.0792310  -- OK for SL --
   MIU time from 2022-07-06T08:09:23.367.709.000 to 2022-07-06T08:09:23.367.998.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.079268

 - 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:
      72 in 18 packets (all packets)  -- OK --
   10 MHz counter from 52.7107498 to 52.7110388
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-07-06T08:09:33.447.266.000 to 2022-07-06T08:09:33.447.555.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 = 13, 32bit 10MHz counter = 15.432221800 corrected by 40bit 10MHz counter of 15.263618000 obtained at 1Hz counter of 13. Result: 13.168604424
--
   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.999996300 - 0.999996300
   Min 1st sample MIU time among all SL packets: 2022-07-06T08:08:56.168.462.725
   Max 1st sample MIU time among all SL packets: 2022-07-06T08:09:33.447.414.725
   Min 1st sample XO time among all SL packets: 13.168464148
   Max 1st sample XO time among all SL packets: 50.447417080
   TM values from -317 to 283 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-07-06T08:08:56.168.462.725 (XO: 13.168464148 - 13.168770149, t=38.8 degC)  Rank: 00090
   TM values: Max =   188  Min =  -251  Ave =    -4.22  Std =    28.26
   Min TM value:-251 at an offset of 171.463 usec -> 2022-07-06T08:08:56.168.634.188 (XO: 13.168635611)
   Max TM value:188 at an offset of 129.850 usec -> 2022-07-06T08:08:56.168.592.575 (XO: 13.168593999)
   Max dTM/dt [1/us]:2.02e+03 at an offset of 171.563 usec -> 2022-07-06T08:08:56.168.634.288 (XO: 13.168635711)
   Min dTM/dt [1/us]:-1.94e+03 at an offset of 142.563 usec -> 2022-07-06T08:08:56.168.605.288 (XO: 13.168606711)

 - Block number: 2 starting at 2022-07-06T08:08:59.008.393.725 (XO: 16.008394456 - 16.008700457, t=38.8 degC)  Rank: 00080
   TM values: Max =   234  Min =  -285  Ave =    -4.37  Std =    26.06
   Min TM value:-285 at an offset of 131.863 usec -> 2022-07-06T08:08:59.008.525.587 (XO: 16.008526319)
   Max TM value:234 at an offset of 129.400 usec -> 2022-07-06T08:08:59.008.523.125 (XO: 16.008523857)
   Max dTM/dt [1/us]:2.42e+03 at an offset of 131.975 usec -> 2022-07-06T08:08:59.008.525.700 (XO: 16.008526432)
   Min dTM/dt [1/us]:-2.52e+03 at an offset of 129.513 usec -> 2022-07-06T08:08:59.008.523.237 (XO: 16.008523969)

 - Block number: 3 starting at 2022-07-06T08:09:23.367.568.725 (XO: 40.367571285 - 40.367877286, t=38.8 degC)  Rank: 00077
   TM values: Max =   178  Min =  -244  Ave =    -4.25  Std =    27.28
   Min TM value:-244 at an offset of 102.425 usec -> 2022-07-06T08:09:23.367.671.150 (XO: 40.367673710)
   Max TM value:178 at an offset of 107.275 usec -> 2022-07-06T08:09:23.367.676.000 (XO: 40.367678560)
   Max dTM/dt [1/us]:1.74e+03 at an offset of 134.963 usec -> 2022-07-06T08:09:23.367.703.687 (XO: 40.367706248)
   Min dTM/dt [1/us]:-1.80e+03 at an offset of 102.188 usec -> 2022-07-06T08:09:23.367.670.912 (XO: 40.367673473)

 - Block number: 4 starting at 2022-07-06T08:09:33.447.125.725 (XO: 50.447128079 - 50.447434081, t=38.8 degC)  Rank: 00072
   TM values: Max =   283  Min =  -317  Ave =    -4.39  Std =    44.74
   Min TM value:-317 at an offset of 156.238 usec -> 2022-07-06T08:09:33.447.281.963 (XO: 50.447284317)
   Max TM value:283 at an offset of 100.538 usec -> 2022-07-06T08:09:33.447.226.262 (XO: 50.447228617)
   Max dTM/dt [1/us]:2.78e+03 at an offset of 103.138 usec -> 2022-07-06T08:09:33.447.228.862 (XO: 50.447231217)
   Min dTM/dt [1/us]:-2.67e+03 at an offset of 100.650 usec -> 2022-07-06T08:09:33.447.226.375 (XO: 50.447228730)
