-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Dec  9 00:08:57 2021 UTC
-- File 20210807_100331_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 13.493986 to 56.745060
-each separately from 13s to 56s and from 84308us to 745060us.
   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.590033 in 1 packets: 18
      11.349780 in 1 packets: 36
      17.310105 in 1 packets: 54
MIU packet time from 2021-08-07T10:03:47.493.986.000 to 2021-08-07T10:04:30.745.060.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.590033 in 1 packets: 18
      11.349780 in 1 packets: 36
      17.310105 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 14.8925618 to 57.8924175
   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, ...
      14.9999496 in 1 packets: 18
      10.9999631 in 1 packets: 36
      16.9999430 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, ...
      05 -> 48.5 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      03 -> 51.1 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 55 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      0 in 55 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20210807_100331_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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 15.3865485 to 15.3868375
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.5899830  -- OK for SL --
   MIU time from 2021-08-07T10:03:47.493.986.000 to 2021-08-07T10:03:47.494.275.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.590033

 - 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 29.9768205 to 29.9771095
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.3497430  -- OK for SL --
   MIU time from 2021-08-07T10:04:02.084.308.000 to 2021-08-07T10:04:02.084.597.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.349780

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 41.3268525 to 41.3271415
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.3100470  -- OK for SL --
   MIU time from 2021-08-07T10:04:13.434.377.000 to 2021-08-07T10:04:13.434.666.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.310105

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 58.6371885 to 58.6374775
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-07T10:04:30.744.771.000 to 2021-08-07T10:04:30.745.060.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 = 13, 32bit 10MHz counter = 15.386548500 corrected by 40bit 10MHz counter of 14.892561800 obtained at 1Hz counter of 13. Result: 13.493988380
--
   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-07T10:03:47.493.845.725
   Max 1st sample MIU time among all SL packets: 2021-08-07T10:04:30.744.919.725
   Min 1st sample XO time among all SL packets: 13.493848104
   Max 1st sample XO time among all SL packets: 56.744922183
   TM values from -266 to 234 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-07T10:03:47.493.845.725 (XO: 13.493848104 - 13.494154105, t=37.2 degC)  Rank: 00078
   TM values: Max =   198  Min =  -266  Ave =    -4.53  Std =    21.66
   Min TM value:-266 at an offset of 129.088 usec -> 2021-08-07T10:03:47.493.974.812 (XO: 13.493977192)
   Max TM value:198 at an offset of 128.800 usec -> 2021-08-07T10:03:47.493.974.525 (XO: 13.493976905)
   Max dTM/dt [1/us]:1.64e+03 at an offset of 131.550 usec -> 2021-08-07T10:03:47.493.977.275 (XO: 13.493979655)
   Min dTM/dt [1/us]:-2.09e+03 at an offset of 128.975 usec -> 2021-08-07T10:03:47.493.974.700 (XO: 13.493977080)

 - Block number: 2 starting at 2021-08-07T10:04:02.084.167.725 (XO: 28.084169103 - 28.084475104, t=37.2 degC)  Rank: 00077
   TM values: Max =   234  Min =  -260  Ave =    -4.63  Std =    19.80
   Min TM value:-260 at an offset of 116.038 usec -> 2021-08-07T10:04:02.084.283.762 (XO: 28.084285141)
   Max TM value:234 at an offset of 115.725 usec -> 2021-08-07T10:04:02.084.283.450 (XO: 28.084284828)
   Max dTM/dt [1/us]:2.18e+03 at an offset of 118.400 usec -> 2021-08-07T10:04:02.084.286.125 (XO: 28.084287503)
   Min dTM/dt [1/us]:-2.27e+03 at an offset of 115.825 usec -> 2021-08-07T10:04:02.084.283.550 (XO: 28.084284928)

 - Block number: 3 starting at 2021-08-07T10:04:13.434.236.725 (XO: 39.434239201 - 39.434545202, t=37.2 degC)  Rank: 00076
   TM values: Max =   208  Min =  -250  Ave =    -4.62  Std =    27.57
   Min TM value:-250 at an offset of 129.500 usec -> 2021-08-07T10:04:13.434.366.225 (XO: 39.434368702)
   Max TM value:208 at an offset of 129.250 usec -> 2021-08-07T10:04:13.434.365.975 (XO: 39.434368452)
   Max dTM/dt [1/us]:1.69e+03 at an offset of 127.063 usec -> 2021-08-07T10:04:13.434.363.787 (XO: 39.434366264)
   Min dTM/dt [1/us]:-2.09e+03 at an offset of 129.375 usec -> 2021-08-07T10:04:13.434.366.100 (XO: 39.434368577)

 - Block number: 4 starting at 2021-08-07T10:04:30.744.630.725 (XO: 56.744633182 - 56.744939183, t=37.2 degC)  Rank: 00083
   TM values: Max =   220  Min =  -260  Ave =    -4.54  Std =    21.40
   Min TM value:-260 at an offset of 115.350 usec -> 2021-08-07T10:04:30.744.746.075 (XO: 56.744748533)
   Max TM value:220 at an offset of 115.050 usec -> 2021-08-07T10:04:30.744.745.775 (XO: 56.744748233)
   Max dTM/dt [1/us]:2.24e+03 at an offset of 117.688 usec -> 2021-08-07T10:04:30.744.748.412 (XO: 56.744750870)
   Min dTM/dt [1/us]:-2.39e+03 at an offset of 115.138 usec -> 2021-08-07T10:04:30.744.745.862 (XO: 56.744748320)
