-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Jun  4 06:39:21 2023 UTC
-- File 20230604_004226_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 7.508808 to 58.068877
-each separately from 7s to 58s and from 68588us to 529050us.
   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, ...
      8.949631 in 1 packets: 18
      23.069744 in 1 packets: 36
      18.539538 in 1 packets: 54
MIU packet time from 2023-06-04T00:42:36.508.808.000 to 2023-06-04T00:43:27.068.877.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, ...
      8.949631 in 1 packets: 18
      23.069744 in 1 packets: 36
      18.539538 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 8.7909436 to 59.7907635
   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, ...
      8.9999682 in 1 packets: 18
      22.9999188 in 1 packets: 36
      18.9999329 in 1 packets: 54
Temperature FPGA: 
      01 -> 53.7 degC in 72 packets (all packets)
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 55 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      0 in 55 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20230604_004226_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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.2997528 to 9.3000418
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.9495990  -- OK for SL --
   MIU time from 2023-06-04T00:42:36.508.808.000 to 2023-06-04T00:42:36.509.097.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.949631

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 18.2496408 to 18.2499298
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.0696630  -- OK for SL --
   MIU time from 2023-06-04T00:42:45.458.728.000 to 2023-06-04T00:42:45.459.017.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.069744

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 41.3195928 to 41.3198818
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.5394710  -- OK for SL --
   MIU time from 2023-06-04T00:43:08.528.761.000 to 2023-06-04T00:43:08.529.050.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.539538

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 59.8593528 to 59.8596418
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-04T00:43:27.068.588.000 to 2023-06-04T00:43:27.068.877.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 = 7, 32bit 10MHz counter = 9.299752800 corrected by 40bit 10MHz counter of 8.790943600 obtained at 1Hz counter of 7. Result: 7.508811032
--
   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.999996400 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2023-06-04T00:42:36.508.667.725
   Max 1st sample MIU time among all SL packets: 2023-06-04T00:43:27.068.736.725
   Min 1st sample XO time among all SL packets: 7.508670756
   Max 1st sample XO time among all SL packets: 58.068738266
   TM values from -260 to 192 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-04T00:42:36.508.667.725 (XO: 7.508670756 - 7.508976757, t=40.4 degC)  Rank: 00077
   TM values: Max =   170  Min =  -229  Ave =    -4.63  Std =    19.83
   Min TM value:-229 at an offset of 102.563 usec -> 2023-06-04T00:42:36.508.770.287 (XO: 7.508773319)
   Max TM value:170 at an offset of 90.475 usec -> 2023-06-04T00:42:36.508.758.200 (XO: 7.508761232)
   Max dTM/dt [1/us]:1.53e+03 at an offset of 105.163 usec -> 2023-06-04T00:42:36.508.772.887 (XO: 7.508775919)
   Min dTM/dt [1/us]:-1.76e+03 at an offset of 90.588 usec -> 2023-06-04T00:42:36.508.758.312 (XO: 7.508761344)

 - Block number: 2 starting at 2023-06-04T00:42:45.458.587.725 (XO: 16.458590330 - 16.458896331, t=40.4 degC)  Rank: 00079
   TM values: Max =   192  Min =  -246  Ave =    -4.57  Std =    19.52
   Min TM value:-246 at an offset of 131.563 usec -> 2023-06-04T00:42:45.458.719.287 (XO: 16.458721893)
   Max TM value:192 at an offset of 129.038 usec -> 2023-06-04T00:42:45.458.716.762 (XO: 16.458719368)
   Max dTM/dt [1/us]:1.89e+03 at an offset of 131.675 usec -> 2023-06-04T00:42:45.458.719.400 (XO: 16.458722006)
   Min dTM/dt [1/us]:-1.97e+03 at an offset of 129.150 usec -> 2023-06-04T00:42:45.458.716.875 (XO: 16.458719481)

 - Block number: 3 starting at 2023-06-04T00:43:08.528.620.725 (XO: 39.528623828 - 39.528929829, t=40.4 degC)  Rank: 00075
   TM values: Max =   190  Min =  -260  Ave =    -4.63  Std =    20.07
   Min TM value:-260 at an offset of 127.625 usec -> 2023-06-04T00:43:08.528.748.350 (XO: 39.528751454)
   Max TM value:190 at an offset of 127.350 usec -> 2023-06-04T00:43:08.528.748.075 (XO: 39.528751179)
   Max dTM/dt [1/us]:2.12e+03 at an offset of 130.000 usec -> 2023-06-04T00:43:08.528.750.725 (XO: 39.528753829)
   Min dTM/dt [1/us]:-2.05e+03 at an offset of 127.463 usec -> 2023-06-04T00:43:08.528.748.187 (XO: 39.528751291)

 - Block number: 4 starting at 2023-06-04T00:43:27.068.447.725 (XO: 58.068449265 - 58.068755266, t=40.4 degC)  Rank: 00082
   TM values: Max =   172  Min =  -256  Ave =    -4.62  Std =    20.36
   Min TM value:-256 at an offset of 127.238 usec -> 2023-06-04T00:43:27.068.574.962 (XO: 58.068576503)
   Max TM value:172 at an offset of 132.325 usec -> 2023-06-04T00:43:27.068.580.050 (XO: 58.068581590)
   Max dTM/dt [1/us]:1.72e+03 at an offset of 129.700 usec -> 2023-06-04T00:43:27.068.577.425 (XO: 58.068578965)
   Min dTM/dt [1/us]:-2.12e+03 at an offset of 127.113 usec -> 2023-06-04T00:43:27.068.574.837 (XO: 58.068576378)
