-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Aug  2 00:45:11 2021 UTC
-- File 20210701_075052_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 6.671629 to 56.251488
-each separately from 6s to 56s and from 251199us to 851855us.
   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, ...
      9.179648 in 1 packets: 18
      20.859193 in 1 packets: 36
      19.539862 in 1 packets: 54
MIU packet time from 2021-07-01T07:50:57.671.629.000 to 2021-07-01T07:51:47.251.488.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, ...
      9.179648 in 1 packets: 18
      20.859193 in 1 packets: 36
      19.539862 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.9213456 to 57.9211671
   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, ...
      8.9999679 in 1 packets: 18
      20.9999250 in 1 packets: 36
      19.9999286 in 1 packets: 54
Temperature FPGA: 
      06 -> 47.2 degC in 54 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
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 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      1 in 1 packets: 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Number of generated alerts: 
      0 in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      1 in 1 packets: 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20210701_075052_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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 8.5929751 to 8.5932641
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.1796150  -- OK for SL --
   MIU time from 2021-07-01T07:50:57.671.629.000 to 2021-07-01T07:50:57.671.918.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.179648

 - 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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 17.7728791 to 17.7731681
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.8591190  -- OK for SL --
   MIU time from 2021-07-01T07:51:06.851.566.000 to 2021-07-01T07:51:06.851.855.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.859193

 - 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:
      74 in 18 packets (all packets)  -- OK --
   10 MHz counter from 38.6322871 to 38.6325761
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.5397910  -- OK for SL --
   MIU time from 2021-07-01T07:51:27.711.048.000 to 2021-07-01T07:51:27.711.337.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.539862

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 58.1723671 to 58.1726561
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-01T07:51:47.251.199.000 to 2021-07-01T07:51:47.251.488.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 = 6, 32bit 10MHz counter = 8.592975100 corrected by 40bit 10MHz counter of 7.921345600 obtained at 1Hz counter of 6. Result: 6.671631851
--
   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-07-01T07:50:57.671.488.725
   Max 1st sample MIU time among all SL packets: 2021-07-01T07:51:47.251.347.725
   Min 1st sample XO time among all SL packets: 6.671491575
   Max 1st sample XO time among all SL packets: 56.251349605
   TM values from -277 to 246 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-01T07:50:57.671.488.725 (XO: 6.671491575 - 6.671797576, t=35.6 degC)  Rank: 00077
   TM values: Max =   246  Min =  -260  Ave =    -4.33  Std =    30.61
   Min TM value:-260 at an offset of 203.688 usec -> 2021-07-01T07:50:57.671.692.413 (XO: 6.671695263)
   Max TM value:246 at an offset of 133.738 usec -> 2021-07-01T07:50:57.671.622.462 (XO: 6.671625313)
   Max dTM/dt [1/us]:2.00e+03 at an offset of 133.625 usec -> 2021-07-01T07:50:57.671.622.350 (XO: 6.671625201)
   Min dTM/dt [1/us]:-2.10e+03 at an offset of 203.576 usec -> 2021-07-01T07:50:57.671.692.300 (XO: 6.671695151)

 - Block number: 2 starting at 2021-07-01T07:51:06.851.425.725 (XO: 15.851428390 - 15.851734391, t=35.6 degC)  Rank: 00085
   TM values: Max =   225  Min =  -277  Ave =    -4.35  Std =    20.98
   Min TM value:-277 at an offset of 130.650 usec -> 2021-07-01T07:51:06.851.556.375 (XO: 15.851559041)
   Max TM value:225 at an offset of 130.350 usec -> 2021-07-01T07:51:06.851.556.075 (XO: 15.851558741)
   Max dTM/dt [1/us]:2.00e+03 at an offset of 133.050 usec -> 2021-07-01T07:51:06.851.558.775 (XO: 15.851561441)
   Min dTM/dt [1/us]:-2.29e+03 at an offset of 130.463 usec -> 2021-07-01T07:51:06.851.556.187 (XO: 15.851558853)

 - Block number: 3 starting at 2021-07-01T07:51:27.710.907.725 (XO: 36.710910813 - 36.711216814, t=35.6 degC)  Rank: 00074
   TM values: Max =   246  Min =  -277  Ave =    -4.35  Std =    27.68
   Min TM value:-277 at an offset of 127.863 usec -> 2021-07-01T07:51:27.711.035.587 (XO: 36.711038676)
   Max TM value:246 at an offset of 127.563 usec -> 2021-07-01T07:51:27.711.035.287 (XO: 36.711038376)
   Max dTM/dt [1/us]:1.91e+03 at an offset of 158.688 usec -> 2021-07-01T07:51:27.711.066.413 (XO: 36.711069501)
   Min dTM/dt [1/us]:-2.10e+03 at an offset of 127.675 usec -> 2021-07-01T07:51:27.711.035.400 (XO: 36.711038489)

 - Block number: 4 starting at 2021-07-01T07:51:47.251.058.725 (XO: 56.251060604 - 56.251366605, t=35.6 degC)  Rank: 00075
   TM values: Max =   241  Min =  -262  Ave =    -4.37  Std =    23.33
   Min TM value:-262 at an offset of 117.513 usec -> 2021-07-01T07:51:47.251.176.237 (XO: 56.251178117)
   Max TM value:241 at an offset of 120.100 usec -> 2021-07-01T07:51:47.251.178.825 (XO: 56.251180704)
   Max dTM/dt [1/us]:1.96e+03 at an offset of 119.925 usec -> 2021-07-01T07:51:47.251.178.650 (XO: 56.251180529)
   Min dTM/dt [1/us]:-2.08e+03 at an offset of 117.263 usec -> 2021-07-01T07:51:47.251.175.987 (XO: 56.251177867)
