-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Mar 21 23:16:38 2023 UTC
-- File 20220711_200921_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.562048 to 55.395990
-each separately from 14s to 55s and from 78067us to 680846us.
   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.118220 in 1 packets: 18
      14.397221 in 1 packets: 36
      18.317345 in 1 packets: 54
MIU packet time from 2022-07-11T20:09:38.562.048.000 to 2022-07-11T20:10:19.395.990.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.118220 in 1 packets: 18
      14.397221 in 1 packets: 36
      18.317345 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 16.1187008 to 57.1185519
   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, ...
      7.9999710 in 1 packets: 18
      14.9999455 in 1 packets: 36
      17.9999346 in 1 packets: 54
Temperature FPGA: 
      03 -> 51.1 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 degC in 18 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: 
      0 in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 1 packets: 55
      2 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 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 1 packets: 55
      2 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 20220711_200921_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 16.6807498 to 16.6810388
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.1181910  -- OK for SL --
   MIU time from 2022-07-11T20:09:38.562.048.000 to 2022-07-11T20:09:38.562.337.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.118220

 - 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 24.7992298 to 24.7995188
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.3971670  -- OK for SL --
   MIU time from 2022-07-11T20:09:46.680.557.000 to 2022-07-11T20:09:46.680.846.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.397221

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 39.1966858 to 39.1969748
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.3172790  -- OK for SL --
   MIU time from 2022-07-11T20:10:01.078.067.000 to 2022-07-11T20:10:01.078.356.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.317345

 - 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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 57.5142538 to 57.5145428
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-07-11T20:10:19.395.701.000 to 2022-07-11T20:10:19.395.990.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 = 16.680749800 corrected by 40bit 10MHz counter of 16.118700800 obtained at 1Hz counter of 14. Result: 14.562051023
--
   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.999996400
   Min 1st sample MIU time among all SL packets: 2022-07-11T20:09:38.561.907.725
   Max 1st sample MIU time among all SL packets: 2022-07-11T20:10:19.395.849.725
   Min 1st sample XO time among all SL packets: 14.561910748
   Max 1st sample XO time among all SL packets: 55.395852050
   TM values from -326 to 263 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-07-11T20:09:38.561.907.725 (XO: 14.561910748 - 14.562216749, t=38.8 degC)  Rank: 00079
   TM values: Max =   263  Min =  -281  Ave =    -4.43  Std =    30.54
   Min TM value:-281 at an offset of 130.788 usec -> 2022-07-11T20:09:38.562.038.512 (XO: 14.562041536)
   Max TM value:263 at an offset of 126.463 usec -> 2022-07-11T20:09:38.562.034.187 (XO: 14.562037211)
   Max dTM/dt [1/us]:2.45e+03 at an offset of 130.925 usec -> 2022-07-11T20:09:38.562.038.650 (XO: 14.562041673)
   Min dTM/dt [1/us]:-2.92e+03 at an offset of 128.413 usec -> 2022-07-11T20:09:38.562.036.137 (XO: 14.562039161)

 - Block number: 2 starting at 2022-07-11T20:09:46.680.416.725 (XO: 22.680420175 - 22.680726176, t=38.8 degC)  Rank: 00080
   TM values: Max =   231  Min =  -326  Ave =    -4.29  Std =    36.35
   Min TM value:-326 at an offset of 206.801 usec -> 2022-07-11T20:09:46.680.623.525 (XO: 22.680626975)
   Max TM value:231 at an offset of 113.963 usec -> 2022-07-11T20:09:46.680.530.687 (XO: 22.680534137)
   Max dTM/dt [1/us]:2.54e+03 at an offset of 206.926 usec -> 2022-07-11T20:09:46.680.623.650 (XO: 22.680627100)
   Min dTM/dt [1/us]:-2.84e+03 at an offset of 115.963 usec -> 2022-07-11T20:09:46.680.532.687 (XO: 22.680536137)

 - Block number: 3 starting at 2022-07-11T20:10:01.077.926.725 (XO: 37.077928506 - 37.078234507, t=38.8 degC)  Rank: 00080
   TM values: Max =   259  Min =  -291  Ave =    -4.44  Std =    28.39
   Min TM value:-291 at an offset of 117.338 usec -> 2022-07-11T20:10:01.078.044.062 (XO: 37.078045843)
   Max TM value:259 at an offset of 114.900 usec -> 2022-07-11T20:10:01.078.041.625 (XO: 37.078043406)
   Max dTM/dt [1/us]:2.96e+03 at an offset of 117.463 usec -> 2022-07-11T20:10:01.078.044.187 (XO: 37.078045968)
   Min dTM/dt [1/us]:-2.83e+03 at an offset of 114.963 usec -> 2022-07-11T20:10:01.078.041.687 (XO: 37.078043468)

 - Block number: 4 starting at 2022-07-11T20:10:19.395.560.725 (XO: 55.395563049 - 55.395869050, t=38.8 degC)  Rank: 00084
   TM values: Max =   242  Min =  -316  Ave =    -4.40  Std =    30.90
   Min TM value:-316 at an offset of 116.825 usec -> 2022-07-11T20:10:19.395.677.550 (XO: 55.395679874)
   Max TM value:242 at an offset of 117.088 usec -> 2022-07-11T20:10:19.395.677.812 (XO: 55.395680137)
   Max dTM/dt [1/us]:2.71e+03 at an offset of 116.963 usec -> 2022-07-11T20:10:19.395.677.687 (XO: 55.395680012)
   Min dTM/dt [1/us]:-2.94e+03 at an offset of 114.488 usec -> 2022-07-11T20:10:19.395.675.212 (XO: 55.395677537)
