-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Jul 18 23:43:41 2021 UTC
-- File 20210616_150235_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.464345 to 54.795935
-each separately from 8s to 54s and from 392827us to 972502us.
   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, ...
      21.507579 in 1 packets: 18
      1.420325 in 1 packets: 36
      23.402530 in 1 packets: 54
MIU packet time from 2021-06-16T15:02:45.464.345.000 to 2021-06-16T15:03:31.795.935.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, ...
      21.507579 in 1 packets: 18
      1.420325 in 1 packets: 36
      23.402530 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.7949026 to 55.7947381
   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, ...
      20.9999249 in 1 packets: 18
      1.9999929 in 1 packets: 36
      22.9999177 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 72 packets (all packets)
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 20210616_150235_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:
      48 in 18 packets (all packets)  -- OK --
   10 MHz counter from 10.2592481 to 10.2595371
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.5075030  -- OK for SL --
   MIU time from 2021-06-16T15:02:45.464.345.000 to 2021-06-16T15:02:45.464.634.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.507579

 - 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 31.7670401 to 31.7673291
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 1.4203190  -- OK for SL --
   MIU time from 2021-06-16T15:03:06.972.213.000 to 2021-06-16T15:03:06.972.502.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 1.420325

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 33.1876481 to 33.1879371
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.4024470  -- OK for SL --
   MIU time from 2021-06-16T15:03:08.392.827.000 to 2021-06-16T15:03:08.393.116.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.402530

 - 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:
      72 in 18 packets (all packets)  -- OK --
   10 MHz counter from 56.5903841 to 56.5906731
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-06-16T15:03:31.795.646.000 to 2021-06-16T15:03:31.795.935.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 = 10.259248100 corrected by 40bit 10MHz counter of 9.794902600 obtained at 1Hz counter of 8. Result: 8.464347125
--
   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.999996400 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2021-06-16T15:02:45.464.204.725
   Max 1st sample MIU time among all SL packets: 2021-06-16T15:03:31.795.794.725
   Min 1st sample XO time among all SL packets: 8.464206850
   Max 1st sample XO time among all SL packets: 54.795797510
   TM values from -159 to 153 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-06-16T15:02:45.464.204.725 (XO: 8.464206850 - 8.464512851, t=35.6 degC)  Rank: 00048
   TM values: Max =    96  Min =  -105  Ave =    -4.51  Std =    43.99
   Min TM value:-105 at an offset of 138.663 usec -> 2021-06-16T15:02:45.464.343.387 (XO: 8.464345513)
   Max TM value:96 at an offset of 147.201 usec -> 2021-06-16T15:02:45.464.351.925 (XO: 8.464354050)
   Max dTM/dt [1/us]:8.06e+02 at an offset of 130.200 usec -> 2021-06-16T15:02:45.464.334.925 (XO: 8.464337050)
   Min dTM/dt [1/us]:-8.20e+02 at an offset of 305.951 usec -> 2021-06-16T15:02:45.464.510.676 (XO: 8.464512801)

 - Block number: 2 starting at 2021-06-16T15:03:06.972.072.725 (XO: 29.972075824 - 29.972381826, t=35.6 degC)  Rank: 00077
   TM values: Max =   141  Min =  -151  Ave =    -4.51  Std =    66.57
   Min TM value:-151 at an offset of 129.725 usec -> 2021-06-16T15:03:06.972.202.450 (XO: 29.972205550)
   Max TM value:141 at an offset of 121.188 usec -> 2021-06-16T15:03:06.972.193.912 (XO: 29.972197012)
   Max dTM/dt [1/us]:1.19e+03 at an offset of 131.850 usec -> 2021-06-16T15:03:06.972.204.575 (XO: 29.972207675)
   Min dTM/dt [1/us]:-1.19e+03 at an offset of 130.975 usec -> 2021-06-16T15:03:06.972.203.700 (XO: 29.972206800)

 - Block number: 3 starting at 2021-06-16T15:03:08.392.686.725 (XO: 31.392688839 - 31.392994840, t=35.6 degC)  Rank: 00075
   TM values: Max =   153  Min =  -159  Ave =    -4.49  Std =    75.36
   Min TM value:-159 at an offset of 163.676 usec -> 2021-06-16T15:03:08.392.850.400 (XO: 31.392852514)
   Max TM value:153 at an offset of 173.563 usec -> 2021-06-16T15:03:08.392.860.288 (XO: 31.392862402)
   Max dTM/dt [1/us]:1.28e+03 at an offset of 157.351 usec -> 2021-06-16T15:03:08.392.844.075 (XO: 31.392846189)
   Min dTM/dt [1/us]:-1.29e+03 at an offset of 168.026 usec -> 2021-06-16T15:03:08.392.854.750 (XO: 31.392856864)

 - Block number: 4 starting at 2021-06-16T15:03:31.795.505.725 (XO: 54.795508509 - 54.795814510, t=35.6 degC)  Rank: 00072
   TM values: Max =   114  Min =  -123  Ave =    -4.51  Std =    52.33
   Min TM value:-123 at an offset of 138.600 usec -> 2021-06-16T15:03:31.795.644.325 (XO: 54.795647110)
   Max TM value:114 at an offset of 163.701 usec -> 2021-06-16T15:03:31.795.669.425 (XO: 54.795672210)
   Max dTM/dt [1/us]:9.36e+02 at an offset of 170.926 usec -> 2021-06-16T15:03:31.795.676.650 (XO: 54.795679435)
   Min dTM/dt [1/us]:-9.28e+02 at an offset of 162.388 usec -> 2021-06-16T15:03:31.795.668.113 (XO: 54.795670897)
