Climate

Streamfall.climate_valuesMethod
climate_values(node::NetworkNode, climate::Climate, timestep::Int)

Extract climate related data for a given time step.

source
Streamfall.extract_climateMethod

Create a climate dataset of Precipitation (P) and Potential Evapotranspiration (PET). Data for multiple gauges may be defined in a single dataset.

P and PET columns are identified by _P and _PET suffixes by default.

Arguments

  • data : Observation data
  • P_suffix : Suffix used to indicate precipitation (default: "_P")
  • PET_suffix : Suffix used to indicate Potential Evapotranspiration (default: "_PET")
  • T_suffix : Suffix used to indicate Temperature (default: "_PET")

Returns

Climate

source
Streamfall.extract_flowMethod
extract_flow(
    data::DataFrame, gauge_id::String; suffix::String="_Q"
)::DataFrame

Extract streamflow data from file.

Streamflow (Q) column is identified the Gauge ID.

Flow data is identified with the suffix _Q by default e.g., ("000001_Q")

Arguments

  • data : Observation data
  • gauge_id : Gauge/Node ID
  • suffix : Suffix used to indicate flow data (default: "_Q")

Returns

DataFrame of observations for selected gauge.

source