Subversion Repositories public iLand

Rev

Rev 779 | Rev 1103 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 779 Rev 1057
Line 87... Line 87...
87
        }
87
        }
88
    }
88
    }
89
    day_start -= 10; // three-week-floating average: subtract 10 days
89
    day_start -= 10; // three-week-floating average: subtract 10 days
90
    day_stop -= 10;
90
    day_stop -= 10;
91
    if (day_start < -1 || day_stop<-1)
91
    if (day_start < -1 || day_stop<-1)
92
        throw IException(QString("Phenology::calculation(): was not able to determine the length of the vegetation period for group %1." ).arg(id()));
-
 
-
 
92
        throw IException(QString("Phenology::calculation(): was not able to determine the length of the vegetation period for group %1. climate table: '%2'." ).arg(id()).arg(mClimate->name()));
93
    if (logLevelDebug())
93
    if (logLevelDebug())
94
        qDebug() << "Jolly-phenology. start" << mClimate->dayOfYear(day_start)->toString() << "stop" << mClimate->dayOfYear(day_stop)->toString();
94
        qDebug() << "Jolly-phenology. start" << mClimate->dayOfYear(day_start)->toString() << "stop" << mClimate->dayOfYear(day_stop)->toString();
95
    iday = 0;
95
    iday = 0;
96
    mDayStart = day_start;
96
    mDayStart = day_start;
97
    mDayEnd = day_stop;
97
    mDayEnd = day_stop;