-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Jan 12 03:46:28 2022 UTC
-- File 20210915_211509_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 7.917951 to 57.132470
-each separately from 7s to 57s and from 132181us to 918240us.
   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.772756 in 1 packets: 18
      9.034541 in 1 packets: 36
      24.406066 in 1 packets: 54
MIU packet time from 2021-09-15T21:15:19.917.951.000 to 2021-09-15T21:16:09.132.470.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.772756 in 1 packets: 18
      9.034541 in 1 packets: 36
      24.406066 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 8.7481140 to 58.7479475
   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, ...
      15.9999467 in 1 packets: 18
      8.9999700 in 1 packets: 36
      24.9999168 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      03 -> 51.1 degC in 18 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: 
      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 20210915_211509_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:
      86 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.6660660 to 9.6663550
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.7727030  -- OK for SL --
   MIU time from 2021-09-15T21:15:19.917.951.000 to 2021-09-15T21:15:19.918.240.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.772756

 - 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 25.4390580 to 25.4393470
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.0345110  -- OK for SL --
   MIU time from 2021-09-15T21:15:35.690.996.000 to 2021-09-15T21:15:35.691.285.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.034541

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 34.4738580 to 34.4741470
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.4059830  -- OK for SL --
   MIU time from 2021-09-15T21:15:44.725.826.000 to 2021-09-15T21:15:44.726.115.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.406066

 - 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 58.8801300 to 58.8804190
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-15T21:16:09.132.181.000 to 2021-09-15T21:16:09.132.470.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 = 7, 32bit 10MHz counter = 9.666066000 corrected by 40bit 10MHz counter of 8.748114000 obtained at 1Hz counter of 7. Result: 7.917955029
--
   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-15T21:15:19.917.810.725
   Max 1st sample MIU time among all SL packets: 2021-09-15T21:16:09.132.329.725
   Min 1st sample XO time among all SL packets: 7.917814754
   Max 1st sample XO time among all SL packets: 57.132331662
   TM values from -300 to 265 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-15T21:15:19.917.810.725 (XO: 7.917814754 - 7.918120755, t=37.2 degC)  Rank: 00086
   TM values: Max =   210  Min =  -253  Ave =    -4.59  Std =    22.87
   Min TM value:-253 at an offset of 112.175 usec -> 2021-09-15T21:15:19.917.922.900 (XO: 7.917926929)
   Max TM value:210 at an offset of 127.300 usec -> 2021-09-15T21:15:19.917.938.025 (XO: 7.917942054)
   Max dTM/dt [1/us]:1.86e+03 at an offset of 127.088 usec -> 2021-09-15T21:15:19.917.937.812 (XO: 7.917941842)
   Min dTM/dt [1/us]:-2.37e+03 at an offset of 124.550 usec -> 2021-09-15T21:15:19.917.935.275 (XO: 7.917939304)

 - Block number: 2 starting at 2021-09-15T21:15:35.690.855.725 (XO: 23.690859305 - 23.691165306, t=37.2 degC)  Rank: 00078
   TM values: Max =   265  Min =  -300  Ave =    -4.55  Std =    29.64
   Min TM value:-300 at an offset of 107.038 usec -> 2021-09-15T21:15:35.690.962.762 (XO: 23.690966343)
   Max TM value:265 at an offset of 106.788 usec -> 2021-09-15T21:15:35.690.962.512 (XO: 23.690966093)
   Max dTM/dt [1/us]:2.50e+03 at an offset of 109.400 usec -> 2021-09-15T21:15:35.690.965.125 (XO: 23.690968705)
   Min dTM/dt [1/us]:-3.11e+03 at an offset of 106.900 usec -> 2021-09-15T21:15:35.690.962.625 (XO: 23.690966205)

 - Block number: 3 starting at 2021-09-15T21:15:44.725.685.725 (XO: 32.725689420 - 32.725995421, t=37.2 degC)  Rank: 00078
   TM values: Max =   220  Min =  -251  Ave =    -4.53  Std =    29.36
   Min TM value:-251 at an offset of 172.638 usec -> 2021-09-15T21:15:44.725.858.363 (XO: 32.725862058)
   Max TM value:220 at an offset of 116.488 usec -> 2021-09-15T21:15:44.725.802.212 (XO: 32.725805908)
   Max dTM/dt [1/us]:1.88e+03 at an offset of 116.350 usec -> 2021-09-15T21:15:44.725.802.075 (XO: 32.725805770)
   Min dTM/dt [1/us]:-2.12e+03 at an offset of 172.513 usec -> 2021-09-15T21:15:44.725.858.238 (XO: 32.725861933)

 - Block number: 4 starting at 2021-09-15T21:16:09.132.040.725 (XO: 57.132042661 - 57.132348662, t=37.2 degC)  Rank: 00080
   TM values: Max =   214  Min =  -219  Ave =    -4.67  Std =    21.48
   Min TM value:-219 at an offset of 113.263 usec -> 2021-09-15T21:16:09.132.153.987 (XO: 57.132155924)
   Max TM value:214 at an offset of 115.913 usec -> 2021-09-15T21:16:09.132.156.637 (XO: 57.132158574)
   Max dTM/dt [1/us]:2.02e+03 at an offset of 115.775 usec -> 2021-09-15T21:16:09.132.156.500 (XO: 57.132158436)
   Min dTM/dt [1/us]:-1.88e+03 at an offset of 100.563 usec -> 2021-09-15T21:16:09.132.141.287 (XO: 57.132143224)
