-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Dec  2 14:39:32 2021 UTC
-- File 20210801_090937_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 11.099164 to 56.076659
-each separately from 11s to 56s and from 18186us to 177387us.
   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, ...
      3.918733 in 1 packets: 18
      24.158623 in 1 packets: 36
      16.898983 in 1 packets: 54
MIU packet time from 2021-08-01T09:09:51.099.164.000 to 2021-08-01T09:10:36.076.659.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, ...
      3.918733 in 1 packets: 18
      24.158623 in 1 packets: 36
      16.898983 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 12.7772066 to 57.7770568
   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, ...
      3.9999867 in 1 packets: 18
      23.9999201 in 1 packets: 36
      16.9999434 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 36 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
      03 -> 51.1 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 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 20210801_090937_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:
      111 in 18 packets (all packets)  -- OK --
   10 MHz counter from 12.8763722 to 12.8766612
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 3.9187190  -- OK for SL --
   MIU time from 2021-08-01T09:09:51.099.164.000 to 2021-08-01T09:09:51.099.453.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 3.918733

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 16.7953802 to 16.7956692
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.1585430  -- OK for SL --
   MIU time from 2021-08-01T09:09:55.018.186.000 to 2021-08-01T09:09:55.018.475.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.158623

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 40.9542122 to 40.9545012
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.8989270  -- OK for SL --
   MIU time from 2021-08-01T09:10:19.177.098.000 to 2021-08-01T09:10:19.177.387.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.898983

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 57.8534282 to 57.8537172
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-01T09:10:36.076.370.000 to 2021-08-01T09:10:36.076.659.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 = 11, 32bit 10MHz counter = 12.876372200 corrected by 40bit 10MHz counter of 12.777206600 obtained at 1Hz counter of 11. Result: 11.099165927
--
   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.999996700 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-08-01T09:09:51.099.023.725
   Max 1st sample MIU time among all SL packets: 2021-08-01T09:10:36.076.518.725
   Min 1st sample XO time among all SL packets: 11.099025652
   Max 1st sample XO time among all SL packets: 56.076520378
   TM values from -246 to 402 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-01T09:09:51.099.023.725 (XO: 11.099025652 - 11.099331653, t=37.2 degC)  Rank: 00111
   TM values: Max =   402  Min =  -167  Ave =    -4.41  Std =    25.92
   Min TM value:-167 at an offset of 111.025 usec -> 2021-08-01T09:09:51.099.134.750 (XO: 11.099136677)
   Max TM value:402 at an offset of 110.563 usec -> 2021-08-01T09:09:51.099.134.287 (XO: 11.099136215)
   Max dTM/dt [1/us]:2.37e+03 at an offset of 253.013 usec -> 2021-08-01T09:09:51.099.276.738 (XO: 11.099278665)
   Min dTM/dt [1/us]:-3.83e+03 at an offset of 253.138 usec -> 2021-08-01T09:09:51.099.276.863 (XO: 11.099278790)

 - Block number: 2 starting at 2021-08-01T09:09:55.018.045.725 (XO: 15.018046685 - 15.018352686, t=37.2 degC)  Rank: 00079
   TM values: Max =   198  Min =  -230  Ave =    -4.42  Std =    21.17
   Min TM value:-230 at an offset of 119.788 usec -> 2021-08-01T09:09:55.018.165.512 (XO: 15.018166472)
   Max TM value:198 at an offset of 119.513 usec -> 2021-08-01T09:09:55.018.165.237 (XO: 15.018166197)
   Max dTM/dt [1/us]:1.66e+03 at an offset of 122.263 usec -> 2021-08-01T09:09:55.018.167.987 (XO: 15.018168947)
   Min dTM/dt [1/us]:-1.98e+03 at an offset of 119.638 usec -> 2021-08-01T09:09:55.018.165.362 (XO: 15.018166322)

 - Block number: 3 starting at 2021-08-01T09:10:19.176.957.725 (XO: 39.176959109 - 39.177265110, t=37.2 degC)  Rank: 00077
   TM values: Max =   209  Min =  -237  Ave =    -4.43  Std =    19.25
   Min TM value:-237 at an offset of 120.363 usec -> 2021-08-01T09:10:19.177.078.087 (XO: 39.177079472)
   Max TM value:209 at an offset of 120.088 usec -> 2021-08-01T09:10:19.177.077.812 (XO: 39.177079197)
   Max dTM/dt [1/us]:2.01e+03 at an offset of 122.750 usec -> 2021-08-01T09:10:19.177.080.475 (XO: 39.177081859)
   Min dTM/dt [1/us]:-2.17e+03 at an offset of 120.188 usec -> 2021-08-01T09:10:19.177.077.912 (XO: 39.177079297)

 - Block number: 4 starting at 2021-08-01T09:10:36.076.229.725 (XO: 56.076231377 - 56.076537378, t=37.2 degC)  Rank: 00078
   TM values: Max =   197  Min =  -246  Ave =    -4.47  Std =    18.97
   Min TM value:-246 at an offset of 118.863 usec -> 2021-08-01T09:10:36.076.348.587 (XO: 56.076350239)
   Max TM value:197 at an offset of 118.575 usec -> 2021-08-01T09:10:36.076.348.300 (XO: 56.076349952)
   Max dTM/dt [1/us]:2.07e+03 at an offset of 121.238 usec -> 2021-08-01T09:10:36.076.350.962 (XO: 56.076352614)
   Min dTM/dt [1/us]:-2.00e+03 at an offset of 118.688 usec -> 2021-08-01T09:10:36.076.348.412 (XO: 56.076350064)
