-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Nov  8 21:03:46 2021 UTC
-- File 20210707_073721_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 4.440538 to 39.420715
-each separately from 4s to 39s and from 330357us to 440827us.
   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, ...
      24.889530 in 1 packets: 18
      10.089780 in 1 packets: 36
MIU packet time from 2021-07-07T07:37:28.440.538.000 to 2021-07-07T07:38:03.420.715.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, ...
      24.889530 in 1 packets: 18
      10.089780 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 5.8752860 to 40.8751579
   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, ...
      24.9999085 in 1 packets: 18
      9.9999634 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 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, ...
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 1 packets: 1
      1 in 53 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 53 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20210707_073721_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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.3158243 to 6.3161133
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.8894390  -- OK for SL --
   MIU time from 2021-07-07T07:37:28.440.538.000 to 2021-07-07T07:37:28.440.827.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.889530

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 31.2055523 to 31.2058413
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.0897430  -- OK for SL --
   MIU time from 2021-07-07T07:37:53.330.357.000 to 2021-07-07T07:37:53.330.646.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.089780

 - 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 41.2955843 to 41.2958733
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-07T07:38:03.420.426.000 to 2021-07-07T07:38:03.420.715.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 = 4, 32bit 10MHz counter = 6.315824300 corrected by 40bit 10MHz counter of 5.875286000 obtained at 1Hz counter of 4. Result: 4.440539886
--
   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: 2021-07-07T07:37:28.440.397.725
   Max 1st sample MIU time among all SL packets: 2021-07-07T07:38:03.420.574.725
   Min 1st sample XO time among all SL packets: 4.440399610
   Max 1st sample XO time among all SL packets: 39.420576681
   TM values from -317 to 304 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-07T07:37:28.440.397.725 (XO: 4.440399610 - 4.440705612, t=37.2 degC)  Rank: 00082
   TM values: Max =   233  Min =  -274  Ave =    -4.34  Std =    22.77
   Min TM value:-274 at an offset of 114.250 usec -> 2021-07-07T07:37:28.440.511.975 (XO: 4.440513861)
   Max TM value:233 at an offset of 111.650 usec -> 2021-07-07T07:37:28.440.509.375 (XO: 4.440511261)
   Max dTM/dt [1/us]:2.21e+03 at an offset of 114.313 usec -> 2021-07-07T07:37:28.440.512.037 (XO: 4.440513923)
   Min dTM/dt [1/us]:-2.43e+03 at an offset of 111.775 usec -> 2021-07-07T07:37:28.440.509.500 (XO: 4.440511386)

 - Block number: 2 starting at 2021-07-07T07:37:53.330.216.725 (XO: 29.330218747 - 29.330524748, t=37.2 degC)  Rank: 00075
   TM values: Max =   241  Min =  -292  Ave =    -4.33  Std =    30.97
   Min TM value:-292 at an offset of 111.350 usec -> 2021-07-07T07:37:53.330.328.075 (XO: 29.330330097)
   Max TM value:241 at an offset of 111.063 usec -> 2021-07-07T07:37:53.330.327.787 (XO: 29.330329810)
   Max dTM/dt [1/us]:2.18e+03 at an offset of 126.400 usec -> 2021-07-07T07:37:53.330.343.125 (XO: 29.330345147)
   Min dTM/dt [1/us]:-2.34e+03 at an offset of 111.175 usec -> 2021-07-07T07:37:53.330.327.900 (XO: 29.330329922)

 - Block number: 3 starting at 2021-07-07T07:38:03.420.285.725 (XO: 39.420287680 - 39.420593681, t=37.2 degC)  Rank: 00079
   TM values: Max =   304  Min =  -317  Ave =    -4.34  Std =    36.10
   Min TM value:-317 at an offset of 183.663 usec -> 2021-07-07T07:38:03.420.469.388 (XO: 39.420471343)
   Max TM value:304 at an offset of 126.813 usec -> 2021-07-07T07:38:03.420.412.537 (XO: 39.420414493)
   Max dTM/dt [1/us]:2.59e+03 at an offset of 129.438 usec -> 2021-07-07T07:38:03.420.415.162 (XO: 39.420417118)
   Min dTM/dt [1/us]:-2.55e+03 at an offset of 126.913 usec -> 2021-07-07T07:38:03.420.412.637 (XO: 39.420414593)
