-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Nov 25 18:22:03 2021 UTC
-- File 20210724_214334_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 7.513407 to 54.762606
-each separately from 7s to 54s and from 33055us to 893606us.
   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.379621 in 1 packets: 18
      7.139449 in 1 packets: 36
      23.728973 in 1 packets: 54
MIU packet time from 2021-07-24T21:43:44.513.407.000 to 2021-07-24T21:44:31.762.606.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.379621 in 1 packets: 18
      7.139449 in 1 packets: 36
      23.728973 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 8.9163929 to 55.9162355
   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, ...
      15.9999464 in 1 packets: 18
      7.9999732 in 1 packets: 36
      22.9999230 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 72 packets (all packets)
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 20210724_214334_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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.4298008 to 9.4300898
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.3795670  -- OK for SL --
   MIU time from 2021-07-24T21:43:44.513.407.000 to 2021-07-24T21:43:44.513.696.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.379621

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 25.8096568 to 25.8099458
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.1394230  -- OK for SL --
   MIU time from 2021-07-24T21:44:00.893.317.000 to 2021-07-24T21:44:00.893.606.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.139449

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.9493688 to 32.9496578
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.7288950  -- OK for SL --
   MIU time from 2021-07-24T21:44:08.033.055.000 to 2021-07-24T21:44:08.033.344.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.728973

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 56.6785528 to 56.6788418
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-24T21:44:31.762.317.000 to 2021-07-24T21:44:31.762.606.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 = 7, 32bit 10MHz counter = 9.429800800 corrected by 40bit 10MHz counter of 8.916392900 obtained at 1Hz counter of 7. Result: 7.513409646
--
   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-24T21:43:44.513.266.725
   Max 1st sample MIU time among all SL packets: 2021-07-24T21:44:31.762.465.725
   Min 1st sample XO time among all SL packets: 7.513269370
   Max 1st sample XO time among all SL packets: 54.762468541
   TM values from -306 to 276 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-24T21:43:44.513.266.725 (XO: 7.513269370 - 7.513575371, t=37.2 degC)  Rank: 00082
   TM values: Max =   247  Min =  -306  Ave =    -4.53  Std =    26.67
   Min TM value:-306 at an offset of 86.400 usec -> 2021-07-24T21:43:44.513.353.125 (XO: 7.513355770)
   Max TM value:247 at an offset of 86.125 usec -> 2021-07-24T21:43:44.513.352.850 (XO: 7.513355495)
   Max dTM/dt [1/us]:2.40e+03 at an offset of 88.800 usec -> 2021-07-24T21:43:44.513.355.525 (XO: 7.513358170)
   Min dTM/dt [1/us]:-2.73e+03 at an offset of 86.250 usec -> 2021-07-24T21:43:44.513.352.975 (XO: 7.513355620)

 - Block number: 2 starting at 2021-07-24T21:44:00.893.176.725 (XO: 23.893180262 - 23.893486263, t=37.2 degC)  Rank: 00077
   TM values: Max =   246  Min =  -274  Ave =    -4.50  Std =    23.46
   Min TM value:-274 at an offset of 101.200 usec -> 2021-07-24T21:44:00.893.277.925 (XO: 23.893281462)
   Max TM value:246 at an offset of 99.038 usec -> 2021-07-24T21:44:00.893.275.762 (XO: 23.893279300)
   Max dTM/dt [1/us]:2.61e+03 at an offset of 103.588 usec -> 2021-07-24T21:44:00.893.280.312 (XO: 23.893283850)
   Min dTM/dt [1/us]:-2.40e+03 at an offset of 101.050 usec -> 2021-07-24T21:44:00.893.277.775 (XO: 23.893281312)

 - Block number: 3 starting at 2021-07-24T21:44:08.032.914.725 (XO: 31.032916134 - 31.033222135, t=37.2 degC)  Rank: 00076
   TM values: Max =   262  Min =  -270  Ave =    -4.51  Std =    27.30
   Min TM value:-270 at an offset of 125.313 usec -> 2021-07-24T21:44:08.033.040.037 (XO: 31.033041447)
   Max TM value:262 at an offset of 122.738 usec -> 2021-07-24T21:44:08.033.037.462 (XO: 31.033038872)
   Max dTM/dt [1/us]:2.81e+03 at an offset of 125.375 usec -> 2021-07-24T21:44:08.033.040.100 (XO: 31.033041509)
   Min dTM/dt [1/us]:-2.45e+03 at an offset of 122.863 usec -> 2021-07-24T21:44:08.033.037.587 (XO: 31.033038997)

 - Block number: 4 starting at 2021-07-24T21:44:31.762.176.725 (XO: 54.762179540 - 54.762485541, t=37.2 degC)  Rank: 00079
   TM values: Max =   276  Min =  -264  Ave =    -4.51  Std =    21.77
   Min TM value:-264 at an offset of 54.238 usec -> 2021-07-24T21:44:31.762.230.962 (XO: 54.762233778)
   Max TM value:276 at an offset of 53.988 usec -> 2021-07-24T21:44:31.762.230.712 (XO: 54.762233528)
   Max dTM/dt [1/us]:2.67e+03 at an offset of 51.938 usec -> 2021-07-24T21:44:31.762.228.662 (XO: 54.762231478)
   Min dTM/dt [1/us]:-2.47e+03 at an offset of 54.050 usec -> 2021-07-24T21:44:31.762.230.775 (XO: 54.762233590)
