-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Jan 10 07:22:37 2022 UTC
-- File 20210913_123904_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 2.510108 to 45.808748
-each separately from 2s to 45s and from 410736us to 808748us.
   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, ...
      15.245761 in 1 packets: 18
      19.654289 in 1 packets: 36
      8.397434 in 1 packets: 54
MIU packet time from 2021-09-13T12:39:09.510.108.000 to 2021-09-13T12:39:52.808.748.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, ...
      15.245761 in 1 packets: 18
      19.654289 in 1 packets: 36
      8.397434 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 3.8752683 to 46.8751253
   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.9999501 in 1 packets: 18
      19.9999335 in 1 packets: 36
      7.9999734 in 1 packets: 54
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 54 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 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 20210913_123904_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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.3853773 to 4.3856663
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.2457110  -- OK for SL --
   MIU time from 2021-09-13T12:39:09.510.108.000 to 2021-09-13T12:39:09.510.397.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.245761

 - 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 19.6313773 to 19.6316663
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.6542230  -- OK for SL --
   MIU time from 2021-09-13T12:39:24.756.158.000 to 2021-09-13T12:39:24.756.447.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.654289

 - 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 39.2858893 to 39.2861783
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.3974070  -- OK for SL --
   MIU time from 2021-09-13T12:39:44.410.736.000 to 2021-09-13T12:39:44.411.025.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.397434

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 47.6835853 to 47.6838743
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-13T12:39:52.808.459.000 to 2021-09-13T12:39:52.808.748.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 = 2, 32bit 10MHz counter = 4.385377300 corrected by 40bit 10MHz counter of 3.875268300 obtained at 1Hz counter of 2. Result: 2.510110734
--
   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-09-13T12:39:09.509.967.725
   Max 1st sample MIU time among all SL packets: 2021-09-13T12:39:52.808.607.725
   Min 1st sample XO time among all SL packets: 2.509970459
   Max 1st sample XO time among all SL packets: 45.808611393
   TM values from -229 to 186 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-13T12:39:09.509.967.725 (XO: 2.509970459 - 2.510276460, t=37.2 degC)  Rank: 00083
   TM values: Max =   151  Min =  -178  Ave =    -4.59  Std =    19.19
   Min TM value:-178 at an offset of 117.400 usec -> 2021-09-13T12:39:09.510.085.125 (XO: 2.510087859)
   Max TM value:151 at an offset of 118.063 usec -> 2021-09-13T12:39:09.510.085.787 (XO: 2.510088522)
   Max dTM/dt [1/us]:1.10e+03 at an offset of 120.050 usec -> 2021-09-13T12:39:09.510.087.775 (XO: 2.510090509)
   Min dTM/dt [1/us]:-1.31e+03 at an offset of 104.438 usec -> 2021-09-13T12:39:09.510.072.162 (XO: 2.510074897)

 - Block number: 2 starting at 2021-09-13T12:39:24.756.017.725 (XO: 17.756021120 - 17.756327121, t=37.2 degC)  Rank: 00077
   TM values: Max =   176  Min =  -218  Ave =    -4.50  Std =    17.36
   Min TM value:-218 at an offset of 106.763 usec -> 2021-09-13T12:39:24.756.124.487 (XO: 17.756127883)
   Max TM value:176 at an offset of 109.438 usec -> 2021-09-13T12:39:24.756.127.162 (XO: 17.756130558)
   Max dTM/dt [1/us]:1.36e+03 at an offset of 109.300 usec -> 2021-09-13T12:39:24.756.127.025 (XO: 17.756130420)
   Min dTM/dt [1/us]:-1.37e+03 at an offset of 106.525 usec -> 2021-09-13T12:39:24.756.124.250 (XO: 17.756127645)

 - Block number: 3 starting at 2021-09-13T12:39:44.410.595.725 (XO: 37.410598480 - 37.410904481, t=37.2 degC)  Rank: 00076
   TM values: Max =   186  Min =  -228  Ave =    -4.53  Std =    22.72
   Min TM value:-228 at an offset of 117.925 usec -> 2021-09-13T12:39:44.410.713.650 (XO: 37.410716405)
   Max TM value:186 at an offset of 120.488 usec -> 2021-09-13T12:39:44.410.716.212 (XO: 37.410718968)
   Max dTM/dt [1/us]:1.78e+03 at an offset of 120.300 usec -> 2021-09-13T12:39:44.410.716.025 (XO: 37.410718780)
   Min dTM/dt [1/us]:-1.60e+03 at an offset of 117.713 usec -> 2021-09-13T12:39:44.410.713.437 (XO: 37.410716193)

 - Block number: 4 starting at 2021-09-13T12:39:52.808.318.725 (XO: 45.808322392 - 45.808628393, t=37.2 degC)  Rank: 00080
   TM values: Max =   178  Min =  -229  Ave =    -4.46  Std =    20.73
   Min TM value:-229 at an offset of 120.613 usec -> 2021-09-13T12:39:52.808.439.337 (XO: 45.808443005)
   Max TM value:178 at an offset of 123.200 usec -> 2021-09-13T12:39:52.808.441.925 (XO: 45.808445593)
   Max dTM/dt [1/us]:1.52e+03 at an offset of 123.038 usec -> 2021-09-13T12:39:52.808.441.762 (XO: 45.808445430)
   Min dTM/dt [1/us]:-1.64e+03 at an offset of 120.400 usec -> 2021-09-13T12:39:52.808.439.125 (XO: 45.808442793)
