Skip to content

Allow users to specify snow layer structure more flexibly #729

@billsacks

Description

@billsacks

The current snow layer structure is hard-coded. We should probably let users specify this more flexibly, as in #728 .

Details of the "user interface" still need to be worked out. For example, there are currently separate min and max depths for each layer; should we allow/force the user to specify these independently, or should we have the user specify a single layer structure from which we derive both min and max depths of each layer?

In addition to the number of layers and layer depths, I have noticed that there is a hard-coded assumption that appears in a few places throughout the code that the minimum depth for having a resolved snow layer is 0.01 m; this should probably be connected to the snow layer structure itself.

I'm not sure what to do about h2osno_max. Probably this needs to be settable independently from the snow layer structure, but how do we ensure that h2osno_max is "reasonable" given the snow layer structure?

Metadata

Metadata

Assignees

Labels

enhancementnew capability or improved behavior of existing capability

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions