#
# Translated and modified for my own purposes by Dirk Koopman G1TLH
#
+# as fixed by Steve Franke K9AN
+#
# Copyright (c) 1999 Dirk Koopman G1TLH
#
# The original copyright:-
$noise);
use strict;
+
+use vars qw($VERSION $BRANCH);
+$VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ );
+$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/ || (0,0));
+$main::build += $VERSION;
+$main::branch += $BRANCH;
+
use vars qw($pi $d2r $r2d $halfpi $pi2 $VOFL $R $hE $hF $GAMMA $LN10
$MINBETA $BOLTZ $NTEMP $DELTAF $MPATH $GLOSS $SLOSS
$noise);
# Calculate the E-layer critical frequency and MUF.
$fcE = 0;
- $psi = zenith($dist, $lat1, $lon1, $b2, $b1, $lats, $lons);
+ $psi = zenith($dist, $lat1, $lon1, $b1, $b2, $lats, $lons);
$ftemp = cos($psi);
$fcE = .9 * pow((180. + 1.44 * $ssn) * $ftemp, .25) if ($ftemp > 0);
$fcE = .005 * $ssn if ($fcE < .005 * $ssn);
$s = 0 if $s < 0;
my $plus = (($l / 6) >= $s + 0.5) ? '+' : ' ';
- return "$c2\S$s$plus";
+ return "$c2". "S$s$plus";
}
1;