-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Mar  1 20:24:11 2023 UTC
-- File 20220521_052215_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 9.665408 to 50.486055
-each separately from 9s to 50s and from 485766us to 805942us.
   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, ...
      17.959841 in 1 packets: 18
      14.179826 in 1 packets: 36
      8.679824 in 1 packets: 54
MIU packet time from 2022-05-21T05:22:27.665.408.000 to 2022-05-21T05:23:08.486.055.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, ...
      17.959841 in 1 packets: 18
      14.179826 in 1 packets: 36
      8.679824 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 10.9425740 to 51.9424242
   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, ...
      17.9999342 in 1 packets: 18
      13.9999488 in 1 packets: 36
      8.9999672 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
      02 -> 52.4 degC in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      C3 -> 40.4 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 20220521_052215_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 11.6079831 to 11.6082721
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.9597750  -- OK for SL --
   MIU time from 2022-05-21T05:22:27.665.408.000 to 2022-05-21T05:22:27.665.697.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.959841

 - 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 29.5680471 to 29.5683361
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.1797750  -- OK for SL --
   MIU time from 2022-05-21T05:22:45.625.538.000 to 2022-05-21T05:22:45.625.827.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.179826

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 43.7481111 to 43.7484001
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.6797910  -- OK for SL --
   MIU time from 2022-05-21T05:22:59.805.653.000 to 2022-05-21T05:22:59.805.942.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.679824

 - 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:
      74 in 18 packets (all packets)  -- OK --
   10 MHz counter from 52.4281911 to 52.4284801
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-05-21T05:23:08.485.766.000 to 2022-05-21T05:23:08.486.055.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 = 9, 32bit 10MHz counter = 11.607983100 corrected by 40bit 10MHz counter of 10.942574000 obtained at 1Hz counter of 9. Result: 9.665411495
--
   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.999996400
   Min 1st sample MIU time among all SL packets: 2022-05-21T05:22:27.665.267.725
   Max 1st sample MIU time among all SL packets: 2022-05-21T05:23:08.485.914.725
   Min 1st sample XO time among all SL packets: 9.665271220
   Max 1st sample XO time among all SL packets: 50.485917423
   TM values from -263 to 221 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-05-21T05:22:27.665.267.725 (XO: 9.665271220 - 9.665577221, t=40.4 degC)  Rank: 00079
   TM values: Max =   211  Min =  -243  Ave =    -4.42  Std =    24.70
   Min TM value:-243 at an offset of 111.775 usec -> 2022-05-21T05:22:27.665.379.500 (XO: 9.665382995)
   Max TM value:211 at an offset of 112.025 usec -> 2022-05-21T05:22:27.665.379.750 (XO: 9.665383245)
   Max dTM/dt [1/us]:2.07e+03 at an offset of 111.900 usec -> 2022-05-21T05:22:27.665.379.625 (XO: 9.665383120)
   Min dTM/dt [1/us]:-2.15e+03 at an offset of 111.688 usec -> 2022-05-21T05:22:27.665.379.412 (XO: 9.665382908)

 - Block number: 2 starting at 2022-05-21T05:22:45.625.397.725 (XO: 27.625400939 - 27.625706940, t=40.4 degC)  Rank: 00080
   TM values: Max =   221  Min =  -244  Ave =    -4.33  Std =    21.95
   Min TM value:-244 at an offset of 121.113 usec -> 2022-05-21T05:22:45.625.518.837 (XO: 27.625522052)
   Max TM value:221 at an offset of 123.475 usec -> 2022-05-21T05:22:45.625.521.200 (XO: 27.625524414)
   Max dTM/dt [1/us]:2.27e+03 at an offset of 123.375 usec -> 2022-05-21T05:22:45.625.521.100 (XO: 27.625524314)
   Min dTM/dt [1/us]:-2.26e+03 at an offset of 120.975 usec -> 2022-05-21T05:22:45.625.518.700 (XO: 27.625521914)

 - Block number: 3 starting at 2022-05-21T05:22:59.805.512.725 (XO: 41.805516725 - 41.805822726, t=40.4 degC)  Rank: 00082
   TM values: Max =   193  Min =  -252  Ave =    -4.41  Std =    19.59
   Min TM value:-252 at an offset of 122.800 usec -> 2022-05-21T05:22:59.805.635.525 (XO: 41.805639525)
   Max TM value:193 at an offset of 123.038 usec -> 2022-05-21T05:22:59.805.635.762 (XO: 41.805639763)
   Max dTM/dt [1/us]:2.34e+03 at an offset of 122.900 usec -> 2022-05-21T05:22:59.805.635.625 (XO: 41.805639625)
   Min dTM/dt [1/us]:-2.16e+03 at an offset of 122.700 usec -> 2022-05-21T05:22:59.805.635.425 (XO: 41.805639425)

 - Block number: 4 starting at 2022-05-21T05:23:08.485.625.725 (XO: 50.485628422 - 50.485934423, t=40.4 degC)  Rank: 00074
   TM values: Max =   196  Min =  -263  Ave =    -4.45  Std =    25.19
   Min TM value:-263 at an offset of 98.663 usec -> 2022-05-21T05:23:08.485.724.387 (XO: 50.485727085)
   Max TM value:196 at an offset of 98.925 usec -> 2022-05-21T05:23:08.485.724.650 (XO: 50.485727347)
   Max dTM/dt [1/us]:2.12e+03 at an offset of 98.800 usec -> 2022-05-21T05:23:08.485.724.525 (XO: 50.485727222)
   Min dTM/dt [1/us]:-2.26e+03 at an offset of 98.588 usec -> 2022-05-21T05:23:08.485.724.312 (XO: 50.485727010)
