ImperialCollegeLondon / ImperialCollegeLondon/virtual_ecosystem

M1.3.2 Add snow water equivalent 9SWE) state variable and persistence across timesteps

Open
#1,704 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
20
Forks
5
Avg merge
2d 1h
Merged PRs (30d)
34

Description

**Summary**

Add a prognostic snow water equivalent state variable.

**Purpose**

Represent snow as stored water that can persist across days, months, and years until melted.

**Tasks**
- [ ] Add prognostic state SWE.
- [ ] Initialize SWE from zero or a user-supplied initial condition.
- [ ] Carry SWE across days, months, and years.
- [ ] Ensure SWE remains nonnegative.

**Acceptance criteria**

- [ ] SWE persists correctly across timesteps.
- [ ] SWE remains nonnegative.
- [ ] Initialization behavior is documented.

**Suggested tests**
- [ ] Multi-month accumulation case.
- [ ] Carryover across year boundary.
- [ ] Zero-initial-snow case.

Contributor guide

Open the contributing guide

Research direction

No files or entry points are named. Start by locating the model's prognostic state handling and existing state-variable tests, then trace initialization and timestep carryover across month and year boundaries. Done means SWE accepts zero or user-supplied initialization, persists across all listed timesteps, never becomes negative, and has documented initialization behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.