Application of phenological pattern recognition in ecological dynamic forecasting