-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Apr 18 23:27:43 2021 UTC
-- File 20210418_232032_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 12.022837 to 59.720473
-each separately from 12s to 59s and from 22837us to 816974us.
   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, ...
      6.793559 in 1 packets: 18
      17.417106 in 1 packets: 36
      23.485815 in 1 packets: 54
MIU packet time from 2021-04-18T23:20:47.022.837.000 to 2021-04-18T23:21:34.720.473.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, ...
      6.793559 in 1 packets: 18
      17.417106 in 1 packets: 36
      23.485815 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 13.6218543 to 60.6216770
   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, ...
      5.9999773 in 1 packets: 18
      17.9999320 in 1 packets: 36
      22.9999134 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, ...
      07 -> 45.9 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
      08 -> 44.6 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Temperature XO: 
      BE -> 32.4 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: 
      2 in 72 packets (all packets)
Number of generated alerts: 
      2 in 1 packets: 1
      3 in 16 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17
      4 in 1 packets: 18
      6 in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 20210418_232032_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:
      192 in 18 packets (all packets)  -- OK --
   10 MHz counter from 13.6446923 to 13.6449813
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.7935350  -- OK for SL --
   MIU time from 2021-04-18T23:20:47.022.837.000 to 2021-04-18T23:20:47.023.126.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.793559

 - 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:
      4 in 18 packets (all packets)  -- OK --
   10 MHz counter from 20.4385163 to 20.4388053
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.4170390  -- OK for SL --
   MIU time from 2021-04-18T23:20:53.816.685.000 to 2021-04-18T23:20:53.816.974.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.417106

 - 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:
      25 in 18 packets (all packets)  -- OK --
   10 MHz counter from 37.8558443 to 37.8561333
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.4857270  -- OK for SL --
   MIU time from 2021-04-18T23:21:11.234.080.000 to 2021-04-18T23:21:11.234.369.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.485815

 - 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:
      50 in 18 packets (all packets)  -- OK --
   10 MHz counter from 61.3418603 to 61.3421493
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-04-18T23:21:34.720.184.000 to 2021-04-18T23:21:34.720.473.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 = 12, 32bit 10MHz counter = 13.644692300 corrected by 40bit 10MHz counter of 13.621854300 obtained at 1Hz counter of 12. Result: 12.022838087
--
   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.999996200 - 0.999996200
   Min 1st sample MIU time among all SL packets: 2021-04-18T23:20:47.022.696.725
   Max 1st sample MIU time among all SL packets: 2021-04-18T23:21:34.720.332.725
   Min 1st sample XO time among all SL packets: 12.022697811
   Max 1st sample XO time among all SL packets: 59.720334762
   TM values from -290 to 449 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-04-18T23:20:47.022.696.725 (XO: 12.022697811 - 12.023003812, t=32.4 degC)  Rank: 00192
   TM values: Max =   229  Min =  -290  Ave =    -4.43  Std =    31.81
   Min TM value:-290 at an offset of 87.663 usec -> 2021-04-18T23:20:47.022.784.387 (XO: 12.022785474)
   Max TM value:229 at an offset of 90.513 usec -> 2021-04-18T23:20:47.022.787.237 (XO: 12.022788324)
   Max dTM/dt [1/us]:1.80e+03 at an offset of 85.088 usec -> 2021-04-18T23:20:47.022.781.812 (XO: 12.022782899)
   Min dTM/dt [1/us]:-1.72e+03 at an offset of 85.238 usec -> 2021-04-18T23:20:47.022.781.962 (XO: 12.022783049)

 - Block number: 2 starting at 2021-04-18T23:20:53.816.544.725 (XO: 18.816547528 - 18.816853529, t=32.4 degC)  Rank: 00004
   TM values: Max =    16  Min =   -23  Ave =    -4.50  Std =     4.61
   Min TM value:-23 at an offset of 113.113 usec -> 2021-04-18T23:20:53.816.657.837 (XO: 18.816660641)
   Max TM value:16 at an offset of 112.725 usec -> 2021-04-18T23:20:53.816.657.450 (XO: 18.816660253)
   Max dTM/dt [1/us]:1.99e+02 at an offset of 121.675 usec -> 2021-04-18T23:20:53.816.666.400 (XO: 18.816669203)
   Min dTM/dt [1/us]:-2.33e+02 at an offset of 112.913 usec -> 2021-04-18T23:20:53.816.657.637 (XO: 18.816660441)

 - Block number: 3 starting at 2021-04-18T23:21:11.233.939.725 (XO: 36.233941314 - 36.234247315, t=32.4 degC)  Rank: 00025
   TM values: Max =    56  Min =   -73  Ave =    -4.51  Std =     7.34
   Min TM value:-73 at an offset of 123.825 usec -> 2021-04-18T23:21:11.234.063.550 (XO: 36.234065139)
   Max TM value:56 at an offset of 124.013 usec -> 2021-04-18T23:21:11.234.063.737 (XO: 36.234065327)
   Max dTM/dt [1/us]:8.08e+02 at an offset of 123.925 usec -> 2021-04-18T23:21:11.234.063.650 (XO: 36.234065239)
   Min dTM/dt [1/us]:-9.95e+02 at an offset of 123.763 usec -> 2021-04-18T23:21:11.234.063.487 (XO: 36.234065077)

 - Block number: 4 starting at 2021-04-18T23:21:34.720.043.725 (XO: 59.720045761 - 59.720351762, t=32.4 degC)  Rank: 00050
   TM values: Max =   449  Min =  -148  Ave =    -4.42  Std =    25.39
   Min TM value:-148 at an offset of 87.400 usec -> 2021-04-18T23:21:34.720.131.125 (XO: 59.720133162)
   Max TM value:449 at an offset of 86.900 usec -> 2021-04-18T23:21:34.720.130.625 (XO: 59.720132662)
   Max dTM/dt [1/us]:2.86e+03 at an offset of 86.838 usec -> 2021-04-18T23:21:34.720.130.562 (XO: 59.720132599)
   Min dTM/dt [1/us]:-4.05e+03 at an offset of 7.663 usec -> 2021-04-18T23:21:34.720.051.387 (XO: 59.720053424)
