-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Dec  8 12:50:49 2021 UTC
-- File 20210806_223051_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 10.874381 to 45.596834
-each separately from 10s to 45s and from 554576us to 874670us.
   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, ...
      4.875807 in 1 packets: 18
      19.803810 in 1 packets: 36
      10.041680 in 1 packets: 54
MIU packet time from 2021-08-06T22:31:04.874.381.000 to 2021-08-06T22:31:39.596.834.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, ...
      4.875807 in 1 packets: 18
      19.803810 in 1 packets: 36
      10.041680 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 11.8909697 to 46.8908531
   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, ...
      4.9999834 in 1 packets: 18
      19.9999333 in 1 packets: 36
      9.9999667 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 72 packets (all packets)
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 20210806_223051_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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 12.7653510 to 12.7656400
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 4.8757910  -- OK for SL --
   MIU time from 2021-08-06T22:31:04.874.381.000 to 2021-08-06T22:31:04.874.670.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 4.875807

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 17.6414310 to 17.6417200
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.8037430  -- OK for SL --
   MIU time from 2021-08-06T22:31:09.750.477.000 to 2021-08-06T22:31:09.750.766.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.803810

 - 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.4454630 to 37.4457520
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.0416470  -- OK for SL --
   MIU time from 2021-08-06T22:31:29.554.576.000 to 2021-08-06T22:31:29.554.865.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.041680

 - 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 47.4873990 to 47.4876880
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-06T22:31:39.596.545.000 to 2021-08-06T22:31:39.596.834.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 = 10, 32bit 10MHz counter = 12.765351000 corrected by 40bit 10MHz counter of 11.890969700 obtained at 1Hz counter of 10. Result: 10.874384185
--
   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.999996800
   Min 1st sample MIU time among all SL packets: 2021-08-06T22:31:04.874.240.725
   Max 1st sample MIU time among all SL packets: 2021-08-06T22:31:39.596.693.725
   Min 1st sample XO time among all SL packets: 10.874243910
   Max 1st sample XO time among all SL packets: 45.596696534
   TM values from -260 to 224 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-06T22:31:04.874.240.725 (XO: 10.874243910 - 10.874549911, t=37.2 degC)  Rank: 00082
   TM values: Max =   216  Min =  -252  Ave =    -4.52  Std =    21.00
   Min TM value:-252 at an offset of 104.488 usec -> 2021-08-06T22:31:04.874.345.212 (XO: 10.874348398)
   Max TM value:216 at an offset of 107.125 usec -> 2021-08-06T22:31:04.874.347.850 (XO: 10.874351035)
   Max dTM/dt [1/us]:1.97e+03 at an offset of 106.938 usec -> 2021-08-06T22:31:04.874.347.662 (XO: 10.874350848)
   Min dTM/dt [1/us]:-1.97e+03 at an offset of 104.350 usec -> 2021-08-06T22:31:04.874.345.075 (XO: 10.874348260)

 - Block number: 2 starting at 2021-08-06T22:31:09.750.336.725 (XO: 15.750340101 - 15.750646102, t=37.2 degC)  Rank: 00077
   TM values: Max =   202  Min =  -217  Ave =    -4.41  Std =    20.43
   Min TM value:-217 at an offset of 117.100 usec -> 2021-08-06T22:31:09.750.453.825 (XO: 15.750457202)
   Max TM value:202 at an offset of 119.688 usec -> 2021-08-06T22:31:09.750.456.412 (XO: 15.750459789)
   Max dTM/dt [1/us]:1.80e+03 at an offset of 119.525 usec -> 2021-08-06T22:31:09.750.456.250 (XO: 15.750459627)
   Min dTM/dt [1/us]:-1.92e+03 at an offset of 116.863 usec -> 2021-08-06T22:31:09.750.453.587 (XO: 15.750456964)

 - Block number: 3 starting at 2021-08-06T22:31:29.554.435.725 (XO: 35.554438155 - 35.554744156, t=37.2 degC)  Rank: 00079
   TM values: Max =   188  Min =  -248  Ave =    -4.52  Std =    20.37
   Min TM value:-248 at an offset of 115.163 usec -> 2021-08-06T22:31:29.554.550.887 (XO: 35.554553318)
   Max TM value:188 at an offset of 117.825 usec -> 2021-08-06T22:31:29.554.553.550 (XO: 35.554555980)
   Max dTM/dt [1/us]:1.97e+03 at an offset of 117.613 usec -> 2021-08-06T22:31:29.554.553.337 (XO: 35.554555768)
   Min dTM/dt [1/us]:-2.10e+03 at an offset of 114.988 usec -> 2021-08-06T22:31:29.554.550.712 (XO: 35.554553143)

 - Block number: 4 starting at 2021-08-06T22:31:39.596.404.725 (XO: 45.596407534 - 45.596713534, t=37.2 degC)  Rank: 00079
   TM values: Max =   224  Min =  -260  Ave =    -4.49  Std =    19.92
   Min TM value:-260 at an offset of 132.688 usec -> 2021-08-06T22:31:39.596.537.412 (XO: 45.596540221)
   Max TM value:224 at an offset of 132.400 usec -> 2021-08-06T22:31:39.596.537.125 (XO: 45.596539934)
   Max dTM/dt [1/us]:1.95e+03 at an offset of 135.063 usec -> 2021-08-06T22:31:39.596.539.787 (XO: 45.596542596)
   Min dTM/dt [1/us]:-2.06e+03 at an offset of 132.488 usec -> 2021-08-06T22:31:39.596.537.212 (XO: 45.596540021)
