-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Nov 14 19:02:41 2021 UTC
-- File 20210714_191120_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.181975 to 54.709047
-each separately from 7s to 54s and from 181975us to 729682us.
   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, ...
      18.078540 in 1 packets: 18
      18.468300 in 1 packets: 36
      10.979076 in 1 packets: 54
MIU packet time from 2021-07-14T19:11:30.181.975.000 to 2021-07-14T19:12:17.709.047.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, ...
      18.078540 in 1 packets: 18
      18.468300 in 1 packets: 36
      10.979076 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.8948388 to 55.8946803
   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, ...
      17.9999393 in 2 packets: 18, 36
      10.9999629 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 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: 
      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 72 packets (all packets)
Number of generated alerts: 
      0 in 72 packets (all packets)
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 20210714_191120_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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.0768148 to 9.0771038
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.0784790  -- OK for SL --
   MIU time from 2021-07-14T19:11:30.181.975.000 to 2021-07-14T19:11:30.182.264.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.078540

 - 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:
      73 in 18 packets (all packets)  -- OK --
   10 MHz counter from 27.1555828 to 27.1558718
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.4682390  -- OK for SL --
   MIU time from 2021-07-14T19:11:48.260.804.000 to 2021-07-14T19:11:48.261.093.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.468300

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 45.6241108 to 45.6243998
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.9790390  -- OK for SL --
   MIU time from 2021-07-14T19:12:06.729.393.000 to 2021-07-14T19:12:06.729.682.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.979076

 - 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 56.6034388 to 56.6037278
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-14T19:12:17.708.758.000 to 2021-07-14T19:12:17.709.047.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.076814800 corrected by 40bit 10MHz counter of 8.894838800 obtained at 1Hz counter of 7. Result: 7.181976601
--
   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-14T19:11:30.181.834.725
   Max 1st sample MIU time among all SL packets: 2021-07-14T19:12:17.708.906.725
   Min 1st sample XO time among all SL packets: 7.181836325
   Max 1st sample XO time among all SL packets: 54.708909564
   TM values from -270 to 266 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-14T19:11:30.181.834.725 (XO: 7.181836325 - 7.182142326, t=37.2 degC)  Rank: 00075
   TM values: Max =   266  Min =  -265  Ave =    -4.35  Std =    28.41
   Min TM value:-265 at an offset of 105.088 usec -> 2021-07-14T19:11:30.181.939.812 (XO: 7.181941413)
   Max TM value:266 at an offset of 102.950 usec -> 2021-07-14T19:11:30.181.937.675 (XO: 7.181939275)
   Max dTM/dt [1/us]:2.53e+03 at an offset of 107.463 usec -> 2021-07-14T19:11:30.181.942.187 (XO: 7.181943788)
   Min dTM/dt [1/us]:-2.76e+03 at an offset of 104.938 usec -> 2021-07-14T19:11:30.181.939.662 (XO: 7.181941263)

 - Block number: 2 starting at 2021-07-14T19:11:48.260.663.725 (XO: 25.260665311 - 25.260971312, t=37.2 degC)  Rank: 00073
   TM values: Max =   221  Min =  -262  Ave =    -4.27  Std =    22.38
   Min TM value:-262 at an offset of 118.050 usec -> 2021-07-14T19:11:48.260.781.775 (XO: 25.260783362)
   Max TM value:221 at an offset of 120.688 usec -> 2021-07-14T19:11:48.260.784.412 (XO: 25.260785999)
   Max dTM/dt [1/us]:2.11e+03 at an offset of 120.513 usec -> 2021-07-14T19:11:48.260.784.237 (XO: 25.260785824)
   Min dTM/dt [1/us]:-2.27e+03 at an offset of 117.850 usec -> 2021-07-14T19:11:48.260.781.575 (XO: 25.260783162)

 - Block number: 3 starting at 2021-07-14T19:12:06.729.252.725 (XO: 43.729255604 - 43.729561606, t=37.2 degC)  Rank: 00080
   TM values: Max =   234  Min =  -270  Ave =    -4.39  Std =    27.86
   Min TM value:-270 at an offset of 127.813 usec -> 2021-07-14T19:12:06.729.380.537 (XO: 43.729383417)
   Max TM value:234 at an offset of 127.488 usec -> 2021-07-14T19:12:06.729.380.212 (XO: 43.729383092)
   Max dTM/dt [1/us]:2.01e+03 at an offset of 130.150 usec -> 2021-07-14T19:12:06.729.382.875 (XO: 43.729385755)
   Min dTM/dt [1/us]:-2.40e+03 at an offset of 127.600 usec -> 2021-07-14T19:12:06.729.380.325 (XO: 43.729383205)

 - Block number: 4 starting at 2021-07-14T19:12:17.708.617.725 (XO: 54.708620563 - 54.708926564, t=37.2 degC)  Rank: 00079
   TM values: Max =   225  Min =  -269  Ave =    -4.44  Std =    24.02
   Min TM value:-269 at an offset of 115.538 usec -> 2021-07-14T19:12:17.708.733.262 (XO: 54.708736101)
   Max TM value:225 at an offset of 118.213 usec -> 2021-07-14T19:12:17.708.735.937 (XO: 54.708738776)
   Max dTM/dt [1/us]:2.04e+03 at an offset of 118.000 usec -> 2021-07-14T19:12:17.708.735.725 (XO: 54.708738564)
   Min dTM/dt [1/us]:-2.50e+03 at an offset of 115.375 usec -> 2021-07-14T19:12:17.708.733.100 (XO: 54.708735939)
