-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Nov 19 00:25:21 2021 UTC
-- File 20210720_040400_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.499616 to 57.593557
-each separately from 8s to 57s and from 499616us to 816098us.
   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, ...
      16.277621 in 1 packets: 18
      13.037994 in 1 packets: 36
      19.777170 in 1 packets: 54
MIU packet time from 2021-07-20T04:04:11.499.616.000 to 2021-07-20T04:05:00.593.557.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, ...
      16.277621 in 1 packets: 18
      13.037994 in 1 packets: 36
      19.777170 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.9487496 to 58.9485862
   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.9999466 in 1 packets: 18
      12.9999566 in 1 packets: 36
      19.9999334 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: 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 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 20210720_040400_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 10.4483669 to 10.4486559
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.2775670  -- OK for SL --
   MIU time from 2021-07-20T04:04:11.499.616.000 to 2021-07-20T04:04:11.499.905.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.277621

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 26.7262229 to 26.7265119
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.0379510  -- OK for SL --
   MIU time from 2021-07-20T04:04:27.777.526.000 to 2021-07-20T04:04:27.777.815.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.037994

 - 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:
      86 in 18 packets (all packets)  -- OK --
   10 MHz counter from 39.7644629 to 39.7647519
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.7771030  -- OK for SL --
   MIU time from 2021-07-20T04:04:40.815.809.000 to 2021-07-20T04:04:40.816.098.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.777170

 - 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 59.5418549 to 59.5421439
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-20T04:05:00.593.268.000 to 2021-07-20T04:05:00.593.557.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.448366900 corrected by 40bit 10MHz counter of 9.948749600 obtained at 1Hz counter of 8. Result: 8.499618949
--
   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-07-20T04:04:11.499.475.725
   Max 1st sample MIU time among all SL packets: 2021-07-20T04:05:00.593.416.725
   Min 1st sample XO time among all SL packets: 8.499478673
   Max 1st sample XO time among all SL packets: 57.593419383
   TM values from -286 to 253 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-20T04:04:11.499.475.725 (XO: 8.499478673 - 8.499784674, t=37.2 degC)  Rank: 00081
   TM values: Max =   230  Min =  -230  Ave =    -4.47  Std =    19.95
   Min TM value:-230 at an offset of 128.825 usec -> 2021-07-20T04:04:11.499.604.550 (XO: 8.499607499)
   Max TM value:230 at an offset of 131.538 usec -> 2021-07-20T04:04:11.499.607.262 (XO: 8.499610211)
   Max dTM/dt [1/us]:1.95e+03 at an offset of 131.400 usec -> 2021-07-20T04:04:11.499.607.125 (XO: 8.499610074)
   Min dTM/dt [1/us]:-1.79e+03 at an offset of 128.625 usec -> 2021-07-20T04:04:11.499.604.350 (XO: 8.499607299)

 - Block number: 2 starting at 2021-07-20T04:04:27.777.385.725 (XO: 24.777388990 - 24.777694991, t=37.2 degC)  Rank: 00080
   TM values: Max =   220  Min =  -234  Ave =    -4.45  Std =    20.97
   Min TM value:-234 at an offset of 128.813 usec -> 2021-07-20T04:04:27.777.514.537 (XO: 24.777517803)
   Max TM value:220 at an offset of 131.450 usec -> 2021-07-20T04:04:27.777.517.175 (XO: 24.777520441)
   Max dTM/dt [1/us]:2.02e+03 at an offset of 131.300 usec -> 2021-07-20T04:04:27.777.517.025 (XO: 24.777520291)
   Min dTM/dt [1/us]:-2.04e+03 at an offset of 128.588 usec -> 2021-07-20T04:04:27.777.514.312 (XO: 24.777517578)

 - Block number: 3 starting at 2021-07-20T04:04:40.815.668.725 (XO: 37.815672517 - 37.815978518, t=37.2 degC)  Rank: 00086
   TM values: Max =   253  Min =  -286  Ave =    -4.54  Std =    28.94
   Min TM value:-286 at an offset of 131.838 usec -> 2021-07-20T04:04:40.815.800.562 (XO: 37.815804355)
   Max TM value:253 at an offset of 131.575 usec -> 2021-07-20T04:04:40.815.800.300 (XO: 37.815804092)
   Max dTM/dt [1/us]:2.40e+03 at an offset of 134.225 usec -> 2021-07-20T04:04:40.815.802.950 (XO: 37.815806742)
   Min dTM/dt [1/us]:-2.69e+03 at an offset of 131.700 usec -> 2021-07-20T04:04:40.815.800.425 (XO: 37.815804217)

 - Block number: 4 starting at 2021-07-20T04:05:00.593.127.725 (XO: 57.593130382 - 57.593436383, t=37.2 degC)  Rank: 00078
   TM values: Max =   218  Min =  -256  Ave =    -4.53  Std =    21.12
   Min TM value:-256 at an offset of 126.925 usec -> 2021-07-20T04:05:00.593.254.650 (XO: 57.593257308)
   Max TM value:218 at an offset of 129.538 usec -> 2021-07-20T04:05:00.593.257.262 (XO: 57.593259920)
   Max dTM/dt [1/us]:1.82e+03 at an offset of 129.363 usec -> 2021-07-20T04:05:00.593.257.087 (XO: 57.593259745)
   Min dTM/dt [1/us]:-2.09e+03 at an offset of 126.713 usec -> 2021-07-20T04:05:00.593.254.437 (XO: 57.593257095)
