-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Jan 28 14:22:05 2022 UTC
-- File 20211003_161158_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 6.398514 to 48.903136
-each separately from 6s to 48s and from 189540us to 903136us.
   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, ...
      9.790737 in 1 packets: 18
      24.522319 in 1 packets: 36
      8.190410 in 1 packets: 54
MIU packet time from 2021-10-03T16:12:07.398.514.000 to 2021-10-03T16:12:49.903.136.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, ...
      9.790737 in 1 packets: 18
      24.522319 in 1 packets: 36
      8.190410 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 7.9053640 to 49.9052232
   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, ...
      9.9999665 in 1 packets: 18
      23.9999195 in 1 packets: 36
      7.9999732 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 36 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 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: 
      1 in 1 packets: 1
      2 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      3 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: 
      1 in 1 packets: 1
      2 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      3 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 20211003_161158_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:
      91 in 18 packets (all packets)  -- OK --
   10 MHz counter from 8.3038791 to 8.3041681
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.7907030  -- OK for SL --
   MIU time from 2021-10-03T16:12:07.398.514.000 to 2021-10-03T16:12:07.398.803.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.790737

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 18.0948711 to 18.0951601
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.5222390  -- OK for SL --
   MIU time from 2021-10-03T16:12:17.189.540.000 to 2021-10-03T16:12:17.189.829.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.522319

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 42.6173991 to 42.6176881
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.1903830  -- OK for SL --
   MIU time from 2021-10-03T16:12:41.712.148.000 to 2021-10-03T16:12:41.712.437.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.190410

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 50.8080711 to 50.8083601
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-10-03T16:12:49.902.847.000 to 2021-10-03T16:12:49.903.136.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 = 6, 32bit 10MHz counter = 8.303879100 corrected by 40bit 10MHz counter of 7.905364000 obtained at 1Hz counter of 6. Result: 6.398516415
--
   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-10-03T16:12:07.398.373.725
   Max 1st sample MIU time among all SL packets: 2021-10-03T16:12:49.902.995.725
   Min 1st sample XO time among all SL packets: 6.398376140
   Max 1st sample XO time among all SL packets: 48.902999695
   TM values from -294 to 255 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-10-03T16:12:07.398.373.725 (XO: 6.398376140 - 6.398682141, t=37.2 degC)  Rank: 00091
   TM values: Max =   255  Min =  -280  Ave =    -4.48  Std =    27.63
   Min TM value:-280 at an offset of 122.838 usec -> 2021-10-03T16:12:07.398.496.562 (XO: 6.398498978)
   Max TM value:255 at an offset of 122.588 usec -> 2021-10-03T16:12:07.398.496.312 (XO: 6.398498728)
   Max dTM/dt [1/us]:2.22e+03 at an offset of 125.238 usec -> 2021-10-03T16:12:07.398.498.962 (XO: 6.398501378)
   Min dTM/dt [1/us]:-2.75e+03 at an offset of 122.688 usec -> 2021-10-03T16:12:07.398.496.412 (XO: 6.398498828)

 - Block number: 2 starting at 2021-10-03T16:12:17.189.399.725 (XO: 16.189400950 - 16.189706951, t=37.2 degC)  Rank: 00076
   TM values: Max =   243  Min =  -232  Ave =    -4.62  Std =    19.92
   Min TM value:-232 at an offset of 110.663 usec -> 2021-10-03T16:12:17.189.510.387 (XO: 16.189511613)
   Max TM value:243 at an offset of 113.425 usec -> 2021-10-03T16:12:17.189.513.150 (XO: 16.189514375)
   Max dTM/dt [1/us]:1.83e+03 at an offset of 113.275 usec -> 2021-10-03T16:12:17.189.513.000 (XO: 16.189514225)
   Min dTM/dt [1/us]:-1.72e+03 at an offset of 99.025 usec -> 2021-10-03T16:12:17.189.498.750 (XO: 16.189499975)

 - Block number: 3 starting at 2021-10-03T16:12:41.712.007.725 (XO: 40.712011246 - 40.712317247, t=37.2 degC)  Rank: 00083
   TM values: Max =   243  Min =  -266  Ave =    -4.59  Std =    18.57
   Min TM value:-266 at an offset of 98.863 usec -> 2021-10-03T16:12:41.712.106.587 (XO: 40.712110109)
   Max TM value:243 at an offset of 98.588 usec -> 2021-10-03T16:12:41.712.106.312 (XO: 40.712109834)
   Max dTM/dt [1/us]:2.10e+03 at an offset of 96.538 usec -> 2021-10-03T16:12:41.712.104.262 (XO: 40.712107784)
   Min dTM/dt [1/us]:-2.32e+03 at an offset of 98.700 usec -> 2021-10-03T16:12:41.712.106.425 (XO: 40.712109946)

 - Block number: 4 starting at 2021-10-03T16:12:49.902.706.725 (XO: 48.902710694 - 48.903016695, t=37.2 degC)  Rank: 00077
   TM values: Max =   241  Min =  -294  Ave =    -4.59  Std =    30.59
   Min TM value:-294 at an offset of 156.863 usec -> 2021-10-03T16:12:49.902.863.588 (XO: 48.902867557)
   Max TM value:241 at an offset of 99.238 usec -> 2021-10-03T16:12:49.902.805.962 (XO: 48.902809932)
   Max dTM/dt [1/us]:2.36e+03 at an offset of 159.238 usec -> 2021-10-03T16:12:49.902.865.963 (XO: 48.902869932)
   Min dTM/dt [1/us]:-2.02e+03 at an offset of 156.651 usec -> 2021-10-03T16:12:49.902.863.375 (XO: 48.902867345)
