-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Jun  3 23:55:20 2023 UTC
-- File 20230603_100325_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.128581 to 53.733249
-each separately from 4s to 53s and from 128581us to 982308us.
   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, ...
      16.072183 in 1 packets: 18
      11.780677 in 1 packets: 36
      21.750652 in 1 packets: 54
MIU packet time from 2023-06-03T10:03:32.128.581.000 to 2023-06-03T10:04:21.733.249.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, ...
      16.072183 in 1 packets: 18
      11.780677 in 1 packets: 36
      21.750652 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 6.0980102 to 55.0978383
   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, ...
      15.9999438 in 1 packets: 18
      10.9999615 in 1 packets: 36
      21.9999228 in 1 packets: 54
Temperature FPGA: 
      01 -> 53.7 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      02 -> 52.4 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 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 20230603_100325_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 6.2265919 to 6.2268809
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.0721270  -- OK for SL --
   MIU time from 2023-06-03T10:03:32.128.581.000 to 2023-06-03T10:03:32.128.870.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.072183

 - 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 22.2990079 to 22.2992969
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.7806390  -- OK for SL --
   MIU time from 2023-06-03T10:03:48.201.053.000 to 2023-06-03T10:03:48.201.342.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.780677

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 34.0799359 to 34.0802249
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.7505750  -- OK for SL --
   MIU time from 2023-06-03T10:03:59.982.019.000 to 2023-06-03T10:03:59.982.308.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.750652

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 55.8307999 to 55.8310889
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-03T10:04:21.732.960.000 to 2023-06-03T10:04:21.733.249.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.226591900 corrected by 40bit 10MHz counter of 6.098010200 obtained at 1Hz counter of 4. Result: 4.128582150
--
   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.999996500
   Min 1st sample MIU time among all SL packets: 2023-06-03T10:03:32.128.440.725
   Max 1st sample MIU time among all SL packets: 2023-06-03T10:04:21.733.108.725
   Min 1st sample XO time among all SL packets: 4.128441875
   Max 1st sample XO time among all SL packets: 53.733112891
   TM values from -530 to 204 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-03T10:03:32.128.440.725 (XO: 4.128441875 - 4.128747876, t=40.4 degC)  Rank: 00090
   TM values: Max =   204  Min =  -530  Ave =    -4.59  Std =    34.77
   Min TM value:-530 at an offset of 124.338 usec -> 2023-06-03T10:03:32.128.565.062 (XO: 4.128566212)
   Max TM value:204 at an offset of 252.963 usec -> 2023-06-03T10:03:32.128.693.688 (XO: 4.128694838)
   Max dTM/dt [1/us]:3.95e+03 at an offset of 136.063 usec -> 2023-06-03T10:03:32.128.576.787 (XO: 4.128577938)
   Min dTM/dt [1/us]:-4.01e+03 at an offset of 124.288 usec -> 2023-06-03T10:03:32.128.565.012 (XO: 4.128566162)

 - Block number: 2 starting at 2023-06-03T10:03:48.200.912.725 (XO: 20.200914328 - 20.201220329, t=40.4 degC)  Rank: 00080
   TM values: Max =   195  Min =  -257  Ave =    -4.46  Std =    22.93
   Min TM value:-257 at an offset of 127.113 usec -> 2023-06-03T10:03:48.201.039.837 (XO: 20.201041441)
   Max TM value:195 at an offset of 124.600 usec -> 2023-06-03T10:03:48.201.037.325 (XO: 20.201038929)
   Max dTM/dt [1/us]:2.02e+03 at an offset of 127.225 usec -> 2023-06-03T10:03:48.201.039.950 (XO: 20.201041554)
   Min dTM/dt [1/us]:-2.11e+03 at an offset of 124.713 usec -> 2023-06-03T10:03:48.201.037.437 (XO: 20.201039041)

 - Block number: 3 starting at 2023-06-03T10:03:59.981.878.725 (XO: 31.981883562 - 31.982189563, t=40.4 degC)  Rank: 00078
   TM values: Max =   200  Min =  -266  Ave =    -4.59  Std =    21.70
   Min TM value:-266 at an offset of 124.113 usec -> 2023-06-03T10:03:59.982.002.837 (XO: 31.982007675)
   Max TM value:200 at an offset of 111.625 usec -> 2023-06-03T10:03:59.981.990.350 (XO: 31.981995187)
   Max dTM/dt [1/us]:1.67e+03 at an offset of 126.513 usec -> 2023-06-03T10:03:59.982.005.237 (XO: 31.982010075)
   Min dTM/dt [1/us]:-2.06e+03 at an offset of 123.963 usec -> 2023-06-03T10:03:59.982.002.687 (XO: 31.982007525)

 - Block number: 4 starting at 2023-06-03T10:04:21.732.819.725 (XO: 53.732823890 - 53.733129891, t=40.4 degC)  Rank: 00080
   TM values: Max =   185  Min =  -231  Ave =    -4.48  Std =    18.70
   Min TM value:-231 at an offset of 110.963 usec -> 2023-06-03T10:04:21.732.930.687 (XO: 53.732934853)
   Max TM value:185 at an offset of 108.963 usec -> 2023-06-03T10:04:21.732.928.687 (XO: 53.732932853)
   Max dTM/dt [1/us]:1.66e+03 at an offset of 108.800 usec -> 2023-06-03T10:04:21.732.928.525 (XO: 53.732932690)
   Min dTM/dt [1/us]:-1.90e+03 at an offset of 110.825 usec -> 2023-06-03T10:04:21.732.930.550 (XO: 53.732934715)
