Skip to contents

This function allows you to specify whether precipitation should be treated as a meteorological input (in mm) or as an inflow volume (in m3) to the lake. When set as an inflow, the function calculates the inflow volume based on the lake surface area and the precipitation amount. Conversely, when set as a meteorological input, it converts the inflow volume back to precipitation depth. This is useful for hydrodynamic modeling where the representation of precipitation can impact the simulation results, particularly in terms of water balance and thermal structure.

Usage

set_precip(aeme, type = "precip_as_inflow")

Arguments

aeme

aeme; object.

type

character. Either "precip_as_met" or "precip_as_inflow". Default is "precip_as_inflow". If "precip_as_met", precipitation is treated as a meteorological input in mm. If "precip_as_inflow", precipitation is converted to an inflow volume in m3.

Value

Aeme object with precipitation set as specified