Open mehmoodmz opened 4 months ago
It seems like these comments indicate a desire to remove reserves from calculation of VNPCM:
VNPCM is itself calculated based on VANC:
So presumably the calculation on line 1023 is as intended and it is the if statement on the preceding line that should be corrected:
If so, then line 1022 would become:
IF (((LFWT+STWT)*PLTPOP*10.0).GT.0.0)
@lpmorenoc , @GerritHoogenboom, @chporter , what do y'all think?
@palderman Nice detective work! Yes, I agree that this should solve the problem.
Hi, I am getting a floating-point exception error while running CROPSIM-Wheat. What would be a better way to resolve this issue? Do I need to remove RSWT on Line 1022 or add RSWT on Line 1023?
https://github.com/DSSAT/dssat-csm-os/blob/cb4043a905a27d632c3243ac51caec546d1f0661/Plant/CROPSIM/CRP_Integrate.for#L1021 https://github.com/DSSAT/dssat-csm-os/blob/cb4043a905a27d632c3243ac51caec546d1f0661/Plant/CROPSIM/CRP_Integrate.for#L1022 https://github.com/DSSAT/dssat-csm-os/blob/cb4043a905a27d632c3243ac51caec546d1f0661/Plant/CROPSIM/CRP_Integrate.for#L1023