added new DXUser with homemade data->ref and ref->data routines
[spider.git] / cmd / show / wwv.pl
index 07a0259a34af5939b10a3d223f1fd763a4e31bba..eb8d517bff9caed349809acefe210ef644144997 100644 (file)
@@ -26,7 +26,8 @@ while ($f = shift @f) {                 # next field
        }
 }
 
-$to = 10 if !$to;
+$from = 1 unless $from;
+$to = 10 unless $to;
 
 push @out, "Date        Hour   SFI   A   K Forecast                               Logger";
 my @in = Geomag::search($from, $to, $main::systime);