Skip to content

Conversation

@jomey
Copy link
Member

@jomey jomey commented Oct 8, 2025

Closes #26

NOTE
Once merged - all configuration .ini files will need to update their parameter for time decay window.

Renamed parameters in [albedo] section

date_method_start_decay -> start_decay
date_method_end_decay -> end_decay

@jomey jomey requested a review from caldwellng October 8, 2025 23:42
@jomey jomey force-pushed the albedo_burn_decay branch from 79eeafb to a11b521 Compare October 8, 2025 23:44
@jomey jomey force-pushed the albedo_burn_decay branch 3 times, most recently from f45c8f1 to d2c388f Compare October 16, 2025 00:02
@jomey jomey force-pushed the albedo_burn_decay branch 3 times, most recently from 39165b1 to 254a883 Compare October 27, 2025 15:56
jomey and others added 11 commits November 17, 2025 10:29
Rename the parameters to define a decay window and move the function to determine whether
the window is present to the distribute class for re-use. This prepares add a new post
fire based decay method that should also be triggered within the same time window.

The config parameters are now:
* start_decay (formerly date_method_start_decay)
* end_decay (formerly date_method_end_decay)
Adds reading in a new layer that defines a burn mask on the topo file.
Add a new option to decay albedo based on a burn mask in the topo file and configured
values in the .ini via `post_fire_k_burned` and `post_fire_k_unburned`. The method itself
will be triggered via the decay method `post_fire`.

Co-authored-by: caldwellng <[email protected]>
* Fix type hint for `last_snow` parameter; it's an array
* Improve output initialization and use empty values
* Rename exponential variables that conflicted with method name
Change the names to configure dates to `decay_start` and `decay_end` to be consistent with
the main parameter name `decay_method`.
The main branch had an overhaul of the init method, changing a few pieces of the logic in
this branch with was developed in parallel. This now also adds the accessor to veg_type
from the topo with the ImageData base class.
@jomey jomey force-pushed the albedo_burn_decay branch from 460946a to 5cad9b7 Compare November 17, 2025 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add new albedo decay option based on burned mask in the topo file

3 participants