Learn R Programming

PHENTHAUproc

Phenology Modelling of Thaumetopoea Processionea

Methods to calculate and present 'PHENTHAUproc', an early warning and decision support system for hazard assessment and control of oak processionary moth (OPM) using local and spatial temperature data. It was created by Halbig et al. 2024 (doi:10.1016/j.foreco.2023.121525) at FVA (https://www.fva-bw.de/en/homepage/) Forest Research Institute Baden-Wuerttemberg, Germany and at BOKU - University of Natural Ressources and Life Sciences, Vienna, Austria.

Installation

You can install the CRAN version directly or using the development version of PHENTHAUproc from GitHub with:

#install.packages("PHENTHAUproc")

# install.packages("devtools")
devtools::install_github("bachfisch/PHENTHAUproc")

Copy Link

Version

Install

install.packages('PHENTHAUproc')

Monthly Downloads

166

Version

1.1.1

License

MIT + file LICENSE

Maintainer

Lorenz Bachfischer

Last Published

July 28th, 2025

Functions in PHENTHAUproc (1.1.1)

convert_logical_to_time

Convert logical to time
get_time

Get time attribute
convert_df_to_srl

Convert dataframe to SpatRaster list
convert_doy_to_logical

Convert day of year (doy) to logical
load_test

Load test data
plot_stages

Plot regional PHENTHAUproc - Stages
load_test_bs

load SpatRaster - budswelling - day of year - 16 Rasterpoints around FVA 2023
convert_sr_to_cvec

Convert SpatRaster to characer vector
get_legend

Get legend for PHENTHAUproc models
convert_dwd_to_phenthau

Convert hourly DWD temperature data to PHENTHAUproc input
regional

Regional Weather data
load_test_hour

load dataframe - hourly tmean - Freiburg 2023
get_formalArgs

Get formalArgs of a function from a list of parameter
get_date

Get Date format out of numeric year and monthday character value
remove_false

Remove FALSE
load_test_srl

load SpatRaster list - daily - 16 Rasterpoints around FVA 2020
timename

Create a name with time stamp
parameter

Create parameter list
load_test_srl_hour

load SpatRaster - hourly - 16 Rasterpoints around FVA 2022 - 2023
convert_hour_to_meanminmax

Convert hourly to daily
local_daily

Local daily Weather Station data from Freiburg
plot_station_step

Plot local PHENTHAUproc in a step plot
load_test_day

load dataframe - daily tmean tmin tmax - Freiburg 2020
phenthau

Calculate PHENTHAUproc model
local_hourly

Local hourly Weather Station data from Freiburg
set_attributes

Set attributes for SpatRaster
phenology

Calculate phenological events
plot_date

Plot SpatRaster with date serial number/time attribute
mortality

Calculating starvation related mortality of Thaumetopoea processionea
subset_time

Subset data.frame/SpatRaster/List within from and end time
calc_baskerville

Calculate degree days using the single sine method of Baskerville
calc_phenology

Calculate phenological models
calc_last

Calculate last TRUE
call_function

Call a function from PHENTHAUproc package
calc_sumefftemp

Calculate sum of effective temperatures (SET)
calc_first

Calculate first TRUE
convert_logical_to_doy

Convert logical to day of year (doy)
calc_tsum

Calculate temperature sum
calc_mean

Calculate mean TRUE
calc_degreedays

Calculate degree days
calc_mortality

Calculate mortality
check_data_with_params

Check data for model requirements
check_dimension_and_time

Check dimension and time attribute of a SpatRaster list