-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Mar  6 03:38:51 2022 UTC
-- File 20220202_153144_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.320260 to 59.601903
-each separately from 7s to 59s and from 320260us to 881594us.
   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, ...
      19.180339 in 1 packets: 18
      18.380128 in 1 packets: 36
      14.720020 in 1 packets: 54
MIU packet time from 2022-02-02T15:31:54.320.260.000 to 2022-02-02T15:32:46.601.903.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, ...
      19.180339 in 1 packets: 18
      18.380128 in 1 packets: 36
      14.720020 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 9.2872048 to 61.2870181
   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, ...
      18.9999318 in 1 packets: 18
      17.9999353 in 1 packets: 36
      14.9999462 in 1 packets: 54
Temperature FPGA: 
      06 -> 47.2 degC in 18 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, ...
      05 -> 48.5 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      2 in 36 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, ...
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 17 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      2 in 36 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, ...
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 20220202_153144_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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.6074652 to 9.6077542
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.1802710  -- OK for SL --
   MIU time from 2022-02-02T15:31:54.320.260.000 to 2022-02-02T15:31:54.320.549.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.180339

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 28.7880252 to 28.7883142
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.3800630  -- OK for SL --
   MIU time from 2022-02-02T15:32:13.500.888.000 to 2022-02-02T15:32:13.501.177.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.380128

 - 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 47.1683772 to 47.1686662
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.7199670  -- OK for SL --
   MIU time from 2022-02-02T15:32:31.881.305.000 to 2022-02-02T15:32:31.881.594.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.720020

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 61.8886332 to 61.8889222
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-02-02T15:32:46.601.614.000 to 2022-02-02T15:32:46.601.903.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.607465200 corrected by 40bit 10MHz counter of 9.287204800 obtained at 1Hz counter of 7. Result: 7.320261585
--
   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-02T15:31:54.320.119.725
   Max 1st sample MIU time among all SL packets: 2022-02-02T15:32:46.601.762.725
   Min 1st sample XO time among all SL packets: 7.320121309
   Max 1st sample XO time among all SL packets: 59.601765991
   TM values from -280 to 224 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-02-02T15:31:54.320.119.725 (XO: 7.320121309 - 7.320427311, t=37.2 degC)  Rank: 00078
   TM values: Max =   218  Min =  -243  Ave =    -4.66  Std =    20.29
   Min TM value:-243 at an offset of 119.650 usec -> 2022-02-02T15:31:54.320.239.375 (XO: 7.320240960)
   Max TM value:218 at an offset of 117.225 usec -> 2022-02-02T15:31:54.320.236.950 (XO: 7.320238535)
   Max dTM/dt [1/us]:2.14e+03 at an offset of 119.775 usec -> 2022-02-02T15:31:54.320.239.500 (XO: 7.320241085)
   Min dTM/dt [1/us]:-2.31e+03 at an offset of 117.338 usec -> 2022-02-02T15:31:54.320.237.062 (XO: 7.320238647)

 - Block number: 2 starting at 2022-02-02T15:32:13.500.747.725 (XO: 26.500750128 - 26.501056129, t=37.2 degC)  Rank: 00083
   TM values: Max =   191  Min =  -267  Ave =    -4.58  Std =    20.56
   Min TM value:-267 at an offset of 108.413 usec -> 2022-02-02T15:32:13.500.856.137 (XO: 26.500858541)
   Max TM value:191 at an offset of 105.938 usec -> 2022-02-02T15:32:13.500.853.662 (XO: 26.500856066)
   Max dTM/dt [1/us]:2.36e+03 at an offset of 108.525 usec -> 2022-02-02T15:32:13.500.856.250 (XO: 26.500858653)
   Min dTM/dt [1/us]:-2.29e+03 at an offset of 106.063 usec -> 2022-02-02T15:32:13.500.853.787 (XO: 26.500856191)

 - Block number: 3 starting at 2022-02-02T15:32:31.881.164.725 (XO: 44.881168197 - 44.881474198, t=37.2 degC)  Rank: 00079
   TM values: Max =   224  Min =  -280  Ave =    -4.47  Std =    30.29
   Min TM value:-280 at an offset of 99.513 usec -> 2022-02-02T15:32:31.881.264.237 (XO: 44.881267710)
   Max TM value:224 at an offset of 97.113 usec -> 2022-02-02T15:32:31.881.261.837 (XO: 44.881265310)
   Max dTM/dt [1/us]:2.20e+03 at an offset of 99.625 usec -> 2022-02-02T15:32:31.881.264.350 (XO: 44.881267823)
   Min dTM/dt [1/us]:-2.68e+03 at an offset of 97.213 usec -> 2022-02-02T15:32:31.881.261.937 (XO: 44.881265410)

 - Block number: 4 starting at 2022-02-02T15:32:46.601.473.725 (XO: 59.601476990 - 59.601782991, t=37.2 degC)  Rank: 00079
   TM values: Max =   200  Min =  -224  Ave =    -4.52  Std =    23.88
   Min TM value:-224 at an offset of 162.526 usec -> 2022-02-02T15:32:46.601.636.250 (XO: 59.601639516)
   Max TM value:200 at an offset of 117.738 usec -> 2022-02-02T15:32:46.601.591.462 (XO: 59.601594728)
   Max dTM/dt [1/us]:2.10e+03 at an offset of 120.338 usec -> 2022-02-02T15:32:46.601.594.062 (XO: 59.601597328)
   Min dTM/dt [1/us]:-2.21e+03 at an offset of 117.838 usec -> 2022-02-02T15:32:46.601.591.562 (XO: 59.601594828)
