Skip to content

Precipitation should be an accumulated flux #1972

Description

@juliasloan25

Right now, when dt_surface > dt_atmos for some surface, the atmosphere computes precipitation multiple times per timestep of the surface. However only the precipitation flux computed just before the surface's step actually gets used by the surface model in its boundary condition.

To fix this, we should accumulate precipitation like we do for turbulent fluxes when dt_surface > dt_atmos. Precipitation is computed at each stage within an atmosphere timestep, so we'll also need to include flux accumulation within the atmosphere's timestep for this to actually be accurate. Because of this extra complexity, this has been left as a separate task from the turbulent flux accumulation in #1945.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions