-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
proposed fix for LSM negative W and sigmaS #472
Comments
Not sure if this will affect this fix, but the sign convention for precipitation/infiltration in ClimaLSM has changed as of v0.6.0 (see diff here) |
@LenkaNovak I like the idea of adapting the beta function, but currently it is only used for W, and not for sublimation of snow. We could introduce a beta function for snow which only damps nonlinearly to zero, though, and tends to 1 otherwise. There could still be issues for large enough timesteps and large enough evaporation rates even with a beta that nonlinearly decays to zero with water content. But, the system would be mathematically well behaved in the limit of W->0. A limiter would work too. The only complication there is that if we run out of water in the bucket during a timestep due to some evaporation, i.e. W(t) < E(t)*dt, we would have W(t+dt) = 0, and would need to then "condense" water from the atmosphere in the next step (since the atmosphere took the entire E(t)*dt the previous step, but the land did not have that much to give). So something like -(E(t)*dt - W(t))/dt would be added to the vapor flux atmos BC in the next step. I guess this would need to be tracked in the coupler. Im not sure we want the coupler to have to handle things like this, though. Are the negative values causing things to break? Can we tolerate small negative values in Y since they conserve water exactly, and interpret them as zero water in reality? |
(discussed offline to implement beta snow and check that small negative values can be tolerated within the bucket parameterizations, thank you @kmdeck ! ) |
Both snow, σS, and water, W, can become negative in the bucket, if their reserves are depleted and evaporation is nonzero. Simple test - set all fluxes to zero except evaporation. Evaporation should be attenuated by the beta_factor but small negative values of W and σS can still arise if
To ameliorate this, we could do one of the following :
The energy from sigmaS needs to be tracked for conservation (also check
F_into_snow
- this seems to be unused in the Bucket).The text was updated successfully, but these errors were encountered: