CICE-Consortium / Icepack

Development repository for sea-ice column physics
Other
25 stars 131 forks source link

snow grain radius bug fix #412

Closed eclare108213 closed 1 year ago

eclare108213 commented 1 year ago

base_suite: 169 measured results of 169 total results 169 of 169 tests PASSED 0 of 169 tests PENDING 0 of 169 tests MISSING data 0 of 169 tests FAILED

When snow metamorphism is active (snwgrain=.true.), the snow grain radius takes the tracer value (rsnow) but is limited by imposed minimum and maximum snow grain radius parameters. The minimum is the value assigned for freshly-fallen snow. The current code only limits the value above, not below. I expect this change to be non-BFB in runs with snow metamorphism; the current tests may not be long enough or otherwise configured to activate the limiting.

This is a single character modification! It was identified during the Icepack-merge-into-E3SM project.

njeffery commented 1 year ago

@eclare108213 : is this bug also in mpas-seaice?

eclare108213 commented 1 year ago

No, it's not in MPAS-SI. It's one of the differences that Adrian noted.