-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar  3 20:32:19 2022 UTC
-- File 20220105_145032_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 2.845918 to 53.445869
-each separately from 2s to 53s and from 445580us to 891207us.
   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, ...
      21.044711 in 1 packets: 18
      11.834632 in 1 packets: 36
      17.719452 in 1 packets: 54
MIU packet time from 2022-01-05T14:50:37.845.918.000 to 2022-01-05T14:51:28.445.869.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, ...
      21.044711 in 1 packets: 18
      11.834632 in 1 packets: 36
      17.719452 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 3.7830856 to 54.7829109
   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.9999280 in 1 packets: 18
      11.9999589 in 1 packets: 36
      17.9999384 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 72 packets (all packets)
Temperature XO: 
      C0 -> 35.6 degC in 72 packets (all packets)
Temperature ant 3: 
      02 -> 100.7 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      01 -> 108.0 degC in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature ant 4: 
      01 -> 108.0 degC in 72 packets (all packets)
Number of external events: 
      0 in 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      2 in 36 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, ...
Number of generated alerts: 
      0 in 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      3 in 36 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, ...
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 20220105_145032_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:
      60 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.6290041 to 4.6292931
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.0446390  -- OK for SL --
   MIU time from 2022-01-05T14:50:37.845.918.000 to 2022-01-05T14:50:37.846.207.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.044711

 - 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:
      155 in 18 packets (all packets)  -- OK --
   10 MHz counter from 25.6739321 to 25.6742211
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.8345910  -- OK for SL --
   MIU time from 2022-01-05T14:50:58.890.918.000 to 2022-01-05T14:50:58.891.207.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.834632

 - 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:
      56 in 18 packets (all packets)  -- OK --
   10 MHz counter from 37.5088121 to 37.5091011
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.7193910  -- OK for SL --
   MIU time from 2022-01-05T14:51:10.725.839.000 to 2022-01-05T14:51:10.726.128.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.719452

 - 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:
      51 in 18 packets (all packets)  -- OK --
   10 MHz counter from 55.2284921 to 55.2287811
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-05T14:51:28.445.580.000 to 2022-01-05T14:51:28.445.869.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 = 2, 32bit 10MHz counter = 4.629004100 corrected by 40bit 10MHz counter of 3.783085600 obtained at 1Hz counter of 2. Result: 2.845921376
--
   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.999996600
   Min 1st sample MIU time among all SL packets: 2022-01-05T14:50:37.845.777.725
   Max 1st sample MIU time among all SL packets: 2022-01-05T14:51:28.445.728.725
   Min 1st sample XO time among all SL packets: 2.845781101
   Max 1st sample XO time among all SL packets: 53.445731440
   TM values from -1267 to 755 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-05T14:50:37.845.777.725 (XO: 2.845781101 - 2.846087102, t=35.6 degC)  Rank: 00060
   TM values: Max =   132  Min =  -160  Ave =    -4.49  Std =    13.58
   Min TM value:-160 at an offset of 126.550 usec -> 2022-01-05T14:50:37.845.904.275 (XO: 2.845907651)
   Max TM value:132 at an offset of 126.175 usec -> 2022-01-05T14:50:37.845.903.900 (XO: 2.845907276)
   Max dTM/dt [1/us]:1.34e+03 at an offset of 128.775 usec -> 2022-01-05T14:50:37.845.906.500 (XO: 2.845909876)
   Min dTM/dt [1/us]:-1.25e+03 at an offset of 128.575 usec -> 2022-01-05T14:50:37.845.906.300 (XO: 2.845909676)

 - Block number: 2 starting at 2022-01-05T14:50:58.890.777.725 (XO: 23.890781254 - 23.891087255, t=35.6 degC)  Rank: 00155
   TM values: Max =   755  Min = -1267  Ave =    -4.52  Std =    47.07
   Min TM value:-1267 at an offset of 89.625 usec -> 2022-01-05T14:50:58.890.867.350 (XO: 23.890870879)
   Max TM value:755 at an offset of 89.900 usec -> 2022-01-05T14:50:58.890.867.625 (XO: 23.890871154)
   Max dTM/dt [1/us]:9.35e+03 at an offset of 89.725 usec -> 2022-01-05T14:50:58.890.867.450 (XO: 23.890870979)
   Min dTM/dt [1/us]:-9.25e+03 at an offset of 89.563 usec -> 2022-01-05T14:50:58.890.867.287 (XO: 23.890870816)

 - Block number: 3 starting at 2022-01-05T14:51:10.725.698.725 (XO: 35.725701792 - 35.726007793, t=35.6 degC)  Rank: 00056
   TM values: Max =   139  Min =  -185  Ave =    -4.53  Std =    17.67
   Min TM value:-185 at an offset of 127.013 usec -> 2022-01-05T14:51:10.725.825.737 (XO: 35.725828805)
   Max TM value:139 at an offset of 129.400 usec -> 2022-01-05T14:51:10.725.828.125 (XO: 35.725831193)
   Max dTM/dt [1/us]:1.36e+03 at an offset of 129.225 usec -> 2022-01-05T14:51:10.725.827.950 (XO: 35.725831018)
   Min dTM/dt [1/us]:-1.46e+03 at an offset of 129.038 usec -> 2022-01-05T14:51:10.725.827.762 (XO: 35.725830830)

 - Block number: 4 starting at 2022-01-05T14:51:28.445.439.725 (XO: 53.445442440 - 53.445748441, t=35.6 degC)  Rank: 00051
   TM values: Max =   123  Min =  -168  Ave =    -4.49  Std =    13.75
   Min TM value:-168 at an offset of 102.900 usec -> 2022-01-05T14:51:28.445.542.625 (XO: 53.445545340)
   Max TM value:123 at an offset of 102.525 usec -> 2022-01-05T14:51:28.445.542.250 (XO: 53.445544965)
   Max dTM/dt [1/us]:1.20e+03 at an offset of 105.163 usec -> 2022-01-05T14:51:28.445.544.887 (XO: 53.445547602)
   Min dTM/dt [1/us]:-1.20e+03 at an offset of 102.638 usec -> 2022-01-05T14:51:28.445.542.362 (XO: 53.445545077)
