You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the translation of values of the regularly spaced soil temperature profile to the soil layer profile would be producing negative values for the diurnal soil temperature range, lyrTemp_to_lyrSoil_temperature()
this was because the interpolation uses a simple 2-point linear interpolation whereas the the diurnal soil temperature range is dampened exponentially with soil depth
-> currently a quick patch avoids negative values; however, a better solution would be to use a more careful interpolation (probably also with a more direct approach than the weighing-scheme utilized for mean soil temperature by lyrTemp_to_lyrSoil_temperature())
The text was updated successfully, but these errors were encountered:
- the translation of values of the regularly spaced soil temperature profile to the soil layer profile was previously producing negative values for the diurnal soil temperature range
- this was because the interpolation uses a simple 2-point linear interpolation whereas the the diurnal soil temperature range is dampened exponentially with soil depth
-> this commit provides a quick patch (i.e., forces the interpolated range to be >= 0); however, a better solution would be to use a more careful interpolation (see new issue #310)
lyrTemp_to_lyrSoil_temperature()
-> currently a quick patch avoids negative values; however, a better solution would be to use a more careful interpolation (probably also with a more direct approach than the weighing-scheme utilized for mean soil temperature by
lyrTemp_to_lyrSoil_temperature()
)The text was updated successfully, but these errors were encountered: