Skip to content

Conversation

@chpolste
Copy link
Contributor

@chpolste chpolste commented Dec 16, 2025

  • Updated soil moisture initialisation with crop-dependent initial_SM and deficit_start and assumption that year starts at full capacity by setting initial_SM = AWC.
  • Enable all-year calculations with kc = kc_in for the days outside the growing period, both before s and after h as specified in Allen 1998, daily_rooting_depth = RD[0] and effective precipitation calculated for the whole year. When averaging ETa parameters at the end, the growing period is then isolated by masking. Remove sowing_SM which is no longer needed.
  • Assume maximum evapotranspiration potential by setting ETa_rf = ETc for the first day (day==0). (The alternative is setting ETa_rf=0, but it should not make a big difference as the value is very low for Jan 1st anyway.)
  • Corrected parameters in crop_table:
    • For beans, lg fractions did not add up to 1 before.
    • Fixed season_start for maize in climate zone 3.
  • Use AWC < 0 criterion to mask oceans.

andre-rivo and others added 9 commits November 27, 2025 16:43
Included initial_SM, sowing_SM and deficit_start inside the crop loop. Set initial_SM and sowing_SM = AWC.
Set kc = kc_in for the days outside the growing period, both before s and after h as specified in Allen 1998.
Created mask to select the correct growing period days when averaging ETa at the end of the crop loop.
Corrected wrong parameter in crop_table for beans, lg fractions did not add up to 1 before.
Removed sowing soil moisture, no more needed since water balance is calculated also outside the growing period now
Corrected rooting depths, assigned to RD[0] for outside the growing period
Corrected bug in crop table
Effective precipitation is now calculated for the whole year, not just the growing period.
ETa_rf for the first day is set = ETc, meaning that on day==0 we assume maximum evapotranspiration potential. Alternative is setting ETa_rf=0, but it should not make a big difference as the value is very low for Jan 1st anyway.
@chpolste chpolste merged commit 5f205fd into main Dec 17, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants