This function pulls the indices associated with the dates that correspond with the Mid Summer Drought, as well as the indices that indicate first and last day of each year. This function is used in conjunction with the MSD function.
Arguments
- x
Date vector
- peakwindow1
desired date in MMDD format to begin search for early peak
- minwindow1
desired date in MMDD format to begin search for minimum
- minwindow2
desired date in MMDD format to end search for minimum
- peakwindow2
desired date in MMDD format to end search for late peak