-
Couldn't load subscription status.
- Fork 2
Reset thickness if the new concentration is zero #86
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
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #86 +/- ##
==========================================
+ Coverage 65.36% 65.48% +0.11%
==========================================
Files 28 28
Lines 898 901 +3
==========================================
+ Hits 587 590 +3
Misses 311 311 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
I didn't completely grasp your explanation why the ice thickness builds up. Can you explain it in a bit more detail? |
I am also not 100% sure, but I hypothesize that there are tiny bits of ice forming from the ocean. The concentration then drops to zero. Then the fluxes from the atmosphere are multiplied by |
|
Is it a good idea to just bulid up a bunch of conditionals for the evolution? It seems like it would be better to have a simpler formulation without the conditionals. It would be easier to understand. |
|
I'd suggest that it isn't a good practice to throw in fixes for things that aren't understood because it doesn't actually represent real progress. It's just superficial progress that will ultimately cost more time in the future. |

On ClimaOcean, ice is building up with a zero concentration in regions that should not generate sea ice. This is because if concentration is zero, both the atmospheric flux is zero and the melt flux is zero, so ice can build up over time.
It does not necessarily influence the ocean but still it is wrong.
This PR corrects this by resetting the thickness if the new concentration is identically zero (in main, we are resetting only the concentration if thickness is identically zero, but it should go both ways).