-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Mar 22 23:03:08 2023 UTC
-- File 20220629_125037_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 6.680751 to 51.924805
-each separately from 6s to 51s and from 227466us to 924805us.
   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, ...
      10.828311 in 1 packets: 18
      13.717826 in 1 packets: 36
      20.696761 in 1 packets: 54
MIU packet time from 2022-06-29T12:50:47.680.751.000 to 2022-06-29T12:51:32.924.805.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, ...
      10.828311 in 1 packets: 18
      13.717826 in 1 packets: 36
      20.696761 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.2610826 to 53.2609175
   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, ...
      10.9999596 in 1 packets: 18
      13.9999486 in 1 packets: 36
      19.9999267 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 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 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      C0 -> 35.6 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 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      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 1 packets: 1
      1 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      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 20220629_125037_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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 8.9418337 to 8.9421227
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.8282710  -- OK for SL --
   MIU time from 2022-06-29T12:50:47.680.751.000 to 2022-06-29T12:50:47.681.040.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.828311

 - 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 19.7703937 to 19.7706827
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.7177750  -- OK for SL --
   MIU time from 2022-06-29T12:50:58.509.351.000 to 2022-06-29T12:50:58.509.640.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.717826

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 33.4884577 to 33.4887467
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.6966870  -- OK for SL --
   MIU time from 2022-06-29T12:51:12.227.466.000 to 2022-06-29T12:51:12.227.755.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.696761

 - 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:
      88 in 18 packets (all packets)  -- OK --
   10 MHz counter from 54.1854337 to 54.1857227
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-29T12:51:32.924.516.000 to 2022-06-29T12:51:32.924.805.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 = 6, 32bit 10MHz counter = 8.941833700 corrected by 40bit 10MHz counter of 8.261082600 obtained at 1Hz counter of 6. Result: 6.680753551
--
   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-06-29T12:50:47.680.610.725
   Max 1st sample MIU time among all SL packets: 2022-06-29T12:51:32.924.664.725
   Min 1st sample XO time among all SL packets: 6.680613275
   Max 1st sample XO time among all SL packets: 51.924668346
   TM values from -244 to 224 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-29T12:50:47.680.610.725 (XO: 6.680613275 - 6.680919276, t=35.6 degC)  Rank: 00082
   TM values: Max =   192  Min =  -219  Ave =    -4.47  Std =    18.49
   Min TM value:-219 at an offset of 122.488 usec -> 2022-06-29T12:50:47.680.733.212 (XO: 6.680735763)
   Max TM value:192 at an offset of 120.388 usec -> 2022-06-29T12:50:47.680.731.112 (XO: 6.680733663)
   Max dTM/dt [1/us]:1.96e+03 at an offset of 120.288 usec -> 2022-06-29T12:50:47.680.731.012 (XO: 6.680733563)
   Min dTM/dt [1/us]:-1.86e+03 at an offset of 122.313 usec -> 2022-06-29T12:50:47.680.733.037 (XO: 6.680735588)

 - Block number: 2 starting at 2022-06-29T12:50:58.509.210.725 (XO: 17.509213058 - 17.509519059, t=35.6 degC)  Rank: 00080
   TM values: Max =   224  Min =  -244  Ave =    -4.43  Std =    21.52
   Min TM value:-244 at an offset of 111.913 usec -> 2022-06-29T12:50:58.509.322.637 (XO: 17.509324971)
   Max TM value:224 at an offset of 109.450 usec -> 2022-06-29T12:50:58.509.320.175 (XO: 17.509322509)
   Max dTM/dt [1/us]:2.06e+03 at an offset of 112.013 usec -> 2022-06-29T12:50:58.509.322.737 (XO: 17.509325071)
   Min dTM/dt [1/us]:-2.28e+03 at an offset of 111.825 usec -> 2022-06-29T12:50:58.509.322.550 (XO: 17.509324884)

 - Block number: 3 starting at 2022-06-29T12:51:12.227.325.725 (XO: 31.227327443 - 31.227633444, t=35.6 degC)  Rank: 00079
   TM values: Max =   197  Min =  -203  Ave =    -4.30  Std =    24.41
   Min TM value:-203 at an offset of 181.276 usec -> 2022-06-29T12:51:12.227.507.000 (XO: 31.227508719)
   Max TM value:197 at an offset of 165.226 usec -> 2022-06-29T12:51:12.227.490.950 (XO: 31.227492669)
   Max dTM/dt [1/us]:1.68e+03 at an offset of 165.151 usec -> 2022-06-29T12:51:12.227.490.875 (XO: 31.227492594)
   Min dTM/dt [1/us]:-1.71e+03 at an offset of 181.188 usec -> 2022-06-29T12:51:12.227.506.913 (XO: 31.227508632)

 - Block number: 4 starting at 2022-06-29T12:51:32.924.375.725 (XO: 51.924379345 - 51.924685346, t=35.6 degC)  Rank: 00088
   TM values: Max =   182  Min =  -229  Ave =    -4.45  Std =    21.57
   Min TM value:-229 at an offset of 124.363 usec -> 2022-06-29T12:51:32.924.500.087 (XO: 51.924503708)
   Max TM value:182 at an offset of 121.863 usec -> 2022-06-29T12:51:32.924.497.587 (XO: 51.924501208)
   Max dTM/dt [1/us]:2.02e+03 at an offset of 124.463 usec -> 2022-06-29T12:51:32.924.500.187 (XO: 51.924503808)
   Min dTM/dt [1/us]:-2.03e+03 at an offset of 124.275 usec -> 2022-06-29T12:51:32.924.500.000 (XO: 51.924503621)
