-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Nov 17 17:04:52 2021 UTC
-- File 20210718_172749_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 10.630489 to 47.228215
-each separately from 10s to 47s and from 29642us to 868853us.
   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, ...
      9.398864 in 1 packets: 18
      17.838633 in 1 packets: 36
      9.359073 in 1 packets: 54
MIU packet time from 2021-07-18T17:28:02.630.489.000 to 2021-07-18T17:28:39.228.215.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, ...
      9.398864 in 1 packets: 18
      17.838633 in 1 packets: 36
      9.359073 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 11.8620974 to 48.8619721
   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, ...
      9.9999661 in 2 packets: 18, 54
      16.9999425 in 1 packets: 36
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: 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: 
      1 in 1 packets: 1
      2 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: 
      1 in 1 packets: 1
      2 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 20210718_172749_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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 12.4925868 to 12.4928758
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.3988310  -- OK for SL --
   MIU time from 2021-07-18T17:28:02.630.489.000 to 2021-07-18T17:28:02.630.778.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.398864

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 21.8917068 to 21.8919958
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.8385750  -- OK for SL --
   MIU time from 2021-07-18T17:28:12.029.642.000 to 2021-07-18T17:28:12.029.931.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.838633

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 39.7305708 to 39.7308598
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.3590390  -- OK for SL --
   MIU time from 2021-07-18T17:28:29.868.564.000 to 2021-07-18T17:28:29.868.853.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.359073

 - 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 49.0898988 to 49.0901878
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-18T17:28:39.227.926.000 to 2021-07-18T17:28:39.228.215.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 = 10, 32bit 10MHz counter = 12.492586800 corrected by 40bit 10MHz counter of 11.862097400 obtained at 1Hz counter of 10. Result: 10.630491481
--
   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-07-18T17:28:02.630.348.725
   Max 1st sample MIU time among all SL packets: 2021-07-18T17:28:39.228.074.725
   Min 1st sample XO time among all SL packets: 10.630351205
   Max 1st sample XO time among all SL packets: 47.228076200
   TM values from -335 to 293 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-18T17:28:02.630.348.725 (XO: 10.630351205 - 10.630657206, t=37.2 degC)  Rank: 00083
   TM values: Max =   227  Min =  -264  Ave =    -4.42  Std =    24.52
   Min TM value:-264 at an offset of 120.250 usec -> 2021-07-18T17:28:02.630.468.975 (XO: 10.630471456)
   Max TM value:227 at an offset of 122.925 usec -> 2021-07-18T17:28:02.630.471.650 (XO: 10.630474131)
   Max dTM/dt [1/us]:1.92e+03 at an offset of 122.738 usec -> 2021-07-18T17:28:02.630.471.462 (XO: 10.630473943)
   Min dTM/dt [1/us]:-2.10e+03 at an offset of 120.088 usec -> 2021-07-18T17:28:02.630.468.812 (XO: 10.630471293)

 - Block number: 2 starting at 2021-07-18T17:28:12.029.501.725 (XO: 20.029503122 - 20.029809123, t=37.2 degC)  Rank: 00078
   TM values: Max =   264  Min =  -290  Ave =    -4.47  Std =    27.51
   Min TM value:-290 at an offset of 87.750 usec -> 2021-07-18T17:28:12.029.589.475 (XO: 20.029590873)
   Max TM value:264 at an offset of 87.500 usec -> 2021-07-18T17:28:12.029.589.225 (XO: 20.029590623)
   Max dTM/dt [1/us]:2.80e+03 at an offset of 90.163 usec -> 2021-07-18T17:28:12.029.591.887 (XO: 20.029593285)
   Min dTM/dt [1/us]:-2.82e+03 at an offset of 87.638 usec -> 2021-07-18T17:28:12.029.589.362 (XO: 20.029590760)

 - Block number: 3 starting at 2021-07-18T17:28:29.868.423.725 (XO: 37.868427478 - 37.868733479, t=37.2 degC)  Rank: 00075
   TM values: Max =   293  Min =  -335  Ave =    -4.44  Std =    38.30
   Min TM value:-335 at an offset of 88.838 usec -> 2021-07-18T17:28:29.868.512.562 (XO: 37.868516315)
   Max TM value:293 at an offset of 88.538 usec -> 2021-07-18T17:28:29.868.512.262 (XO: 37.868516015)
   Max dTM/dt [1/us]:2.66e+03 at an offset of 91.200 usec -> 2021-07-18T17:28:29.868.514.925 (XO: 37.868518678)
   Min dTM/dt [1/us]:-3.26e+03 at an offset of 88.688 usec -> 2021-07-18T17:28:29.868.512.412 (XO: 37.868516165)

 - Block number: 4 starting at 2021-07-18T17:28:39.227.785.725 (XO: 47.227787199 - 47.228093201, t=37.2 degC)  Rank: 00080
   TM values: Max =   266  Min =  -321  Ave =    -4.55  Std =    30.73
   Min TM value:-321 at an offset of 149.763 usec -> 2021-07-18T17:28:39.227.935.488 (XO: 47.227936962)
   Max TM value:266 at an offset of 119.850 usec -> 2021-07-18T17:28:39.227.905.575 (XO: 47.227907050)
   Max dTM/dt [1/us]:2.44e+03 at an offset of 124.275 usec -> 2021-07-18T17:28:39.227.910.000 (XO: 47.227911475)
   Min dTM/dt [1/us]:-2.78e+03 at an offset of 121.713 usec -> 2021-07-18T17:28:39.227.907.437 (XO: 47.227908912)
