-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Nov 12 13:24:19 2021 UTC
-- File 20210712_143845_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 13.507384 to 42.778603
-each separately from 13s to 42s and from 317577us to 778603us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      4.809904 in 1 packets: 18
      24.460448 in 1 packets: 36
MIU packet time from 2021-07-12T14:39:01.507.384.000 to 2021-07-12T14:39:30.778.603.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      4.809904 in 1 packets: 18
      24.460448 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 14.8661452 to 43.8660469
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      4.9999831 in 1 packets: 18
      23.9999186 in 1 packets: 36
Temperature FPGA: 
      04 -> 49.8 degC in 54 packets (all packets)
Temperature XO: 
      C1 -> 37.2 degC in 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 packets (all packets)
Number of external events: 
      0 in 54 packets (all packets)
Number of generated alerts: 
      0 in 54 packets (all packets)
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20210712_143845_1227.dat, 3 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:
      72 in 18 packets (all packets)  -- OK --
   10 MHz counter from 15.3735297 to 15.3738187
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 4.8098870  -- OK for SL --
   MIU time from 2021-07-12T14:39:01.507.384.000 to 2021-07-12T14:39:01.507.673.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 4.809904

 - 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 20.1837057 to 20.1839947
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.4603670  -- OK for SL --
   MIU time from 2021-07-12T14:39:06.317.577.000 to 2021-07-12T14:39:06.317.866.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.460448

 - 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:
      70 in 18 packets (all packets)  -- OK --
   10 MHz counter from 44.6443617 to 44.6446507
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-12T14:39:30.778.314.000 to 2021-07-12T14:39:30.778.603.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 13, 32bit 10MHz counter = 15.373529700 corrected by 40bit 10MHz counter of 14.866145200 obtained at 1Hz counter of 13. Result: 13.507386276
--
   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.999996500 - 0.999996600
   Min 1st sample MIU time among all SL packets: 2021-07-12T14:39:01.507.243.725
   Max 1st sample MIU time among all SL packets: 2021-07-12T14:39:30.778.462.725
   Min 1st sample XO time among all SL packets: 13.507246000
   Max 1st sample XO time among all SL packets: 42.778466172
   TM values from -285 to 267 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-12T14:39:01.507.243.725 (XO: 13.507246000 - 13.507552001, t=37.2 degC)  Rank: 00072
   TM values: Max =   221  Min =  -281  Ave =    -4.59  Std =    23.43
   Min TM value:-281 at an offset of 127.875 usec -> 2021-07-12T14:39:01.507.371.600 (XO: 13.507373876)
   Max TM value:221 at an offset of 130.488 usec -> 2021-07-12T14:39:01.507.374.212 (XO: 13.507376488)
   Max dTM/dt [1/us]:1.96e+03 at an offset of 130.338 usec -> 2021-07-12T14:39:01.507.374.062 (XO: 13.507376338)
   Min dTM/dt [1/us]:-1.95e+03 at an offset of 127.725 usec -> 2021-07-12T14:39:01.507.371.450 (XO: 13.507373726)

 - Block number: 2 starting at 2021-07-12T14:39:06.317.436.725 (XO: 18.317438236 - 18.317744237, t=37.2 degC)  Rank: 00079
   TM values: Max =   226  Min =  -281  Ave =    -4.56  Std =    24.29
   Min TM value:-281 at an offset of 116.075 usec -> 2021-07-12T14:39:06.317.552.800 (XO: 18.317554311)
   Max TM value:226 at an offset of 118.638 usec -> 2021-07-12T14:39:06.317.555.362 (XO: 18.317556874)
   Max dTM/dt [1/us]:1.80e+03 at an offset of 118.475 usec -> 2021-07-12T14:39:06.317.555.200 (XO: 18.317556711)
   Min dTM/dt [1/us]:-2.24e+03 at an offset of 115.913 usec -> 2021-07-12T14:39:06.317.552.637 (XO: 18.317554149)

 - Block number: 3 starting at 2021-07-12T14:39:30.778.173.725 (XO: 42.778177171 - 42.778483172, t=37.2 degC)  Rank: 00070
   TM values: Max =   267  Min =  -285  Ave =    -4.54  Std =    31.50
   Min TM value:-285 at an offset of 116.150 usec -> 2021-07-12T14:39:30.778.289.875 (XO: 42.778293321)
   Max TM value:267 at an offset of 115.888 usec -> 2021-07-12T14:39:30.778.289.612 (XO: 42.778293059)
   Max dTM/dt [1/us]:2.27e+03 at an offset of 113.775 usec -> 2021-07-12T14:39:30.778.287.500 (XO: 42.778290946)
   Min dTM/dt [1/us]:-2.22e+03 at an offset of 115.988 usec -> 2021-07-12T14:39:30.778.289.712 (XO: 42.778293159)
