mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-30 13:22:26 -04:00
Suppressed duplicate decodes must also be at the same frequency.
This commit is contained in:
parent
2af2d8131d
commit
f11b38fb28
@ -9,6 +9,7 @@ subroutine display(nkeep,ftol)
|
|||||||
real freqkHz(MAXLINES)
|
real freqkHz(MAXLINES)
|
||||||
integer utc(MAXLINES),utc2(MX),utcz
|
integer utc(MAXLINES),utc2(MX),utcz
|
||||||
real*8 f0
|
real*8 f0
|
||||||
|
save
|
||||||
|
|
||||||
out0=' '
|
out0=' '
|
||||||
rewind(26)
|
rewind(26)
|
||||||
@ -134,8 +135,9 @@ subroutine display(nkeep,ftol)
|
|||||||
index(livecq,' CQH ').gt.0) write(19,1029) livecq
|
index(livecq,' CQH ').gt.0) write(19,1029) livecq
|
||||||
1029 format(a58)
|
1029 format(a58)
|
||||||
|
|
||||||
! Suppress listing duplicate (same time, same decoded message)
|
! Suppress listing duplicate (same time, decoded message, and frequency)
|
||||||
if(out(14:17).ne.out0(14:17) .or. out(26:50).ne.out0(26:50)) then
|
if(out(14:17).ne.out0(14:17) .or. out(26:50).ne.out0(26:50) .or. &
|
||||||
|
out(1:3).ne.out0(1:3)) then
|
||||||
write(*,1030) out !Messages
|
write(*,1030) out !Messages
|
||||||
1030 format('@',a52)
|
1030 format('@',a52)
|
||||||
out0=out
|
out0=out
|
||||||
|
@ -38,6 +38,7 @@ subroutine q65b(nutc,nqd,nxant,fcenter,nfcal,nfsample,ikhz,mousedf,ntol,xpol, &
|
|||||||
data nutc00/-1/,msg00/' '/
|
data nutc00/-1/,msg00/' '/
|
||||||
save
|
save
|
||||||
|
|
||||||
|
if(newdat.eq.1) nutc00=-1
|
||||||
open(9,file='wsjtx_dir.txt',status='old')
|
open(9,file='wsjtx_dir.txt',status='old')
|
||||||
read(9,'(a)') wsjtx_dir !Establish the working directory
|
read(9,'(a)') wsjtx_dir !Establish the working directory
|
||||||
close(9)
|
close(9)
|
||||||
@ -174,13 +175,15 @@ subroutine q65b(nutc,nqd,nxant,fcenter,nfcal,nfsample,ikhz,mousedf,ntol,xpol, &
|
|||||||
':',cp,cmode
|
':',cp,cmode
|
||||||
1014 format(f8.3,i5,3i3,f5.1,i4,i3,i4,i5.4,4x,a22,1x,2a1,2x,a2)
|
1014 format(f8.3,i5,3i3,f5.1,i4,i3,i4,i5.4,4x,a22,1x,2a1,2x,a2)
|
||||||
|
|
||||||
! Suppress writing duplicates (same time, same decoded message) to map65_rx.log
|
! Suppress writing duplicates (same time, decoded message, and frequency)
|
||||||
if(nutc.ne.nutc00 .or. msg0(1:28).ne.msg00) then
|
! to map65_rx.log
|
||||||
|
if(nutc.ne.nutc00 .or. msg0(1:28).ne.msg00 .or. freq1.ne.freq1_00) then
|
||||||
! Write to file map65_rx.log:
|
! Write to file map65_rx.log:
|
||||||
write(21,1110) freq1,ndf,xdt0,npol,nsnr0,nutc,msg0(1:28),cq0
|
write(21,1110) freq1,ndf,xdt0,npol,nsnr0,nutc,msg0(1:28),cq0
|
||||||
1110 format(f8.3,i5,f5.1,2i4,i5.4,2x,a28,': A',2x,a3)
|
1110 format(f8.3,i5,f5.1,2i4,i5.4,2x,a28,': A',2x,a3)
|
||||||
nutc00=nutc
|
nutc00=nutc
|
||||||
msg00=msg0(1:28)
|
msg00=msg0(1:28)
|
||||||
|
freq1_00=freq1
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user