-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Jan 10 02:27:22 2022 UTC
-- File 20210913_091128_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 10.402684 to 49.838510
-each separately from 10s to 49s and from 402684us to 950048us.
   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, ...
      12.068246 in 1 packets: 18
      13.478251 in 1 packets: 36
      13.888173 in 1 packets: 54
MIU packet time from 2021-09-13T09:11:41.402.684.000 to 2021-09-13T09:12:20.838.510.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, ...
      12.068246 in 1 packets: 18
      13.478251 in 1 packets: 36
      13.888173 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 11.9377534 to 50.9376246
   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, ...
      11.9999604 in 1 packets: 18
      12.9999570 in 1 packets: 36
      13.9999538 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 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: 
      1 in 1 packets: 1
      2 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: 
      1 in 1 packets: 1
      2 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_091128_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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 12.3404380 to 12.3407270
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.0682070  -- OK for SL --
   MIU time from 2021-09-13T09:11:41.402.684.000 to 2021-09-13T09:11:41.402.973.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.068246

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 24.4089340 to 24.4092230
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.4782070  -- OK for SL --
   MIU time from 2021-09-13T09:11:53.471.219.000 to 2021-09-13T09:11:53.471.508.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.478251

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 37.8874300 to 37.8877190
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.8881270  -- OK for SL --
   MIU time from 2021-09-13T09:12:06.949.759.000 to 2021-09-13T09:12:06.950.048.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.888173

 - 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:
      73 in 18 packets (all packets)  -- OK --
   10 MHz counter from 51.7758460 to 51.7761350
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-13T09:12:20.838.221.000 to 2021-09-13T09:12:20.838.510.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 = 10, 32bit 10MHz counter = 12.340438000 corrected by 40bit 10MHz counter of 11.937753400 obtained at 1Hz counter of 10. Result: 10.402685929
--
   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.999996700 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-09-13T09:11:41.402.543.725
   Max 1st sample MIU time among all SL packets: 2021-09-13T09:12:20.838.369.725
   Min 1st sample XO time among all SL packets: 10.402545653
   Max 1st sample XO time among all SL packets: 49.838372892
   TM values from -238 to 199 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-13T09:11:41.402.543.725 (XO: 10.402545653 - 10.402851654, t=37.2 degC)  Rank: 00085
   TM values: Max =   199  Min =  -238  Ave =    -4.44  Std =    18.07
   Min TM value:-238 at an offset of 112.700 usec -> 2021-09-13T09:11:41.402.656.425 (XO: 10.402658354)
   Max TM value:199 at an offset of 110.613 usec -> 2021-09-13T09:11:41.402.654.337 (XO: 10.402656266)
   Max dTM/dt [1/us]:1.98e+03 at an offset of 110.475 usec -> 2021-09-13T09:11:41.402.654.200 (XO: 10.402656129)
   Min dTM/dt [1/us]:-1.54e+03 at an offset of 112.550 usec -> 2021-09-13T09:11:41.402.656.275 (XO: 10.402658204)

 - Block number: 2 starting at 2021-09-13T09:11:53.471.078.725 (XO: 22.471081480 - 22.471387481, t=37.2 degC)  Rank: 00078
   TM values: Max =   164  Min =  -221  Ave =    -4.45  Std =    25.40
   Min TM value:-221 at an offset of 121.338 usec -> 2021-09-13T09:11:53.471.200.062 (XO: 22.471202817)
   Max TM value:164 at an offset of 123.950 usec -> 2021-09-13T09:11:53.471.202.675 (XO: 22.471205430)
   Max dTM/dt [1/us]:1.52e+03 at an offset of 123.750 usec -> 2021-09-13T09:11:53.471.202.475 (XO: 22.471205230)
   Min dTM/dt [1/us]:-1.60e+03 at an offset of 193.438 usec -> 2021-09-13T09:11:53.471.272.163 (XO: 22.471274918)

 - Block number: 3 starting at 2021-09-13T09:12:06.949.618.725 (XO: 35.949622059 - 35.949928060, t=37.2 degC)  Rank: 00077
   TM values: Max =   169  Min =  -235  Ave =    -4.51  Std =    25.04
   Min TM value:-235 at an offset of 195.026 usec -> 2021-09-13T09:12:06.949.813.750 (XO: 35.949817084)
   Max TM value:169 at an offset of 121.538 usec -> 2021-09-13T09:12:06.949.740.262 (XO: 35.949743597)
   Max dTM/dt [1/us]:1.66e+03 at an offset of 197.426 usec -> 2021-09-13T09:12:06.949.816.150 (XO: 35.949819484)
   Min dTM/dt [1/us]:-1.61e+03 at an offset of 121.638 usec -> 2021-09-13T09:12:06.949.740.362 (XO: 35.949743697)

 - Block number: 4 starting at 2021-09-13T09:12:20.838.080.725 (XO: 49.838083891 - 49.838389892, t=37.2 degC)  Rank: 00073
   TM values: Max =   185  Min =  -228  Ave =    -4.50  Std =    17.69
   Min TM value:-228 at an offset of 112.750 usec -> 2021-09-13T09:12:20.838.193.475 (XO: 49.838196641)
   Max TM value:185 at an offset of 112.425 usec -> 2021-09-13T09:12:20.838.193.150 (XO: 49.838196316)
   Max dTM/dt [1/us]:1.47e+03 at an offset of 110.350 usec -> 2021-09-13T09:12:20.838.191.075 (XO: 49.838194241)
   Min dTM/dt [1/us]:-1.77e+03 at an offset of 112.538 usec -> 2021-09-13T09:12:20.838.193.262 (XO: 49.838196429)
