-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Dec  5 06:01:02 2021 UTC
-- File 20210802_180349_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 1.474124 to 47.334438
-each separately from 1s to 47s and from 334149us to 894530us.
   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, ...
      16.869799 in 1 packets: 18
      23.549740 in 1 packets: 36
      5.439619 in 1 packets: 54
MIU packet time from 2021-08-02T18:03:53.474.124.000 to 2021-08-02T18:04:39.334.438.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, ...
      16.869799 in 1 packets: 18
      23.549740 in 1 packets: 36
      5.439619 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 2.8845127 to 48.8843602
   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, ...
      16.9999437 in 1 packets: 18
      22.9999237 in 1 packets: 36
      5.9999801 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
      03 -> 51.1 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
      05 -> 48.5 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 18 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 18 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 20210802_180349_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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.3586378 to 3.3589268
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.8697430  -- OK for SL --
   MIU time from 2021-08-02T18:03:53.474.124.000 to 2021-08-02T18:03:53.474.413.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.869799

 - 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:
      86 in 18 packets (all packets)  -- OK --
   10 MHz counter from 20.2286698 to 20.2289588
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.5496630  -- OK for SL --
   MIU time from 2021-08-02T18:04:10.344.212.000 to 2021-08-02T18:04:10.344.501.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.549740

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 43.7786218 to 43.7789108
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.4395990  -- OK for SL --
   MIU time from 2021-08-02T18:04:33.894.241.000 to 2021-08-02T18:04:33.894.530.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.439619

 - 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 49.2185098 to 49.2187988
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-02T18:04:39.334.149.000 to 2021-08-02T18:04:39.334.438.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 = 1, 32bit 10MHz counter = 3.358637800 corrected by 40bit 10MHz counter of 2.884512700 obtained at 1Hz counter of 1. Result: 1.474126665
--
   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-02T18:03:53.473.983.725
   Max 1st sample MIU time among all SL packets: 2021-08-02T18:04:39.334.297.725
   Min 1st sample XO time among all SL packets: 1.473986389
   Max 1st sample XO time among all SL packets: 47.334299428
   TM values from -272 to 264 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-02T18:03:53.473.983.725 (XO: 1.473986389 - 1.474292390, t=37.2 degC)  Rank: 00076
   TM values: Max =   263  Min =  -271  Ave =    -4.39  Std =    28.59
   Min TM value:-271 at an offset of 112.513 usec -> 2021-08-02T18:03:53.474.096.237 (XO: 1.474098902)
   Max TM value:263 at an offset of 114.975 usec -> 2021-08-02T18:03:53.474.098.700 (XO: 1.474101365)
   Max dTM/dt [1/us]:2.25e+03 at an offset of 110.275 usec -> 2021-08-02T18:03:53.474.094.000 (XO: 1.474096665)
   Min dTM/dt [1/us]:-2.46e+03 at an offset of 112.363 usec -> 2021-08-02T18:03:53.474.096.087 (XO: 1.474098752)

 - Block number: 2 starting at 2021-08-02T18:04:10.344.071.725 (XO: 18.344074295 - 18.344380296, t=37.2 degC)  Rank: 00086
   TM values: Max =   223  Min =  -264  Ave =    -4.43  Std =    24.33
   Min TM value:-264 at an offset of 125.050 usec -> 2021-08-02T18:04:10.344.196.775 (XO: 18.344199345)
   Max TM value:223 at an offset of 127.713 usec -> 2021-08-02T18:04:10.344.199.437 (XO: 18.344202008)
   Max dTM/dt [1/us]:1.92e+03 at an offset of 127.488 usec -> 2021-08-02T18:04:10.344.199.212 (XO: 18.344201783)
   Min dTM/dt [1/us]:-2.23e+03 at an offset of 124.888 usec -> 2021-08-02T18:04:10.344.196.612 (XO: 18.344199183)

 - Block number: 3 starting at 2021-08-02T18:04:33.894.100.725 (XO: 41.894104376 - 41.894410377, t=37.2 degC)  Rank: 00082
   TM values: Max =   264  Min =  -266  Ave =    -4.52  Std =    22.99
   Min TM value:-266 at an offset of 126.825 usec -> 2021-08-02T18:04:33.894.227.550 (XO: 41.894231201)
   Max TM value:264 at an offset of 124.700 usec -> 2021-08-02T18:04:33.894.225.425 (XO: 41.894229076)
   Max dTM/dt [1/us]:2.02e+03 at an offset of 129.138 usec -> 2021-08-02T18:04:33.894.229.862 (XO: 41.894233513)
   Min dTM/dt [1/us]:-2.36e+03 at an offset of 126.675 usec -> 2021-08-02T18:04:33.894.227.400 (XO: 41.894231051)

 - Block number: 4 starting at 2021-08-02T18:04:39.334.008.725 (XO: 47.334010427 - 47.334316428, t=37.2 degC)  Rank: 00078
   TM values: Max =   239  Min =  -272  Ave =    -4.39  Std =    22.78
   Min TM value:-272 at an offset of 126.088 usec -> 2021-08-02T18:04:39.334.134.812 (XO: 47.334136515)
   Max TM value:239 at an offset of 123.825 usec -> 2021-08-02T18:04:39.334.132.550 (XO: 47.334134253)
   Max dTM/dt [1/us]:1.86e+03 at an offset of 123.688 usec -> 2021-08-02T18:04:39.334.132.412 (XO: 47.334134115)
   Min dTM/dt [1/us]:-2.20e+03 at an offset of 125.925 usec -> 2021-08-02T18:04:39.334.134.650 (XO: 47.334136353)
