projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use WCY::r if recent enough and available
[spider.git]
/
cmd
/
show
/
muf.pl
diff --git
a/cmd/show/muf.pl
b/cmd/show/muf.pl
index 488ad8df8153172383c6879449eaccedacdca789..31bebfeec62b5c71b3d8765ca5fbaa0f81de0026 100644
(file)
--- a/
cmd/show/muf.pl
+++ b/
cmd/show/muf.pl
@@
-68,7
+68,12
@@
if ($lp) {
my ($hr1, $day, $month) = (gmtime($main::systime))[2,3,4];
$month++;
my $flux = Geomag::sfi;
my ($hr1, $day, $month) = (gmtime($main::systime))[2,3,4];
$month++;
my $flux = Geomag::sfi;
-my $ssn = Minimuf::spots($flux);
+my $ssn;
+if ($main::systime - $WCY::date < 86400) {
+ $ssn = $WCY::r
+} else {
+ $ssn = Minimuf::spots($flux);
+}
my $theta; # path angle (rad)
$theta=$lon1-$lon2;
my $theta; # path angle (rad)
$theta=$lon1-$lon2;