-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Mar  5 03:51:38 2022 UTC
-- File 20220201_120657_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.807744 to 47.727522
-each separately from 7s to 47s and from 327649us to 808033us.
   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, ...
      9.539842 in 1 packets: 18
      16.979485 in 1 packets: 36
      13.399295 in 1 packets: 54
MIU packet time from 2022-02-01T12:07:07.807.744.000 to 2022-02-01T12:07:47.727.522.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, ...
      9.539842 in 1 packets: 18
      16.979485 in 1 packets: 36
      13.399295 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.7835786 to 48.7834336
   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, ...
      9.9999638 in 1 packets: 18
      16.9999383 in 1 packets: 36
      12.9999529 in 1 packets: 54
Temperature FPGA: 
      06 -> 47.2 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Number of generated alerts: 
      0 in 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20220201_120657_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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.5913226 to 9.5916116
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.5398070  -- OK for SL --
   MIU time from 2022-02-01T12:07:07.807.744.000 to 2022-02-01T12:07:07.808.033.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.539842

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 19.1314186 to 19.1317076
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.9794230  -- OK for SL --
   MIU time from 2022-02-01T12:07:17.347.875.000 to 2022-02-01T12:07:17.348.164.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.979485

 - 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 36.1111306 to 36.1114196
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.3992470  -- OK for SL --
   MIU time from 2022-02-01T12:07:34.327.649.000 to 2022-02-01T12:07:34.327.938.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.399295

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 49.5106666 to 49.5109556
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-02-01T12:07:47.727.233.000 to 2022-02-01T12:07:47.727.522.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.591322600 corrected by 40bit 10MHz counter of 8.783578600 obtained at 1Hz counter of 7. Result: 7.807746908
--
   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-02-01T12:07:07.807.603.725
   Max 1st sample MIU time among all SL packets: 2022-02-01T12:07:47.727.381.725
   Min 1st sample XO time among all SL packets: 7.807606632
   Max 1st sample XO time among all SL packets: 47.727384416
   TM values from -287 to 231 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-02-01T12:07:07.807.603.725 (XO: 7.807606632 - 7.807912633, t=35.6 degC)  Rank: 00080
   TM values: Max =   213  Min =  -261  Ave =    -4.46  Std =    23.63
   Min TM value:-261 at an offset of 89.338 usec -> 2022-02-01T12:07:07.807.693.062 (XO: 7.807695970)
   Max TM value:213 at an offset of 86.900 usec -> 2022-02-01T12:07:07.807.690.625 (XO: 7.807693533)
   Max dTM/dt [1/us]:1.88e+03 at an offset of 89.475 usec -> 2022-02-01T12:07:07.807.693.200 (XO: 7.807696108)
   Min dTM/dt [1/us]:-2.43e+03 at an offset of 87.025 usec -> 2022-02-01T12:07:07.807.690.750 (XO: 7.807693658)

 - Block number: 2 starting at 2022-02-01T12:07:17.347.734.725 (XO: 17.347737212 - 17.348043213, t=35.6 degC)  Rank: 00081
   TM values: Max =   191  Min =  -267  Ave =    -4.50  Std =    23.57
   Min TM value:-267 at an offset of 112.725 usec -> 2022-02-01T12:07:17.347.847.450 (XO: 17.347849937)
   Max TM value:191 at an offset of 110.250 usec -> 2022-02-01T12:07:17.347.844.975 (XO: 17.347847462)
   Max dTM/dt [1/us]:2.41e+03 at an offset of 112.825 usec -> 2022-02-01T12:07:17.347.847.550 (XO: 17.347850037)
   Min dTM/dt [1/us]:-2.32e+03 at an offset of 110.363 usec -> 2022-02-01T12:07:17.347.845.087 (XO: 17.347847575)

 - Block number: 3 starting at 2022-02-01T12:07:34.327.508.725 (XO: 34.327510837 - 34.327816838, t=35.6 degC)  Rank: 00078
   TM values: Max =   231  Min =  -287  Ave =    -4.43  Std =    28.20
   Min TM value:-287 at an offset of 111.438 usec -> 2022-02-01T12:07:34.327.620.162 (XO: 34.327622275)
   Max TM value:231 at an offset of 109.025 usec -> 2022-02-01T12:07:34.327.617.750 (XO: 34.327619862)
   Max dTM/dt [1/us]:2.49e+03 at an offset of 111.563 usec -> 2022-02-01T12:07:34.327.620.287 (XO: 34.327622400)
   Min dTM/dt [1/us]:-2.68e+03 at an offset of 109.113 usec -> 2022-02-01T12:07:34.327.617.837 (XO: 34.327619950)

 - Block number: 4 starting at 2022-02-01T12:07:47.727.092.725 (XO: 47.727095415 - 47.727401416, t=35.6 degC)  Rank: 00075
   TM values: Max =   212  Min =  -261  Ave =    -4.38  Std =    25.02
   Min TM value:-261 at an offset of 124.713 usec -> 2022-02-01T12:07:47.727.217.437 (XO: 47.727220128)
   Max TM value:212 at an offset of 122.275 usec -> 2022-02-01T12:07:47.727.215.000 (XO: 47.727217691)
   Max dTM/dt [1/us]:2.31e+03 at an offset of 124.825 usec -> 2022-02-01T12:07:47.727.217.550 (XO: 47.727220241)
   Min dTM/dt [1/us]:-2.20e+03 at an offset of 122.363 usec -> 2022-02-01T12:07:47.727.215.087 (XO: 47.727217778)
