From 941c9f0ab7d73e6a7f1380cdd55c117267d7844f Mon Sep 17 00:00:00 2001 From: H Plato Date: Sun, 2 Sep 2018 11:29:03 -0600 Subject: [PATCH] remove some debug statements --- code/common/calc_eto.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/common/calc_eto.pl b/code/common/calc_eto.pl index 3460e3c38..02b084df0 100644 --- a/code/common/calc_eto.pl +++ b/code/common/calc_eto.pl @@ -770,7 +770,7 @@ sub writeResults { #HP TODO This will determine if a 2nd, 3rd or 4th time is required. $times = 1 if ( ( $aET / $minRunmm ) > 1 ); #if the minium threshold is met, then run at least once. $times = int( max( min( $aET / $maxRunmm, 4 ), $times ) ); # int(.999999) = 0 - print "[calc_eto] DB: times=$times aET=$aET minRunm=$minRunmm maxRunm=$maxRunmm\n"; #if ($debug); + print "[calc_eto] DB: times=$times aET=$aET minRunm=$minRunmm maxRunm=$maxRunmm\n" if ($debug); print "E: aET[$x] = $aET (" . $aET / $maxRunmm . ") // mm/Day\n" if ($debug); print "E: times = $times (max " . max( min( $aET / $maxRunmm, 4 ), $times ) . "/min " @@ -853,7 +853,7 @@ sub writeResults { @availTimes = ($sun->{set} - sum(@runTime) / 60, $sun->{set} + 60, $sun->{set} + 120, $sun->{set} - (sum(@runTime) / 60) - 60 ); } - print "[times=$times, sun->{rise}=" . $sun->{rise} . " sum=" . sum(@runTime) / 60 . "]\n"; # if ($debug); + print "[times=$times, sun->{rise}=" . $sun->{rise} . " sum=" . sum(@runTime) / 60 . "]\n" if ($debug); for ( my $i = 0; $i < $times; $i++ ) { $startTime[$i] = int( $availTimes[$i] );