I am getting this error while running Aquacrop OS on MATLAB. On checking each line of code, the error occurs in AOS_ComputeCropCalendar.m while running the following line of code:
Crop.Emergence = GDDcum(Crop.EmergenceCD);
Additional info: In Crop.txt, I have specified all phenological parameters (like emergence, senescence etc.) in calendar days (CD), and have allowed (“1”) the conversion of “calendar to GDD mode if inputs are given in calendar days”.