Skip to content

Feature: Multi-source Initial Conditions (IC) assembly in ic_process #3603

@dlebauer

Description

@dlebauer

Description

Current behavior: ic_process supports one source per run.

Problem: Many data sources provide soil but not veg c, and vice versa - in these cases it is not possible to generate a valid IC from a single source.

The motivating use case is to enable ic_process() to combine soil carbon initial conditions from one source with vegetation carbon pools from a second source into a single poolinitcond file - originally discussed in #3508 (comment).

Proposed Solution

Update ic_process() to support multiple sources.

Inputs:

  • Soil C:
    • SoilGrids
    • gSSURGO
    • custom CSV
    • function arguments (e.g. soil_c = ...)
  • Vegetation C pools: (choose one):
    • CSV
    • optional function args e.g. agb_c, root_c, leaf_c
    • Bare ground (0),

Optional for MVP (could be separated into a separate feature request):

Outputs:

  • IC files, including provenance of values
  • set settings$run$inputs[["poolinitcond"]]$path <- newfile

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions