The final output is based upon the class of the input data and valid model estimates. Mainly, reshapes data to a spatial raster format when required and traps NA and Inf values during optimization schemes.
shape_model_output(data, doy)
input data generated using the format_*() functions
phenophase estimates as a doy value
raster or vector with estimated phenophase timing (in DOY)
# Should not be run stand-alone
if (FALSE) {
shape_model_output(data = data, doy = doy)
}