read.basinForcing: Basin Forcing File Reader

View source: R/read.basinForcing.R

read.basinForcingR Documentation

Basin Forcing File Reader

Description

Returns named list with four items: - data (dataframe of forcing data) - gaugeLatitude - gaugeElevation - basinArea

Usage

read.basinForcing(filename, altheader = NULL, dropDateInts = TRUE)

Arguments

filename

filename/path of basin forcing text file

altheader

vector string to be used as column names (optional)

dropDateInts

T/F to drop original integer date columns after conversion to date format (default T)

Value

list

Author(s)

Leland Scantlebury

Examples

folder <- 'basin_dataset_public_v1p2/basin_mean_forcing/maurer/11/'
filename <- paste0(folder, '07197000_lump_maurer_forcing_leap.txt')
bforce <- read.basinForcing(filename)

scantle/caRmels documentation built on Dec. 10, 2022, 8:13 a.m.