mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 05:38:46 -05:00
Allow oddball file names for input to ft4d.
This commit is contained in:
parent
43c38de884
commit
580fce8320
@ -54,14 +54,14 @@ program ft4d
|
||||
|
||||
do ifile=iarg,nargs
|
||||
call getarg(ifile,infile)
|
||||
j2=index(infile,'.wav')
|
||||
open(10,file=infile,status='old',access='stream')
|
||||
read(10) ihdr
|
||||
npts=min(ihdr(11)/2,180000)
|
||||
read(10) iwave(1:npts)
|
||||
close(10)
|
||||
cdatetime=infile(j2-13:j2)//'000'
|
||||
|
||||
cdatetime=infile
|
||||
j2=index(infile,'.wav')
|
||||
if(j2.ge.14) cdatetime=infile(j2-13:j2)//'000'
|
||||
istep=3456
|
||||
nsteps=(npts-52800)/istep + 1
|
||||
do n=1,nsteps
|
||||
|
Loading…
Reference in New Issue
Block a user