-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 11 20:02:22 2021 UTC
-- File 20200921_222715_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 0.474713 to 39.085964
-each separately from 0s to 39s and from 85675us to 476220us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      26.000929 in 1 packets: 18
      12.609455 in 1 packets: 36
MIU packet time from 2020-09-21T22:27:18.474.713.000 to 2020-09-21T22:27:57.085.964.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      26.000929 in 1 packets: 18
      12.609455 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 1.4028290 to 40.4026819
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      25.9999019 in 1 packets: 18
      12.9999510 in 1 packets: 36
Temperature FPGA: 
      04 -> 49.8 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
Temperature XO: 
      C0 -> 35.6 degC in 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 packets (all packets)
Number of external events: 
      0 in 54 packets (all packets)
Number of generated alerts: 
      0 in 54 packets (all packets)
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20200921_222715_1227.dat, 3 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:
      10 in 18 packets (all packets)  -- OK --
   10 MHz counter from 1.8775420 to 1.8778310
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 26.0008310  -- OK for SL --
   MIU time from 2020-09-21T22:27:18.474.713.000 to 2020-09-21T22:27:18.475.002.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 26.000929

 - 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:
      8 in 18 packets (all packets)  -- OK --
   10 MHz counter from 27.8786620 to 27.8789510
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.6094070  -- OK for SL --
   MIU time from 2020-09-21T22:27:44.475.931.000 to 2020-09-21T22:27:44.476.220.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.609455

 - 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:
      36 in 18 packets (all packets)  -- OK --
   10 MHz counter from 40.4883580 to 40.4886470
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2020-09-21T22:27:57.085.675.000 to 2020-09-21T22:27:57.085.964.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 0, 32bit 10MHz counter = 1.877542000 corrected by 40bit 10MHz counter of 1.402829000 obtained at 1Hz counter of 0. Result: 0.474714804
--
   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.999996200 - 0.999996300
   Min 1st sample MIU time among all SL packets: 2020-09-21T22:27:18.474.572.725
   Max 1st sample MIU time among all SL packets: 2020-09-21T22:27:57.085.823.725
   Min 1st sample XO time among all SL packets: 0.474574528
   Max 1st sample XO time among all SL packets: 39.085825151
   TM values from -111 to 81 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2020-09-21T22:27:18.474.572.725 (XO: 0.474574528 - 0.474880530, t=35.6 degC)  Rank: 00010
   TM values: Max =    37  Min =   -46  Ave =    -4.53  Std =    11.36
   Min TM value:-46 at an offset of 113.575 usec -> 2020-09-21T22:27:18.474.686.300 (XO: 0.474688104)
   Max TM value:37 at an offset of 120.788 usec -> 2020-09-21T22:27:18.474.693.512 (XO: 0.474695316)
   Max dTM/dt [1/us]:7.25e+02 at an offset of 120.750 usec -> 2020-09-21T22:27:18.474.693.475 (XO: 0.474695279)
   Min dTM/dt [1/us]:-6.65e+02 at an offset of 120.688 usec -> 2020-09-21T22:27:18.474.693.412 (XO: 0.474695216)

 - Block number: 2 starting at 2020-09-21T22:27:44.475.790.725 (XO: 26.475792585 - 26.476098587, t=35.6 degC)  Rank: 00008
   TM values: Max =    48  Min =   -42  Ave =    -4.51  Std =     8.59
   Min TM value:-42 at an offset of 54.275 usec -> 2020-09-21T22:27:44.475.845.000 (XO: 26.475846861)
   Max TM value:48 at an offset of 54.688 usec -> 2020-09-21T22:27:44.475.845.412 (XO: 26.475847273)
   Max dTM/dt [1/us]:3.89e+02 at an offset of 91.913 usec -> 2020-09-21T22:27:44.475.882.637 (XO: 26.475884498)
   Min dTM/dt [1/us]:-4.51e+02 at an offset of 75.163 usec -> 2020-09-21T22:27:44.475.865.887 (XO: 26.475867748)

 - Block number: 3 starting at 2020-09-21T22:27:57.085.534.725 (XO: 39.085536150 - 39.085842151, t=35.6 degC)  Rank: 00036
   TM values: Max =    81  Min =  -111  Ave =    -4.43  Std =    14.91
   Min TM value:-111 at an offset of 119.363 usec -> 2020-09-21T22:27:57.085.654.087 (XO: 39.085655513)
   Max TM value:81 at an offset of 122.925 usec -> 2020-09-21T22:27:57.085.657.650 (XO: 39.085659076)
   Max dTM/dt [1/us]:4.93e+02 at an offset of 238.951 usec -> 2020-09-21T22:27:57.085.773.675 (XO: 39.085775101)
   Min dTM/dt [1/us]:-5.07e+02 at an offset of 275.451 usec -> 2020-09-21T22:27:57.085.810.176 (XO: 39.085811601)
