[GRASS-git] [OSGeo/grass] 4807e8: i.evapo.mh: fix radiation conversion factor (#5600)
Jayneel Shah
noreply at github.com
Tue Apr 29 11:55:54 PDT 2025
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: 4807e8257ea54727ad513802b44566ba3833243d
https://github.com/OSGeo/grass/commit/4807e8257ea54727ad513802b44566ba3833243d
Author: Jayneel Shah <80264736+jayneel-shah18 at users.noreply.github.com>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M imagery/i.evapo.mh/mh_eto.c
M imagery/i.evapo.mh/mh_original.c
M imagery/i.evapo.mh/mh_samani.c
Log Message:
-----------
i.evapo.mh: fix radiation conversion factor (#5600)
Previously, the radiation input (ra) was multiplied by 86.4, incorrectly boosting the energy input and resulting in overestimated evapotranspiration values.
This PR corrects the unit conversion:
Changes ra = ra * (24.0 * 60.0 * 60.0 / 1000.0); to ra = ra * (24.0 * 60.0 * 60.0 / 1000000.0);
This matches the correct SI conversion where 1 W/m² = 0.0864 MJ/m²/day
To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications
More information about the grass-commit
mailing list