projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wip
[spider.git]
/
cmd
/
show
/
wwv.pl
diff --git
a/cmd/show/wwv.pl
b/cmd/show/wwv.pl
index ed5022d728d1e131dc62fa4e31bf7849b2feb6b7..fbb7fac32cb10705debe5979c2b513d71e276122 100644
(file)
--- a/
cmd/show/wwv.pl
+++ b/
cmd/show/wwv.pl
@@
-3,7
+3,7
@@
#
# Copyright (c) 1998 - Dirk Koopman G1TLH
#
#
# Copyright (c) 1998 - Dirk Koopman G1TLH
#
-#
$Id$
+#
#
my $self = shift;
#
my $self = shift;
@@
-26,8
+26,12
@@
while ($f = shift @f) { # next field
}
}
}
}
-$to = 10 if !$to;
+$from = 1 unless $from;
+$to = 5 unless $to;
-push @out, "Date Hour SFI A K Forecast Logger";
-push @out, Geomag::print($from, $to, $main::systime);
+push @out, $self->msg('wwv3');
+my @in = Geomag::search($from, $to, $main::systime);
+for (@in) {
+ push @out, Geomag::print_item($_);
+}
return (1, @out);
return (1, @out);