-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Jan  8 18:07:15 2024 UTC
-- File 20230721_210712_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 10.838668 to 48.138682
-each separately from 10s to 48s and from 138393us to 838957us.
   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, ...
      14.479489 in 1 packets: 18
      11.279698 in 1 packets: 36
      11.539671 in 1 packets: 54
MIU packet time from 2023-07-21T21:07:25.838.668.000 to 2023-07-21T21:08:03.138.682.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, ...
      14.479489 in 1 packets: 18
      11.279698 in 1 packets: 36
      11.539671 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 11.7804199 to 49.7802960
   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, ...
      14.9999511 in 1 packets: 18
      10.9999641 in 1 packets: 36
      11.9999609 in 1 packets: 54
Temperature FPGA: 
      FF -> 56.3 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      FE -> 57.6 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Temperature XO: 
      C6 -> 45.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 20230721_210712_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 12.6190902 to 12.6193792
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.4794390  -- OK for SL --
   MIU time from 2023-07-21T21:07:25.838.668.000 to 2023-07-21T21:07:25.838.957.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.479489

 - 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 27.0988182 to 27.0991072
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.2796630  -- OK for SL --
   MIU time from 2023-07-21T21:07:40.318.446.000 to 2023-07-21T21:07:40.318.735.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.279698

 - 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 38.3787702 to 38.3790592
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.5396310  -- OK for SL --
   MIU time from 2023-07-21T21:07:51.598.433.000 to 2023-07-21T21:07:51.598.722.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.539671

 - 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.9186902 to 49.9189792
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-07-21T21:08:03.138.393.000 to 2023-07-21T21:08:03.138.682.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 = 10, 32bit 10MHz counter = 12.619090200 corrected by 40bit 10MHz counter of 11.780419900 obtained at 1Hz counter of 10. Result: 10.838673068
--
   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.999996700 - 0.999996800
   Min 1st sample MIU time among all SL packets: 2023-07-21T21:07:25.838.527.725
   Max 1st sample MIU time among all SL packets: 2023-07-21T21:08:03.138.541.725
   Min 1st sample XO time among all SL packets: 10.838532792
   Max 1st sample XO time among all SL packets: 48.138543382
   TM values from -333 to 254 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-07-21T21:07:25.838.527.725 (XO: 10.838532792 - 10.838838793, t=45.2 degC)  Rank: 00082
   TM values: Max =   221  Min =  -333  Ave =    -4.30  Std =    27.39
   Min TM value:-333 at an offset of 123.113 usec -> 2023-07-21T21:07:25.838.650.837 (XO: 10.838655905)
   Max TM value:221 at an offset of 125.563 usec -> 2023-07-21T21:07:25.838.653.287 (XO: 10.838658355)
   Max dTM/dt [1/us]:2.76e+03 at an offset of 125.400 usec -> 2023-07-21T21:07:25.838.653.125 (XO: 10.838658193)
   Min dTM/dt [1/us]:-3.10e+03 at an offset of 122.975 usec -> 2023-07-21T21:07:25.838.650.700 (XO: 10.838655768)

 - Block number: 2 starting at 2023-07-21T21:07:40.318.305.725 (XO: 25.318307944 - 25.318613945, t=45.2 degC)  Rank: 00076
   TM values: Max =   254  Min =  -284  Ave =    -4.48  Std =    36.69
   Min TM value:-284 at an offset of 109.300 usec -> 2023-07-21T21:07:40.318.415.025 (XO: 25.318417244)
   Max TM value:254 at an offset of 114.163 usec -> 2023-07-21T21:07:40.318.419.887 (XO: 25.318422106)
   Max dTM/dt [1/us]:1.91e+03 at an offset of 194.138 usec -> 2023-07-21T21:07:40.318.499.863 (XO: 25.318502082)
   Min dTM/dt [1/us]:-2.12e+03 at an offset of 97.875 usec -> 2023-07-21T21:07:40.318.403.600 (XO: 25.318405819)

 - Block number: 3 starting at 2023-07-21T21:07:51.598.292.725 (XO: 36.598296799 - 36.598602800, t=45.2 degC)  Rank: 00076
   TM values: Max =   218  Min =  -247  Ave =    -4.46  Std =    33.43
   Min TM value:-247 at an offset of 196.151 usec -> 2023-07-21T21:07:51.598.488.875 (XO: 36.598492950)
   Max TM value:218 at an offset of 209.876 usec -> 2023-07-21T21:07:51.598.502.600 (XO: 36.598506675)
   Max dTM/dt [1/us]:2.14e+03 at an offset of 123.250 usec -> 2023-07-21T21:07:51.598.415.975 (XO: 36.598420050)
   Min dTM/dt [1/us]:-2.32e+03 at an offset of 196.051 usec -> 2023-07-21T21:07:51.598.488.775 (XO: 36.598492850)

 - Block number: 4 starting at 2023-07-21T21:08:03.138.252.725 (XO: 48.138254381 - 48.138560382, t=45.2 degC)  Rank: 00078
   TM values: Max =   242  Min =  -317  Ave =    -4.46  Std =    27.11
   Min TM value:-317 at an offset of 121.613 usec -> 2023-07-21T21:08:03.138.374.337 (XO: 48.138375994)
   Max TM value:242 at an offset of 119.175 usec -> 2023-07-21T21:08:03.138.371.900 (XO: 48.138373557)
   Max dTM/dt [1/us]:2.45e+03 at an offset of 121.663 usec -> 2023-07-21T21:08:03.138.374.387 (XO: 48.138376044)
   Min dTM/dt [1/us]:-2.82e+03 at an offset of 119.275 usec -> 2023-07-21T21:08:03.138.372.000 (XO: 48.138373657)
