-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Feb 13 09:02:43 2022 UTC
-- File 20211104_004734_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 4.031865 to 52.767294
-each separately from 4s to 52s and from 31865us to 767294us.
   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, ...
      15.088322 in 1 packets: 18
      11.458501 in 1 packets: 36
      22.187450 in 1 packets: 54
MIU packet time from 2021-11-04T00:47:41.031.865.000 to 2021-11-04T00:48:29.767.294.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, ...
      15.088322 in 1 packets: 18
      11.458501 in 1 packets: 36
      22.187450 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 5.3258570 to 53.3256934
   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, ...
      14.9999488 in 1 packets: 18
      10.9999625 in 1 packets: 36
      21.9999251 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      04 -> 49.8 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature XO: 
      C0 -> 35.6 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 72 packets (all packets)
Number of generated alerts: 
      0 in 72 packets (all packets)
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 20211104_004734_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:
      71 in 18 packets (all packets)  -- OK --
   10 MHz counter from 5.3577228 to 5.3580118
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.0882710  -- OK for SL --
   MIU time from 2021-11-04T00:47:41.031.865.000 to 2021-11-04T00:47:41.032.154.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.088322

 - 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:
      74 in 18 packets (all packets)  -- OK --
   10 MHz counter from 20.4462828 to 20.4465718
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.4584630  -- OK for SL --
   MIU time from 2021-11-04T00:47:56.120.476.000 to 2021-11-04T00:47:56.120.765.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.458501

 - 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:
      70 in 18 packets (all packets)  -- OK --
   10 MHz counter from 31.9050348 to 31.9053238
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.1873750  -- OK for SL --
   MIU time from 2021-11-04T00:48:07.579.266.000 to 2021-11-04T00:48:07.579.555.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.187450

 - 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:
      74 in 18 packets (all packets)  -- OK --
   10 MHz counter from 54.0926988 to 54.0929878
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-11-04T00:48:29.767.005.000 to 2021-11-04T00:48:29.767.294.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 = 4, 32bit 10MHz counter = 5.357722800 corrected by 40bit 10MHz counter of 5.325857000 obtained at 1Hz counter of 4. Result: 4.031865908
--
   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.999996500 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-11-04T00:47:41.031.724.725
   Max 1st sample MIU time among all SL packets: 2021-11-04T00:48:29.767.153.725
   Min 1st sample XO time among all SL packets: 4.031725633
   Max 1st sample XO time among all SL packets: 52.767156657
   TM values from -216 to 211 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-11-04T00:47:41.031.724.725 (XO: 4.031725633 - 4.032031634, t=35.6 degC)  Rank: 00071
   TM values: Max =   211  Min =  -200  Ave =    -4.57  Std =    27.56
   Min TM value:-200 at an offset of 99.800 usec -> 2021-11-04T00:47:41.031.824.525 (XO: 4.031825433)
   Max TM value:211 at an offset of 99.225 usec -> 2021-11-04T00:47:41.031.823.950 (XO: 4.031824858)
   Max dTM/dt [1/us]:2.06e+03 at an offset of 138.075 usec -> 2021-11-04T00:47:41.031.862.800 (XO: 4.031863708)
   Min dTM/dt [1/us]:-1.73e+03 at an offset of 99.413 usec -> 2021-11-04T00:47:41.031.824.137 (XO: 4.031825046)

 - Block number: 2 starting at 2021-11-04T00:47:56.120.335.725 (XO: 19.120337146 - 19.120643147, t=35.6 degC)  Rank: 00074
   TM values: Max =   155  Min =  -216  Ave =    -4.59  Std =    17.27
   Min TM value:-216 at an offset of 108.563 usec -> 2021-11-04T00:47:56.120.444.287 (XO: 19.120445709)
   Max TM value:155 at an offset of 95.788 usec -> 2021-11-04T00:47:56.120.431.512 (XO: 19.120432934)
   Max dTM/dt [1/us]:1.30e+03 at an offset of 95.700 usec -> 2021-11-04T00:47:56.120.431.425 (XO: 19.120432847)
   Min dTM/dt [1/us]:-1.30e+03 at an offset of 95.925 usec -> 2021-11-04T00:47:56.120.431.650 (XO: 19.120433072)

 - Block number: 3 starting at 2021-11-04T00:48:07.579.125.725 (XO: 30.579128194 - 30.579434195, t=35.6 degC)  Rank: 00070
   TM values: Max =   192  Min =  -190  Ave =    -4.58  Std =    17.65
   Min TM value:-190 at an offset of 113.225 usec -> 2021-11-04T00:48:07.579.238.950 (XO: 30.579241419)
   Max TM value:192 at an offset of 110.675 usec -> 2021-11-04T00:48:07.579.236.400 (XO: 30.579238869)
   Max dTM/dt [1/us]:1.56e+03 at an offset of 113.313 usec -> 2021-11-04T00:48:07.579.239.037 (XO: 30.579241507)
   Min dTM/dt [1/us]:-1.35e+03 at an offset of 113.125 usec -> 2021-11-04T00:48:07.579.238.850 (XO: 30.579241319)

 - Block number: 4 starting at 2021-11-04T00:48:29.766.864.725 (XO: 52.766867656 - 52.767173657, t=35.6 degC)  Rank: 00074
   TM values: Max =   208  Min =  -194  Ave =    -4.52  Std =    17.59
   Min TM value:-194 at an offset of 123.838 usec -> 2021-11-04T00:48:29.766.988.562 (XO: 52.766991494)
   Max TM value:208 at an offset of 123.250 usec -> 2021-11-04T00:48:29.766.987.975 (XO: 52.766990906)
   Max dTM/dt [1/us]:1.48e+03 at an offset of 123.150 usec -> 2021-11-04T00:48:29.766.987.875 (XO: 52.766990806)
   Min dTM/dt [1/us]:-1.48e+03 at an offset of 123.363 usec -> 2021-11-04T00:48:29.766.988.087 (XO: 52.766991019)
