Hi all,
Can you please let me know what's wrong in this syntax? Thanks.
if (doys.le.131.0) then
PhenStage = 1
else if ((doys.gt.131.0 .and. gdd(i).le.120) then
PhenStage = 2
else if ((gdd(i).le.520) then
PhenStage = 3
else if ((gdd(i).le.1670) then
PhenStage = 4
else if ((gdd(i).le.1980) then
PhenStage = 5
else if ((doys.le.301) then
PhenStage = 6
else
PhenStage = 7
endif
Can you please let me know what's wrong in this syntax? Thanks.
if (doys.le.131.0) then
PhenStage = 1
else if ((doys.gt.131.0 .and. gdd(i).le.120) then
PhenStage = 2
else if ((gdd(i).le.520) then
PhenStage = 3
else if ((gdd(i).le.1670) then
PhenStage = 4
else if ((gdd(i).le.1980) then
PhenStage = 5
else if ((doys.le.301) then
PhenStage = 6
else
PhenStage = 7
endif