Skip to contents

Predicts a thermal landscape by integrating information from an OTM-tile match object and an otm_splines object for a specified range of days of the year (doy) and minutes of the day (mod).

Usage

predict_thermal_landscape(matches, otm_splines, doy, mod)

Arguments

matches

A matches data frame obtained using the match_data function.

otm_splines

A nested tibble obtained using the gen_otm_splines function.

doy

An integer or vector of integers indicating the day(s) of the year (doy) for which the thermal landscape should be predicted. All elements within doy must be within the range between when the OTMs started and finished recording operative temperatures.

mod

A numeric vector of length >=1 indicating the minute(s) of the day (mod) for which the thermal landscape should be predicted. All elements within mod must fall within the 0 to 1440 range. If mod includes values when the OTMs were not recording the function will remove them and provide a diagnostics message indicating the percentage of predictions removed.

Value

A data frame with a predicted thermal landscape with x, y, (UTM coordinates), doy,mod and predicted operative temperature columns (pred_op_temp).