-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Nov 15 05:35:02 2021 UTC
-- File 20210715_040613_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 13.672172 to 48.002801
-each separately from 13s to 48s and from 2512us to 842713us.
   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, ...
      1.529717 in 1 packets: 18
      21.639957 in 1 packets: 36
      11.159799 in 1 packets: 54
MIU packet time from 2021-07-15T04:06:29.672.172.000 to 2021-07-15T04:07:04.002.801.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, ...
      1.529717 in 1 packets: 18
      21.639957 in 1 packets: 36
      11.159799 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 14.8512839 to 49.8511672
   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, ...
      1.9999933 in 1 packets: 18
      20.9999299 in 1 packets: 36
      11.9999601 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, ...
      04 -> 49.8 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 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 20210715_040613_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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 15.5234561 to 15.5237451
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 1.5297110  -- OK for SL --
   MIU time from 2021-07-15T04:06:29.672.172.000 to 2021-07-15T04:06:29.672.461.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 1.529717

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 17.0534561 to 17.0537451
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.6398870  -- OK for SL --
   MIU time from 2021-07-15T04:06:31.202.178.000 to 2021-07-15T04:06:31.202.467.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.639957

 - 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 38.6936321 to 38.6939211
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.1597590  -- OK for SL --
   MIU time from 2021-07-15T04:06:52.842.424.000 to 2021-07-15T04:06:52.842.713.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.159799

 - 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:
      90 in 18 packets (all packets)  -- OK --
   10 MHz counter from 49.8536801 to 49.8539691
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-15T04:07:04.002.512.000 to 2021-07-15T04:07:04.002.801.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 = 13, 32bit 10MHz counter = 15.523456100 corrected by 40bit 10MHz counter of 14.851283900 obtained at 1Hz counter of 13. Result: 13.672174485
--
   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.999996700
   Min 1st sample MIU time among all SL packets: 2021-07-15T04:06:29.672.031.725
   Max 1st sample MIU time among all SL packets: 2021-07-15T04:07:04.002.660.725
   Min 1st sample XO time among all SL packets: 13.672034210
   Max 1st sample XO time among all SL packets: 48.002661634
   TM values from -255 to 207 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-15T04:06:29.672.031.725 (XO: 13.672034210 - 13.672340211, t=37.2 degC)  Rank: 00076
   TM values: Max =   189  Min =  -255  Ave =    -4.55  Std =    21.61
   Min TM value:-255 at an offset of 120.388 usec -> 2021-07-15T04:06:29.672.152.112 (XO: 13.672154598)
   Max TM value:189 at an offset of 120.088 usec -> 2021-07-15T04:06:29.672.151.812 (XO: 13.672154298)
   Max dTM/dt [1/us]:1.57e+03 at an offset of 122.838 usec -> 2021-07-15T04:06:29.672.154.562 (XO: 13.672157048)
   Min dTM/dt [1/us]:-2.10e+03 at an offset of 120.225 usec -> 2021-07-15T04:06:29.672.151.950 (XO: 13.672154435)

 - Block number: 2 starting at 2021-07-15T04:06:31.202.037.725 (XO: 15.202039292 - 15.202345293, t=37.2 degC)  Rank: 00077
   TM values: Max =   164  Min =  -200  Ave =    -4.48  Std =    17.75
   Min TM value:-200 at an offset of 126.125 usec -> 2021-07-15T04:06:31.202.163.850 (XO: 15.202165417)
   Max TM value:164 at an offset of 128.963 usec -> 2021-07-15T04:06:31.202.166.687 (XO: 15.202168255)
   Max dTM/dt [1/us]:1.34e+03 at an offset of 128.838 usec -> 2021-07-15T04:06:31.202.166.562 (XO: 15.202168130)
   Min dTM/dt [1/us]:-1.45e+03 at an offset of 113.325 usec -> 2021-07-15T04:06:31.202.151.050 (XO: 15.202152617)

 - Block number: 3 starting at 2021-07-15T04:06:52.842.283.725 (XO: 36.842287589 - 36.842593590, t=37.2 degC)  Rank: 00078
   TM values: Max =   207  Min =  -228  Ave =    -4.46  Std =    19.11
   Min TM value:-228 at an offset of 128.625 usec -> 2021-07-15T04:06:52.842.412.350 (XO: 36.842416214)
   Max TM value:207 at an offset of 131.275 usec -> 2021-07-15T04:06:52.842.415.000 (XO: 36.842418864)
   Max dTM/dt [1/us]:1.58e+03 at an offset of 131.175 usec -> 2021-07-15T04:06:52.842.414.900 (XO: 36.842418764)
   Min dTM/dt [1/us]:-1.76e+03 at an offset of 128.413 usec -> 2021-07-15T04:06:52.842.412.137 (XO: 36.842416002)

 - Block number: 4 starting at 2021-07-15T04:07:04.002.371.725 (XO: 48.002372633 - 48.002678634, t=37.2 degC)  Rank: 00090
   TM values: Max =   197  Min =  -247  Ave =    -4.46  Std =    21.52
   Min TM value:-247 at an offset of 126.438 usec -> 2021-07-15T04:07:04.002.498.162 (XO: 48.002499071)
   Max TM value:197 at an offset of 126.188 usec -> 2021-07-15T04:07:04.002.497.912 (XO: 48.002498821)
   Max dTM/dt [1/us]:2.14e+03 at an offset of 128.875 usec -> 2021-07-15T04:07:04.002.500.600 (XO: 48.002501509)
   Min dTM/dt [1/us]:-2.22e+03 at an offset of 126.313 usec -> 2021-07-15T04:07:04.002.498.037 (XO: 48.002498946)
