Skip to content
Snippets Groups Projects
Commit 4012e8f3 authored by Lemaire Louis's avatar Lemaire Louis
Browse files

Merge branch '102-feature-grassim-clip-soil-water-content-min-value-to-zero' into 'develop'

Resolve "[fix] GrasSim: clip soil water content min value to zero"

See merge request !26
parents 68a48772 d7a4f6f5
No related branches found
No related tags found
2 merge requests!32[feature] New module sky_model with Reinhart sky discretization scheme, water balance correction in GrasSim,!26Resolve "[fix] GrasSim: clip soil water content min value to zero"
......@@ -47,7 +47,7 @@ class Soil():
self.water -= self.water_leached
# water content limits
self.water = self.water.clip(self.wilting_point, self.water_saturation)
self.water = self.water.clip(0, self.water_saturation)
# Water (%)
self.W = (self.water - self.wilting_point) / (self.water_capacity - self.wilting_point)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment