read.HRUForcing: Read CAMELS Basin HRU Forcing file

View source: R/read.HRUForcing.R

read.HRUForcingR Documentation

Read CAMELS Basin HRU Forcing file

Description

Returns namedlist with four items: - data (dataframe of forcing data) - gaugeLatitude - HRUElevation - HRUArea

Usage

read.HRUForcing(filename, altheader = FALSE, dropDateInts = TRUE)

Arguments

filename

filename/path of HRU 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

myhru <- read.HRUForcing('hru_forcing/daymet/02/01333000_hru_04535_cida_forcing_leap.txt')

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