-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Dec 15 22:45:49 2021 UTC
-- File 20210814_103059_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 8.200438 to 49.728881
-each separately from 8s to 49s and from 9274us to 728881us.
   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, ...
      14.089102 in 1 packets: 18
      10.719156 in 1 packets: 36
      16.719029 in 1 packets: 54
MIU packet time from 2021-08-14T10:31:10.200.438.000 to 2021-08-14T10:31:51.728.881.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, ...
      14.089102 in 1 packets: 18
      10.719156 in 1 packets: 36
      16.719029 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.4612128 to 50.4610751
   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, ...
      13.9999530 in 1 packets: 18
      10.9999631 in 1 packets: 36
      15.9999462 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 72 packets (all packets)
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 1 packets: 1
      1 in 71 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 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20210814_103059_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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.6616520 to 9.6619410
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.0890550  -- OK for SL --
   MIU time from 2021-08-14T10:31:10.200.438.000 to 2021-08-14T10:31:10.200.727.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.089102

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 23.7509960 to 23.7512850
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.7191190  -- OK for SL --
   MIU time from 2021-08-14T10:31:24.289.829.000 to 2021-08-14T10:31:24.290.118.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.719156

 - 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 34.4704040 to 34.4706930
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.7189750  -- OK for SL --
   MIU time from 2021-08-14T10:31:35.009.274.000 to 2021-08-14T10:31:35.009.563.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.719029

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 51.1896680 to 51.1899570
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-14T10:31:51.728.592.000 to 2021-08-14T10:31:51.728.881.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 = 8, 32bit 10MHz counter = 9.661652000 corrected by 40bit 10MHz counter of 9.461212800 obtained at 1Hz counter of 8. Result: 8.200439861
--
   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-08-14T10:31:10.200.297.725
   Max 1st sample MIU time among all SL packets: 2021-08-14T10:31:51.728.740.725
   Min 1st sample XO time among all SL packets: 8.200299586
   Max 1st sample XO time among all SL packets: 49.728744103
   TM values from -278 to 250 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-14T10:31:10.200.297.725 (XO: 8.200299586 - 8.200605587, t=37.2 degC)  Rank: 00084
   TM values: Max =   250  Min =  -274  Ave =    -4.51  Std =    28.27
   Min TM value:-274 at an offset of 124.625 usec -> 2021-08-14T10:31:10.200.422.350 (XO: 8.200424211)
   Max TM value:250 at an offset of 122.425 usec -> 2021-08-14T10:31:10.200.420.150 (XO: 8.200422011)
   Max dTM/dt [1/us]:2.39e+03 at an offset of 122.275 usec -> 2021-08-14T10:31:10.200.420.000 (XO: 8.200421861)
   Min dTM/dt [1/us]:-2.57e+03 at an offset of 124.450 usec -> 2021-08-14T10:31:10.200.422.175 (XO: 8.200424036)

 - Block number: 2 starting at 2021-08-14T10:31:24.289.688.725 (XO: 22.289690910 - 22.289996911, t=37.2 degC)  Rank: 00077
   TM values: Max =   214  Min =  -238  Ave =    -4.54  Std =    20.28
   Min TM value:-238 at an offset of 110.938 usec -> 2021-08-14T10:31:24.289.799.662 (XO: 22.289801848)
   Max TM value:214 at an offset of 113.650 usec -> 2021-08-14T10:31:24.289.802.375 (XO: 22.289804560)
   Max dTM/dt [1/us]:2.06e+03 at an offset of 113.525 usec -> 2021-08-14T10:31:24.289.802.250 (XO: 22.289804435)
   Min dTM/dt [1/us]:-1.84e+03 at an offset of 110.763 usec -> 2021-08-14T10:31:24.289.799.487 (XO: 22.289801673)

 - Block number: 3 starting at 2021-08-14T10:31:35.009.133.725 (XO: 33.009134856 - 33.009440857, t=37.2 degC)  Rank: 00079
   TM values: Max =   216  Min =  -239  Ave =    -4.42  Std =    21.32
   Min TM value:-239 at an offset of 122.688 usec -> 2021-08-14T10:31:35.009.256.412 (XO: 33.009257544)
   Max TM value:216 at an offset of 125.350 usec -> 2021-08-14T10:31:35.009.259.075 (XO: 33.009260206)
   Max dTM/dt [1/us]:1.79e+03 at an offset of 125.150 usec -> 2021-08-14T10:31:35.009.258.875 (XO: 33.009260006)
   Min dTM/dt [1/us]:-2.07e+03 at an offset of 122.513 usec -> 2021-08-14T10:31:35.009.256.237 (XO: 33.009257369)

 - Block number: 4 starting at 2021-08-14T10:31:51.728.451.725 (XO: 49.728455102 - 49.728761103, t=37.2 degC)  Rank: 00076
   TM values: Max =   199  Min =  -278  Ave =    -4.45  Std =    30.49
   Min TM value:-278 at an offset of 112.038 usec -> 2021-08-14T10:31:51.728.563.762 (XO: 49.728567140)
   Max TM value:199 at an offset of 36.863 usec -> 2021-08-14T10:31:51.728.488.587 (XO: 49.728491964)
   Max dTM/dt [1/us]:1.57e+03 at an offset of 127.125 usec -> 2021-08-14T10:31:51.728.578.850 (XO: 49.728582227)
   Min dTM/dt [1/us]:-2.24e+03 at an offset of 111.925 usec -> 2021-08-14T10:31:51.728.563.650 (XO: 49.728567027)
