Closed LenkaNovak closed 9 months ago
@kmdeck , @sriharshakandala , @simonbyrne, do you have any thoughts on whether this could be DSS?
@LenkaNovak thank you for investigating this! I'll see if I can reproduce the same type of bug in ClimaLSM using the bucket test script. I havent seen this type of behavior before, but our tests have used uniform fields. will report back :)
when is dss! applied? I think it is applied to the state after each timestep, but is it ever applied to the fluxes?
I don't think it is applying it to fluxes, but the fluxes are applied to the states before they're dss'd 🤔 . In the sea ice model I noticed that I had to dss cache variables (as well as the states), more specifically q_sfc
, to get the correct behavior as in here.
This issue was closed by https://github.com/CliMA/ClimaCoupler.jl/issues/435 (but is also relevant for #484 )
Currently snow water conservation and visualization are incorrect when snow is applied. These patterns are similar to the dss inconsistency in here, but this needs to be investigated.
ClimaLSM
DSS
Results:
Script:
Conclusion of the DSS issue