-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Dec  6 09:57:49 2021 UTC
-- File 20210803_232116_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 9.071878 to 50.675775
-each separately from 9s to 50s and from 41945us to 675775us.
   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, ...
      13.104522 in 1 packets: 18
      11.864967 in 1 packets: 36
      16.633252 in 1 packets: 54
MIU packet time from 2021-08-03T23:21:28.071.878.000 to 2021-08-03T23:22:09.675.775.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, ...
      13.104522 in 1 packets: 18
      11.864967 in 1 packets: 36
      16.633252 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 10.8535627 to 51.8534265
   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, ...
      12.9999568 in 1 packets: 18
      11.9999601 in 1 packets: 36
      15.9999469 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      04 -> 49.8 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
      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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 20210803_232116_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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 10.9254416 to 10.9257306
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.1044790  -- OK for SL --
   MIU time from 2021-08-03T23:21:28.071.878.000 to 2021-08-03T23:21:28.072.167.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.104522

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 24.0302096 to 24.0304986
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.8649270  -- OK for SL --
   MIU time from 2021-08-03T23:21:41.176.689.000 to 2021-08-03T23:21:41.176.978.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.864967

 - 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 35.8954256 to 35.8957146
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.6331990  -- OK for SL --
   MIU time from 2021-08-03T23:21:53.041.945.000 to 2021-08-03T23:21:53.042.234.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.633252

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 52.5289136 to 52.5292026
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-03T23:22:09.675.486.000 to 2021-08-03T23:22:09.675.775.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 = 9, 32bit 10MHz counter = 10.925441600 corrected by 40bit 10MHz counter of 10.853562700 obtained at 1Hz counter of 9. Result: 9.071879137
--
   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-08-03T23:21:28.071.737.725
   Max 1st sample MIU time among all SL packets: 2021-08-03T23:22:09.675.634.725
   Min 1st sample XO time among all SL packets: 9.071738862
   Max 1st sample XO time among all SL packets: 50.675638055
   TM values from -277 to 226 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-03T23:21:28.071.737.725 (XO: 9.071738862 - 9.072044863, t=37.2 degC)  Rank: 00080
   TM values: Max =   226  Min =  -254  Ave =    -4.56  Std =    31.47
   Min TM value:-254 at an offset of 200.576 usec -> 2021-08-03T23:21:28.071.938.300 (XO: 9.071939437)
   Max TM value:226 at an offset of 129.525 usec -> 2021-08-03T23:21:28.071.867.250 (XO: 9.071868387)
   Max dTM/dt [1/us]:1.98e+03 at an offset of 132.213 usec -> 2021-08-03T23:21:28.071.869.937 (XO: 9.071871075)
   Min dTM/dt [1/us]:-2.49e+03 at an offset of 129.638 usec -> 2021-08-03T23:21:28.071.867.362 (XO: 9.071868500)

 - Block number: 2 starting at 2021-08-03T23:21:41.176.548.725 (XO: 22.176550408 - 22.176856409, t=37.2 degC)  Rank: 00081
   TM values: Max =   213  Min =  -218  Ave =    -4.47  Std =    21.91
   Min TM value:-218 at an offset of 113.513 usec -> 2021-08-03T23:21:41.176.662.237 (XO: 22.176663920)
   Max TM value:213 at an offset of 116.225 usec -> 2021-08-03T23:21:41.176.664.950 (XO: 22.176666633)
   Max dTM/dt [1/us]:1.80e+03 at an offset of 116.088 usec -> 2021-08-03T23:21:41.176.664.812 (XO: 22.176666495)
   Min dTM/dt [1/us]:-1.57e+03 at an offset of 113.350 usec -> 2021-08-03T23:21:41.176.662.075 (XO: 22.176663758)

 - Block number: 3 starting at 2021-08-03T23:21:53.041.804.725 (XO: 34.041805863 - 34.042111864, t=37.2 degC)  Rank: 00077
   TM values: Max =   206  Min =  -277  Ave =    -4.55  Std =    22.79
   Min TM value:-277 at an offset of 126.375 usec -> 2021-08-03T23:21:53.041.931.100 (XO: 34.041932238)
   Max TM value:206 at an offset of 128.938 usec -> 2021-08-03T23:21:53.041.933.662 (XO: 34.041934801)
   Max dTM/dt [1/us]:2.10e+03 at an offset of 128.750 usec -> 2021-08-03T23:21:53.041.933.475 (XO: 34.041934613)
   Min dTM/dt [1/us]:-1.79e+03 at an offset of 126.175 usec -> 2021-08-03T23:21:53.041.930.900 (XO: 34.041932038)

 - Block number: 4 starting at 2021-08-03T23:22:09.675.345.725 (XO: 50.675349054 - 50.675655055, t=37.2 degC)  Rank: 00078
   TM values: Max =   196  Min =  -264  Ave =    -4.46  Std =    20.95
   Min TM value:-264 at an offset of 127.338 usec -> 2021-08-03T23:22:09.675.473.062 (XO: 50.675476392)
   Max TM value:196 at an offset of 129.850 usec -> 2021-08-03T23:22:09.675.475.575 (XO: 50.675478904)
   Max dTM/dt [1/us]:2.41e+03 at an offset of 129.700 usec -> 2021-08-03T23:22:09.675.475.425 (XO: 50.675478754)
   Min dTM/dt [1/us]:-2.10e+03 at an offset of 127.125 usec -> 2021-08-03T23:22:09.675.472.850 (XO: 50.675476179)
