-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Jan 15 22:34:06 2022 UTC
-- File 20210920_000910_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.867280 to 52.232760
-each separately from 6s to 52s and from 232471us to 934497us.
   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, ...
      11.408630 in 1 packets: 18
      17.657720 in 1 packets: 36
      16.297974 in 1 packets: 54
MIU packet time from 2021-09-20T00:09:19.867.280.000 to 2021-09-20T00:10:05.232.760.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, ...
      11.408630 in 1 packets: 18
      17.657720 in 1 packets: 36
      16.297974 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.8706033 to 53.8704512
   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, ...
      11.9999603 in 1 packets: 18
      16.9999438 in 2 packets: 36, 54
Temperature FPGA: 
      04 -> 49.8 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      05 -> 48.5 degC in 54 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: 
      0 in 1 packets: 1
      1 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: 
      0 in 1 packets: 1
      1 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 20210920_000910_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 8.7378835 to 8.7381725
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.4085910  -- OK for SL --
   MIU time from 2021-09-20T00:09:19.867.280.000 to 2021-09-20T00:09:19.867.569.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.408630

 - 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 20.1467635 to 20.1470525
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.6576630  -- OK for SL --
   MIU time from 2021-09-20T00:09:31.276.199.000 to 2021-09-20T00:09:31.276.488.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.657720

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 37.8047155 to 37.8050045
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.2979190  -- OK for SL --
   MIU time from 2021-09-20T00:09:48.934.208.000 to 2021-09-20T00:09:48.934.497.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.297974

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 54.1029235 to 54.1032125
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-20T00:10:05.232.471.000 to 2021-09-20T00:10:05.232.760.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.737883500 corrected by 40bit 10MHz counter of 7.870603300 obtained at 1Hz counter of 6. Result: 6.867283062
--
   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.999996600 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-09-20T00:09:19.867.139.725
   Max 1st sample MIU time among all SL packets: 2021-09-20T00:10:05.232.619.725
   Min 1st sample XO time among all SL packets: 6.867142787
   Max 1st sample XO time among all SL packets: 52.232621793
   TM values from -251 to 229 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-20T00:09:19.867.139.725 (XO: 6.867142787 - 6.867448788, t=37.2 degC)  Rank: 00081
   TM values: Max =   229  Min =  -246  Ave =    -4.50  Std =    19.57
   Min TM value:-246 at an offset of 119.388 usec -> 2021-09-20T00:09:19.867.259.112 (XO: 6.867262174)
   Max TM value:229 at an offset of 122.113 usec -> 2021-09-20T00:09:19.867.261.837 (XO: 6.867264899)
   Max dTM/dt [1/us]:2.07e+03 at an offset of 121.988 usec -> 2021-09-20T00:09:19.867.261.712 (XO: 6.867264774)
   Min dTM/dt [1/us]:-1.73e+03 at an offset of 119.213 usec -> 2021-09-20T00:09:19.867.258.937 (XO: 6.867261999)

 - Block number: 2 starting at 2021-09-20T00:09:31.276.058.725 (XO: 18.276060536 - 18.276366537, t=37.2 degC)  Rank: 00078
   TM values: Max =   206  Min =  -251  Ave =    -4.56  Std =    20.26
   Min TM value:-251 at an offset of 119.300 usec -> 2021-09-20T00:09:31.276.178.025 (XO: 18.276179836)
   Max TM value:206 at an offset of 121.950 usec -> 2021-09-20T00:09:31.276.180.675 (XO: 18.276182486)
   Max dTM/dt [1/us]:1.81e+03 at an offset of 121.788 usec -> 2021-09-20T00:09:31.276.180.512 (XO: 18.276182324)
   Min dTM/dt [1/us]:-1.82e+03 at an offset of 119.125 usec -> 2021-09-20T00:09:31.276.177.850 (XO: 18.276179661)

 - Block number: 3 starting at 2021-09-20T00:09:48.934.067.725 (XO: 35.934071001 - 35.934377002, t=37.2 degC)  Rank: 00079
   TM values: Max =   207  Min =  -251  Ave =    -4.56  Std =    19.31
   Min TM value:-251 at an offset of 121.400 usec -> 2021-09-20T00:09:48.934.189.125 (XO: 35.934192401)
   Max TM value:207 at an offset of 124.000 usec -> 2021-09-20T00:09:48.934.191.725 (XO: 35.934195001)
   Max dTM/dt [1/us]:1.74e+03 at an offset of 123.838 usec -> 2021-09-20T00:09:48.934.191.562 (XO: 35.934194839)
   Min dTM/dt [1/us]:-1.87e+03 at an offset of 121.200 usec -> 2021-09-20T00:09:48.934.188.925 (XO: 35.934192201)

 - Block number: 4 starting at 2021-09-20T00:10:05.232.330.725 (XO: 52.232332792 - 52.232638793, t=37.2 degC)  Rank: 00079
   TM values: Max =   208  Min =  -245  Ave =    -4.60  Std =    18.78
   Min TM value:-245 at an offset of 119.225 usec -> 2021-09-20T00:10:05.232.449.950 (XO: 52.232452017)
   Max TM value:208 at an offset of 121.825 usec -> 2021-09-20T00:10:05.232.452.550 (XO: 52.232454617)
   Max dTM/dt [1/us]:1.74e+03 at an offset of 121.650 usec -> 2021-09-20T00:10:05.232.452.375 (XO: 52.232454442)
   Min dTM/dt [1/us]:-2.23e+03 at an offset of 119.038 usec -> 2021-09-20T00:10:05.232.449.762 (XO: 52.232451830)
