-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Jan 17 00:07:58 2024 UTC
-- File 20230913_141419_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.390964 to 52.202478
-each separately from 7s to 52s and from 202189us to 558324us.
   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, ...
      20.154739 in 1 packets: 18
      8.011754 in 1 packets: 36
      16.643865 in 1 packets: 54
MIU packet time from 2023-09-13T14:14:29.390.964.000 to 2023-09-13T14:15:14.202.478.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, ...
      20.154739 in 1 packets: 18
      8.011754 in 1 packets: 36
      16.643865 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.7110985 to 53.7109459
   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, ...
      19.9999322 in 1 packets: 18
      7.9999728 in 1 packets: 36
      16.9999424 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: 
      C1 -> 37.2 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 20230913_141419_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:
      138 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.1020638 to 9.1023528
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.1546710  -- OK for SL --
   MIU time from 2023-09-13T14:14:29.390.964.000 to 2023-09-13T14:14:29.391.253.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.154739

 - 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 29.2570238 to 29.2573128
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.0117270  -- OK for SL --
   MIU time from 2023-09-13T14:14:49.545.992.000 to 2023-09-13T14:14:49.546.281.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.011754

 - 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 37.2690398 to 37.2693288
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.6438070  -- OK for SL --
   MIU time from 2023-09-13T14:14:57.558.035.000 to 2023-09-13T14:14:57.558.324.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.643865

 - 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:
      114 in 18 packets (all packets)  -- OK --
   10 MHz counter from 53.9131358 to 53.9134248
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-09-13T14:15:14.202.189.000 to 2023-09-13T14:15:14.202.478.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.102063800 corrected by 40bit 10MHz counter of 8.711098500 obtained at 1Hz counter of 7. Result: 7.390966629
--
   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.999996600 - 0.999996600
   Min 1st sample MIU time among all SL packets: 2023-09-13T14:14:29.390.823.725
   Max 1st sample MIU time among all SL packets: 2023-09-13T14:15:14.202.337.725
   Min 1st sample XO time among all SL packets: 7.390826354
   Max 1st sample XO time among all SL packets: 52.202339313
   TM values from -967 to 1115 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-09-13T14:14:29.390.823.725 (XO: 7.390826354 - 7.391132355, t=37.2 degC)  Rank: 00138
   TM values: Max =  1102  Min =  -967  Ave =    -4.51  Std =    35.40
   Min TM value:-967 at an offset of 125.500 usec -> 2023-09-13T14:14:29.390.949.225 (XO: 7.390951854)
   Max TM value:1102 at an offset of 125.250 usec -> 2023-09-13T14:14:29.390.948.975 (XO: 7.390951604)
   Max dTM/dt [1/us]:1.25e+04 at an offset of 125.188 usec -> 2023-09-13T14:14:29.390.948.912 (XO: 7.390951542)
   Min dTM/dt [1/us]:-1.25e+04 at an offset of 125.288 usec -> 2023-09-13T14:14:29.390.949.012 (XO: 7.390951642)

 - Block number: 2 starting at 2023-09-13T14:14:49.545.851.725 (XO: 27.545854681 - 27.546160682, t=37.2 degC)  Rank: 00079
   TM values: Max =   203  Min =  -250  Ave =    -4.56  Std =    20.34
   Min TM value:-250 at an offset of 116.550 usec -> 2023-09-13T14:14:49.545.968.275 (XO: 27.545971231)
   Max TM value:203 at an offset of 116.275 usec -> 2023-09-13T14:14:49.545.968.000 (XO: 27.545970956)
   Max dTM/dt [1/us]:1.52e+03 at an offset of 131.463 usec -> 2023-09-13T14:14:49.545.983.187 (XO: 27.545986144)
   Min dTM/dt [1/us]:-2.16e+03 at an offset of 116.388 usec -> 2023-09-13T14:14:49.545.968.112 (XO: 27.545971069)

 - Block number: 3 starting at 2023-09-13T14:14:57.557.894.725 (XO: 35.557897922 - 35.558203923, t=37.2 degC)  Rank: 00080
   TM values: Max =   215  Min =  -238  Ave =    -4.62  Std =    19.28
   Min TM value:-238 at an offset of 118.050 usec -> 2023-09-13T14:14:57.558.012.775 (XO: 35.558015972)
   Max TM value:215 at an offset of 117.775 usec -> 2023-09-13T14:14:57.558.012.500 (XO: 35.558015697)
   Max dTM/dt [1/us]:1.87e+03 at an offset of 115.638 usec -> 2023-09-13T14:14:57.558.010.362 (XO: 35.558013560)
   Min dTM/dt [1/us]:-1.97e+03 at an offset of 117.900 usec -> 2023-09-13T14:14:57.558.012.625 (XO: 35.558015822)

 - Block number: 4 starting at 2023-09-13T14:15:14.202.048.725 (XO: 52.202050312 - 52.202356313, t=37.2 degC)  Rank: 00114
   TM values: Max =  1115  Min =  -959  Ave =    -4.57  Std =    38.24
   Min TM value:-959 at an offset of 97.700 usec -> 2023-09-13T14:15:14.202.146.425 (XO: 52.202148012)
   Max TM value:1115 at an offset of 97.813 usec -> 2023-09-13T14:15:14.202.146.537 (XO: 52.202148125)
   Max dTM/dt [1/us]:1.29e+04 at an offset of 97.750 usec -> 2023-09-13T14:15:14.202.146.475 (XO: 52.202148062)
   Min dTM/dt [1/us]:-1.26e+04 at an offset of 97.850 usec -> 2023-09-13T14:15:14.202.146.575 (XO: 52.202148162)
