-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Dec 28 11:11:04 2021 UTC
-- File 20210829_053653_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 9.786022 to 49.422588
-each separately from 9s to 49s and from 144865us to 786311us.
   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, ...
      12.358554 in 1 packets: 18
      10.408688 in 1 packets: 36
      16.868168 in 1 packets: 54
MIU packet time from 2021-08-29T05:37:05.786.022.000 to 2021-08-29T05:37:45.422.588.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, ...
      12.358554 in 1 packets: 18
      10.408688 in 1 packets: 36
      16.868168 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 10.8483874 to 50.8482542
   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, ...
      12.9999566 in 1 packets: 18
      9.9999667 in 1 packets: 36
      16.9999435 in 1 packets: 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 20210829_053653_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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 11.6344099 to 11.6346989
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.3585110  -- OK for SL --
   MIU time from 2021-08-29T05:37:05.786.022.000 to 2021-08-29T05:37:05.786.311.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.358554

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 23.9932099 to 23.9934989
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.4086550  -- OK for SL --
   MIU time from 2021-08-29T05:37:18.144.865.000 to 2021-08-29T05:37:18.145.154.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.408688

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 34.4021539 to 34.4024429
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.8681110  -- OK for SL --
   MIU time from 2021-08-29T05:37:28.553.842.000 to 2021-08-29T05:37:28.554.131.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.868168

 - 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 51.2705539 to 51.2708429
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-29T05:37:45.422.299.000 to 2021-08-29T05:37:45.422.588.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 = 9, 32bit 10MHz counter = 11.634409900 corrected by 40bit 10MHz counter of 10.848387400 obtained at 1Hz counter of 9. Result: 9.786025172
--
   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-08-29T05:37:05.785.881.725
   Max 1st sample MIU time among all SL packets: 2021-08-29T05:37:45.422.447.725
   Min 1st sample XO time among all SL packets: 9.785884897
   Max 1st sample XO time among all SL packets: 49.422449861
   TM values from -252 to 218 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-29T05:37:05.785.881.725 (XO: 9.785884897 - 9.786190898, t=37.2 degC)  Rank: 00085
   TM values: Max =   208  Min =  -252  Ave =    -4.39  Std =    19.40
   Min TM value:-252 at an offset of 105.488 usec -> 2021-08-29T05:37:05.785.987.212 (XO: 9.785990385)
   Max TM value:208 at an offset of 108.100 usec -> 2021-08-29T05:37:05.785.989.825 (XO: 9.785992997)
   Max dTM/dt [1/us]:2.22e+03 at an offset of 107.938 usec -> 2021-08-29T05:37:05.785.989.662 (XO: 9.785992835)
   Min dTM/dt [1/us]:-2.38e+03 at an offset of 105.363 usec -> 2021-08-29T05:37:05.785.987.087 (XO: 9.785990260)

 - Block number: 2 starting at 2021-08-29T05:37:18.144.724.725 (XO: 22.144726103 - 22.145032104, t=37.2 degC)  Rank: 00080
   TM values: Max =   197  Min =  -221  Ave =    -4.47  Std =    21.85
   Min TM value:-221 at an offset of 117.488 usec -> 2021-08-29T05:37:18.144.842.212 (XO: 22.144843590)
   Max TM value:197 at an offset of 120.213 usec -> 2021-08-29T05:37:18.144.844.937 (XO: 22.144846315)
   Max dTM/dt [1/us]:1.84e+03 at an offset of 120.075 usec -> 2021-08-29T05:37:18.144.844.800 (XO: 22.144846178)
   Min dTM/dt [1/us]:-1.47e+03 at an offset of 117.263 usec -> 2021-08-29T05:37:18.144.841.987 (XO: 22.144843365)

 - Block number: 3 starting at 2021-08-29T05:37:28.553.701.725 (XO: 32.553704752 - 32.554010753, t=37.2 degC)  Rank: 00078
   TM values: Max =   218  Min =  -224  Ave =    -4.50  Std =    18.91
   Min TM value:-224 at an offset of 106.975 usec -> 2021-08-29T05:37:28.553.808.700 (XO: 32.553811728)
   Max TM value:218 at an offset of 109.725 usec -> 2021-08-29T05:37:28.553.811.450 (XO: 32.553814478)
   Max dTM/dt [1/us]:1.86e+03 at an offset of 109.613 usec -> 2021-08-29T05:37:28.553.811.337 (XO: 32.553814365)
   Min dTM/dt [1/us]:-1.79e+03 at an offset of 106.825 usec -> 2021-08-29T05:37:28.553.808.550 (XO: 32.553811578)

 - Block number: 4 starting at 2021-08-29T05:37:45.422.158.725 (XO: 49.422160860 - 49.422466861, t=37.2 degC)  Rank: 00079
   TM values: Max =   202  Min =  -249  Ave =    -4.59  Std =    24.65
   Min TM value:-249 at an offset of 108.688 usec -> 2021-08-29T05:37:45.422.267.412 (XO: 49.422269548)
   Max TM value:202 at an offset of 106.450 usec -> 2021-08-29T05:37:45.422.265.175 (XO: 49.422267311)
   Max dTM/dt [1/us]:2.02e+03 at an offset of 111.063 usec -> 2021-08-29T05:37:45.422.269.787 (XO: 49.422271923)
   Min dTM/dt [1/us]:-2.34e+03 at an offset of 108.513 usec -> 2021-08-29T05:37:45.422.267.237 (XO: 49.422269373)
