summaryrefslogtreecommitdiff
path: root/lib/ft8.f90
diff options
context:
space:
mode:
authorChristoph Berg <christoph.berg@credativ.de>2019-03-11 14:19:23 +0100
committerChristoph Berg <christoph.berg@credativ.de>2019-03-11 14:19:23 +0100
commit200de07a95209a55d6019ba87f0abc78d302bf4c (patch)
tree3b2922eb5d89b01ad214cae492e871c3bfb5df18 /lib/ft8.f90
parente0737c56c1e384e05064a0c6e1ac46979371041b (diff)
New upstream version 2.0.1+repackupstream/2.0.1+repack
Diffstat (limited to 'lib/ft8.f90')
-rw-r--r--lib/ft8.f9049
1 files changed, 49 insertions, 0 deletions
diff --git a/lib/ft8.f90 b/lib/ft8.f90
new file mode 100644
index 00000000..aacff17d
--- /dev/null
+++ b/lib/ft8.f90
@@ -0,0 +1,49 @@
+program ft8
+
+ integer*2 iwave(15*12000)
+ logical lft8apon,lapcqonly,nagain,newdat
+ character*12 mycall12,hiscall12
+ character*6 hisgrid6
+ character arg*8,infile*80
+ integer ihdr(11)
+
+ nargs=iargc()
+ if(nargs.lt.3) then
+ print*,'Usage: ft8 nfa nfb ndepth infile'
+ print*,'Example: ft8 200 4000 3 181201_180315.wav'
+ go to 999
+ endif
+ call getarg(1,arg)
+ read(arg,*) nfa
+ call getarg(2,arg)
+ read(arg,*) nfb
+ call getarg(3,arg)
+ read(arg,*) ndepth
+ nfiles=nargs-3
+
+ nQSOProgress=0
+ nfqso=1500
+ nftx=0
+ newdat=.true.
+ nutc=0
+ ncontest=0
+ nagain=.false.
+ lft8apon=.false.
+ lapcqonly=.false.
+ napwid=75
+ mycall12='K1ABC'
+ hiscall12='W9XYZ'
+ hisgrid6='EN37wb'
+
+ do ifile=1,nfiles
+ call getarg(3+ifile,infile)
+ open(10,file=infile,status='old',access='stream')
+ read(10) ihdr,iwave
+ close(10)
+
+ call ft8dec(iwave,nQSOProgress,nfqso,nftx,newdat, &
+ nutc,nfa,nfb,ndepth,ncontest,nagain,lft8apon,lapcqonly, &
+ napwid,mycall12,hiscall12,hisgrid6)
+ enddo
+
+999 end program ft8