Sets the run, ensemble, and sensitivity analysis dates of PEcAn Settings

setDates(settings, startDate, endDate)

Arguments

settings

A Settings object

startDate, endDate

The desired start and end dates

Value

The original Settings object with updated dates

Details

Sets the start/end dates in settings$run to the specified dates, and sets the corresponding years for settings$ensemble and settings$sensitivity.analysis. Either date can be omitted to leave it unchanged.