-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Apr 19 00:33:44 2021 UTC
-- File 20210419_002707_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 4.468230 to 37.181887
-each separately from 4s to 37s and from 181598us to 468519us.
   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, ...
      10.925463 in 1 packets: 18
      21.787327 in 1 packets: 36
MIU packet time from 2021-04-19T00:27:14.468.230.000 to 2021-04-19T00:27:47.181.887.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, ...
      10.925463 in 1 packets: 18
      21.787327 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 5.5794429 to 38.5793221
   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, ...
      10.9999597 in 1 packets: 18
      21.9999195 in 1 packets: 36
Temperature FPGA: 
      07 -> 45.9 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      06 -> 47.2 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature XO: 
      BE -> 32.4 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 20210419_002707_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:
      4 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.0476728 to 6.0479618
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.9254230  -- OK for SL --
   MIU time from 2021-04-19T00:27:14.468.230.000 to 2021-04-19T00:27:14.468.519.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.925463

 - 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:
      4 in 18 packets (all packets)  -- OK --
   10 MHz counter from 16.9733848 to 16.9736738
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.7872470  -- OK for SL --
   MIU time from 2021-04-19T00:27:25.393.982.000 to 2021-04-19T00:27:25.394.271.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.787327

 - 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:
      14 in 18 packets (all packets)  -- OK --
   10 MHz counter from 38.7609208 to 38.7612098
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-04-19T00:27:47.181.598.000 to 2021-04-19T00:27:47.181.887.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 = 4, 32bit 10MHz counter = 6.047672800 corrected by 40bit 10MHz counter of 5.579442900 obtained at 1Hz counter of 4. Result: 4.468231632
--
   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.999996300 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2021-04-19T00:27:14.468.089.725
   Max 1st sample MIU time among all SL packets: 2021-04-19T00:27:47.181.746.725
   Min 1st sample XO time among all SL packets: 4.468091357
   Max 1st sample XO time among all SL packets: 37.181748097
   TM values from -39 to 39 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-04-19T00:27:14.468.089.725 (XO: 4.468091357 - 4.468397358, t=32.4 degC)  Rank: 00004
   TM values: Max =    16  Min =   -23  Ave =    -4.47  Std =     5.39
   Min TM value:-23 at an offset of 118.775 usec -> 2021-04-19T00:27:14.468.208.500 (XO: 4.468210132)
   Max TM value:16 at an offset of 90.000 usec -> 2021-04-19T00:27:14.468.179.725 (XO: 4.468181357)
   Max dTM/dt [1/us]:2.04e+02 at an offset of 94.488 usec -> 2021-04-19T00:27:14.468.184.212 (XO: 4.468185845)
   Min dTM/dt [1/us]:-2.05e+02 at an offset of 7.250 usec -> 2021-04-19T00:27:14.468.096.975 (XO: 4.468098607)

 - Block number: 2 starting at 2021-04-19T00:27:25.393.841.725 (XO: 15.393843343 - 15.394149344, t=32.4 degC)  Rank: 00004
   TM values: Max =    16  Min =   -25  Ave =    -4.57  Std =     5.53
   Min TM value:-25 at an offset of 129.600 usec -> 2021-04-19T00:27:25.393.971.325 (XO: 15.393972943)
   Max TM value:16 at an offset of 99.600 usec -> 2021-04-19T00:27:25.393.941.325 (XO: 15.393942943)
   Max dTM/dt [1/us]:2.20e+02 at an offset of 129.775 usec -> 2021-04-19T00:27:25.393.971.500 (XO: 15.393973118)
   Min dTM/dt [1/us]:-2.23e+02 at an offset of 121.813 usec -> 2021-04-19T00:27:25.393.963.537 (XO: 15.393965156)

 - Block number: 3 starting at 2021-04-19T00:27:47.181.457.725 (XO: 37.181459096 - 37.181765098, t=32.4 degC)  Rank: 00014
   TM values: Max =    39  Min =   -39  Ave =    -4.48  Std =     7.95
   Min TM value:-39 at an offset of 280.176 usec -> 2021-04-19T00:27:47.181.737.901 (XO: 37.181739272)
   Max TM value:39 at an offset of 249.363 usec -> 2021-04-19T00:27:47.181.707.088 (XO: 37.181708460)
   Max dTM/dt [1/us]:2.24e+02 at an offset of 255.851 usec -> 2021-04-19T00:27:47.181.713.575 (XO: 37.181714947)
   Min dTM/dt [1/us]:-2.30e+02 at an offset of 256.888 usec -> 2021-04-19T00:27:47.181.714.613 (XO: 37.181715985)
