pnnl / DHSVM-PNNL

43 stars 32 forks source link

aggregated PET values #49

Open Lizzy0Sun opened 3 years ago

Lizzy0Sun commented 3 years ago

@wperkins I spotted an error in the file "Aggregate.c" on the master branch associated with the calculation of PET. I believe the parallel branch suffers from the same issue, Towards the end of this file, there is a line that should convert PET from m/s to m by multiplying Dt but the present code divides PET by Dt, resulting in a very small PET value in Aggregated. Values. The line is: Total->Evap.EPot[i] /= Dt; Suggest changing it to Total->Evap.EPot[i] *= Dt;