comb_data: Join hydrometeorological data for FUSE and convert streamflow...

Description Usage Arguments Value

View source: R/meteo-forcings.R

Description

Join hydrometeorological data for FUSE and convert streamflow from cumecs to mm/day.

Usage

1
2
3
4
5
6
7
8
9
comb_data(
  prec,
  et0,
  qobs,
  area,
  save = TRUE,
  prefix = "hydrodata-posto-",
  dest_dir = "output"
)

Arguments

prec

a tibble with daily precipitation (mm day^-1^)

et0

a tibble with daily reference evapotranspiration (mm day^-1^)

qobs

a tibble with daily natural streamflow (cumecs)

area

area (in square kilometres) that flow volume is averaged over.

save

logical, TRUE for export output data to a RDS file.

prefix

character, prefiz for the output file name.

dest_dir

a character with the name of where the data is to be saved.

Value

a tibble, column q_obs is the qnat variable (input) expressed in mm (discharge).


lhmet-ped/fuse.prep documentation built on Dec. 7, 2020, 3:08 p.m.