-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Dec 30 00:23:42 2021 UTC
-- File 20210830_124758_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 3.945121 to 59.079355
-each separately from 3s to 59s and from 79066us to 945410us.
   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, ...
      20.917845 in 1 packets: 18
      11.398406 in 1 packets: 36
      22.816827 in 1 packets: 54
MIU packet time from 2021-08-30T12:48:04.945.121.000 to 2021-08-30T12:49:00.079.355.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, ...
      20.917845 in 1 packets: 18
      11.398406 in 1 packets: 36
      22.816827 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 4.8664574 to 60.8662714
   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, ...
      20.9999303 in 1 packets: 18
      11.9999601 in 1 packets: 36
      22.9999236 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, ...
      06 -> 47.2 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20210830_124758_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 5.8115788 to 5.8118678
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.9177750  -- OK for SL --
   MIU time from 2021-08-30T12:48:04.945.121.000 to 2021-08-30T12:48:04.945.410.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.917845

 - 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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 26.7296428 to 26.7299318
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.3983670  -- OK for SL --
   MIU time from 2021-08-30T12:48:25.863.255.000 to 2021-08-30T12:48:25.863.544.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.398406

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 38.1282988 to 38.1285878
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.8167510  -- OK for SL --
   MIU time from 2021-08-30T12:48:37.261.950.000 to 2021-08-30T12:48:37.262.239.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.816827

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 60.9453388 to 60.9456278
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-30T12:49:00.079.066.000 to 2021-08-30T12:49:00.079.355.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 = 3, 32bit 10MHz counter = 5.811578800 corrected by 40bit 10MHz counter of 4.866457400 obtained at 1Hz counter of 3. Result: 3.945124519
--
   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-30T12:48:04.944.980.725
   Max 1st sample MIU time among all SL packets: 2021-08-30T12:49:00.079.214.725
   Min 1st sample XO time among all SL packets: 3.944984243
   Max 1st sample XO time among all SL packets: 59.079216394
   TM values from -263 to 231 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-30T12:48:04.944.980.725 (XO: 3.944984243 - 3.945290244, t=37.2 degC)  Rank: 00081
   TM values: Max =   206  Min =  -258  Ave =    -4.57  Std =    19.42
   Min TM value:-258 at an offset of 119.525 usec -> 2021-08-30T12:48:04.945.100.250 (XO: 3.945103769)
   Max TM value:206 at an offset of 122.175 usec -> 2021-08-30T12:48:04.945.102.900 (XO: 3.945106419)
   Max dTM/dt [1/us]:1.45e+03 at an offset of 122.013 usec -> 2021-08-30T12:48:04.945.102.737 (XO: 3.945106256)
   Min dTM/dt [1/us]:-2.16e+03 at an offset of 119.350 usec -> 2021-08-30T12:48:04.945.100.075 (XO: 3.945103594)

 - Block number: 2 starting at 2021-08-30T12:48:25.863.114.725 (XO: 24.863117673 - 24.863423674, t=37.2 degC)  Rank: 00084
   TM values: Max =   226  Min =  -249  Ave =    -4.51  Std =    28.60
   Min TM value:-249 at an offset of 220.388 usec -> 2021-08-30T12:48:25.863.335.113 (XO: 24.863338062)
   Max TM value:226 at an offset of 131.713 usec -> 2021-08-30T12:48:25.863.246.437 (XO: 24.863249386)
   Max dTM/dt [1/us]:1.81e+03 at an offset of 131.550 usec -> 2021-08-30T12:48:25.863.246.275 (XO: 24.863249224)
   Min dTM/dt [1/us]:-2.13e+03 at an offset of 128.850 usec -> 2021-08-30T12:48:25.863.243.575 (XO: 24.863246524)

 - Block number: 3 starting at 2021-08-30T12:48:37.261.809.725 (XO: 36.261811589 - 36.262117590, t=37.2 degC)  Rank: 00080
   TM values: Max =   231  Min =  -263  Ave =    -4.52  Std =    24.98
   Min TM value:-263 at an offset of 119.213 usec -> 2021-08-30T12:48:37.261.928.937 (XO: 36.261930802)
   Max TM value:231 at an offset of 134.138 usec -> 2021-08-30T12:48:37.261.943.862 (XO: 36.261945727)
   Max dTM/dt [1/us]:1.88e+03 at an offset of 133.988 usec -> 2021-08-30T12:48:37.261.943.712 (XO: 36.261945577)
   Min dTM/dt [1/us]:-2.03e+03 at an offset of 131.250 usec -> 2021-08-30T12:48:37.261.940.975 (XO: 36.261942839)

 - Block number: 4 starting at 2021-08-30T12:49:00.078.925.725 (XO: 59.078927393 - 59.079233394, t=37.2 degC)  Rank: 00080
   TM values: Max =   229  Min =  -262  Ave =    -4.53  Std =    23.01
   Min TM value:-262 at an offset of 107.575 usec -> 2021-08-30T12:49:00.079.033.300 (XO: 59.079034969)
   Max TM value:229 at an offset of 107.313 usec -> 2021-08-30T12:49:00.079.033.037 (XO: 59.079034706)
   Max dTM/dt [1/us]:2.46e+03 at an offset of 109.975 usec -> 2021-08-30T12:49:00.079.035.700 (XO: 59.079037369)
   Min dTM/dt [1/us]:-2.60e+03 at an offset of 107.425 usec -> 2021-08-30T12:49:00.079.033.150 (XO: 59.079034819)
