-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Oct 30 01:42:55 2021 UTC
-- File 20210703_175953_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 5.454929 to 55.440635
-each separately from 5s to 55s and from 37191us to 628214us.
   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.581973 in 1 packets: 18
      8.590445 in 1 packets: 36
      22.812132 in 1 packets: 54
MIU packet time from 2021-07-03T17:59:57.454.929.000 to 2021-07-03T18:00:47.440.635.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.581973 in 1 packets: 18
      8.590445 in 1 packets: 36
      22.812132 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 7.2816440 to 57.2814586
   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, ...
      18.9999296 in 1 packets: 18
      7.9999703 in 1 packets: 36
      22.9999147 in 1 packets: 54
Temperature FPGA: 
      06 -> 47.2 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      05 -> 48.5 degC in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      C0 -> 35.6 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 20210703_175953_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:
      68 in 18 packets (all packets)  -- OK --
   10 MHz counter from 7.7365735 to 7.7368625
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.5819030  -- OK for SL --
   MIU time from 2021-07-03T17:59:57.454.929.000 to 2021-07-03T17:59:57.455.218.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.581973

 - 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:
      54 in 18 packets (all packets)  -- OK --
   10 MHz counter from 26.3187655 to 26.3190545
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.5904150  -- OK for SL --
   MIU time from 2021-07-03T18:00:16.037.191.000 to 2021-07-03T18:00:16.037.480.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.590445

 - 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:
      67 in 18 packets (all packets)  -- OK --
   10 MHz counter from 34.9094695 to 34.9097585
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.8120470  -- OK for SL --
   MIU time from 2021-07-03T18:00:24.627.925.000 to 2021-07-03T18:00:24.628.214.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.812132

 - 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:
      60 in 18 packets (all packets)  -- OK --
   10 MHz counter from 57.7218055 to 57.7220945
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-03T18:00:47.440.346.000 to 2021-07-03T18:00:47.440.635.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 = 5, 32bit 10MHz counter = 7.736573500 corrected by 40bit 10MHz counter of 7.281644000 obtained at 1Hz counter of 5. Result: 5.454931183
--
   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.999996300
   Min 1st sample MIU time among all SL packets: 2021-07-03T17:59:57.454.788.725
   Max 1st sample MIU time among all SL packets: 2021-07-03T18:00:47.440.494.725
   Min 1st sample XO time among all SL packets: 5.454790908
   Max 1st sample XO time among all SL packets: 55.440497255
   TM values from -303 to 298 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-03T17:59:57.454.788.725 (XO: 5.454790908 - 5.455096909, t=35.6 degC)  Rank: 00068
   TM values: Max =   229  Min =  -273  Ave =    -4.46  Std =    32.67
   Min TM value:-273 at an offset of 126.575 usec -> 2021-07-03T17:59:57.454.915.300 (XO: 5.454917483)
   Max TM value:229 at an offset of 126.275 usec -> 2021-07-03T17:59:57.454.915.000 (XO: 5.454917183)
   Max dTM/dt [1/us]:1.90e+03 at an offset of 111.538 usec -> 2021-07-03T17:59:57.454.900.262 (XO: 5.454902446)
   Min dTM/dt [1/us]:-2.28e+03 at an offset of 126.438 usec -> 2021-07-03T17:59:57.454.915.162 (XO: 5.454917346)

 - Block number: 2 starting at 2021-07-03T18:00:16.037.050.725 (XO: 24.037051762 - 24.037357763, t=35.6 degC)  Rank: 00054
   TM values: Max =   257  Min =  -290  Ave =    -4.53  Std =    48.76
   Min TM value:-290 at an offset of 116.463 usec -> 2021-07-03T18:00:16.037.167.187 (XO: 24.037168225)
   Max TM value:257 at an offset of 119.088 usec -> 2021-07-03T18:00:16.037.169.812 (XO: 24.037170850)
   Max dTM/dt [1/us]:2.00e+03 at an offset of 118.863 usec -> 2021-07-03T18:00:16.037.169.587 (XO: 24.037170625)
   Min dTM/dt [1/us]:-2.38e+03 at an offset of 116.288 usec -> 2021-07-03T18:00:16.037.167.012 (XO: 24.037168050)

 - Block number: 3 starting at 2021-07-03T18:00:24.627.784.725 (XO: 32.627787648 - 32.628093649, t=35.6 degC)  Rank: 00067
   TM values: Max =   298  Min =  -258  Ave =    -4.53  Std =    54.83
   Min TM value:-258 at an offset of 128.338 usec -> 2021-07-03T18:00:24.627.913.062 (XO: 32.627915986)
   Max TM value:298 at an offset of 130.975 usec -> 2021-07-03T18:00:24.627.915.700 (XO: 32.627918623)
   Max dTM/dt [1/us]:2.21e+03 at an offset of 130.863 usec -> 2021-07-03T18:00:24.627.915.587 (XO: 32.627918511)
   Min dTM/dt [1/us]:-2.23e+03 at an offset of 128.150 usec -> 2021-07-03T18:00:24.627.912.875 (XO: 32.627915798)

 - Block number: 4 starting at 2021-07-03T18:00:47.440.205.725 (XO: 55.440208254 - 55.440514255, t=35.6 degC)  Rank: 00060
   TM values: Max =   271  Min =  -303  Ave =    -4.53  Std =    43.48
   Min TM value:-303 at an offset of 105.488 usec -> 2021-07-03T18:00:47.440.311.212 (XO: 55.440313742)
   Max TM value:271 at an offset of 103.300 usec -> 2021-07-03T18:00:47.440.309.025 (XO: 55.440311554)
   Max dTM/dt [1/us]:2.12e+03 at an offset of 103.088 usec -> 2021-07-03T18:00:47.440.308.812 (XO: 55.440311342)
   Min dTM/dt [1/us]:-2.59e+03 at an offset of 105.263 usec -> 2021-07-03T18:00:47.440.310.987 (XO: 55.440313517)
