-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Dec 19 03:13:34 2021 UTC
-- File 20210817_023722_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 4.603028 to 41.869824
-each separately from 4s to 41s and from 201931us to 869824us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      11.598614 in 1 packets: 18
      25.667315 in 1 packets: 36
MIU packet time from 2021-08-17T02:37:29.603.028.000 to 2021-08-17T02:38:06.869.824.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      11.598614 in 1 packets: 18
      25.667315 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 4.9179634 to 41.9178408
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      11.9999603 in 1 packets: 18
      24.9999171 in 1 packets: 36
Temperature FPGA: 
      04 -> 49.8 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature XO: 
      C1 -> 37.2 degC in 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 packets (all packets)
Number of external events: 
      0 in 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20210817_023722_1227.dat, 3 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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 5.5209920 to 5.5212810
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.5985750  -- OK for SL --
   MIU time from 2021-08-17T02:37:29.603.028.000 to 2021-08-17T02:37:29.603.317.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.598614

 - 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 17.1198560 to 17.1201450
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 25.6672310  -- OK for SL --
   MIU time from 2021-08-17T02:37:41.201.931.000 to 2021-08-17T02:37:41.202.220.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 25.667315

 - 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 42.7873760 to 42.7876650
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-17T02:38:06.869.535.000 to 2021-08-17T02:38:06.869.824.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 45 XO calibration points at 1Hz counter from 0 to 44
   --- First point: 1Hz counter = 4, 32bit 10MHz counter = 5.520992000 corrected by 40bit 10MHz counter of 4.917963400 obtained at 1Hz counter of 4. Result: 4.603030530
--
   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.999996800
   Min 1st sample MIU time among all SL packets: 2021-08-17T02:37:29.602.887.725
   Max 1st sample MIU time among all SL packets: 2021-08-17T02:38:06.869.683.725
   Min 1st sample XO time among all SL packets: 4.602890254
   Max 1st sample XO time among all SL packets: 41.869686882
   TM values from -253 to 239 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-17T02:37:29.602.887.725 (XO: 4.602890254 - 4.603196255, t=37.2 degC)  Rank: 00084
   TM values: Max =   208  Min =  -253  Ave =    -4.64  Std =    21.39
   Min TM value:-253 at an offset of 114.163 usec -> 2021-08-17T02:37:29.603.001.887 (XO: 4.603004417)
   Max TM value:208 at an offset of 113.863 usec -> 2021-08-17T02:37:29.603.001.587 (XO: 4.603004117)
   Max dTM/dt [1/us]:2.09e+03 at an offset of 116.525 usec -> 2021-08-17T02:37:29.603.004.250 (XO: 4.603006780)
   Min dTM/dt [1/us]:-2.37e+03 at an offset of 113.975 usec -> 2021-08-17T02:37:29.603.001.700 (XO: 4.603004230)

 - Block number: 2 starting at 2021-08-17T02:37:41.201.790.725 (XO: 16.201792691 - 16.202098692, t=37.2 degC)  Rank: 00079
   TM values: Max =   203  Min =  -230  Ave =    -4.55  Std =    23.55
   Min TM value:-230 at an offset of 112.863 usec -> 2021-08-17T02:37:41.201.903.587 (XO: 16.201905554)
   Max TM value:203 at an offset of 110.725 usec -> 2021-08-17T02:37:41.201.901.450 (XO: 16.201903416)
   Max dTM/dt [1/us]:1.87e+03 at an offset of 115.213 usec -> 2021-08-17T02:37:41.201.905.937 (XO: 16.201907904)
   Min dTM/dt [1/us]:-2.21e+03 at an offset of 112.663 usec -> 2021-08-17T02:37:41.201.903.387 (XO: 16.201905354)

 - Block number: 3 starting at 2021-08-17T02:38:06.869.394.725 (XO: 41.869397881 - 41.869703882, t=37.2 degC)  Rank: 00082
   TM values: Max =   239  Min =  -241  Ave =    -4.68  Std =    23.76
   Min TM value:-241 at an offset of 98.588 usec -> 2021-08-17T02:38:06.869.493.312 (XO: 41.869496469)
   Max TM value:239 at an offset of 96.500 usec -> 2021-08-17T02:38:06.869.491.225 (XO: 41.869494381)
   Max dTM/dt [1/us]:1.95e+03 at an offset of 96.425 usec -> 2021-08-17T02:38:06.869.491.150 (XO: 41.869494306)
   Min dTM/dt [1/us]:-2.23e+03 at an offset of 98.488 usec -> 2021-08-17T02:38:06.869.493.212 (XO: 41.869496369)
