ReadFrxstPts: 'ReadFrxstPts' reads in WRF-Hydro forecast points output text...

Description Usage Arguments Value See Also Examples

View source: R/read_modelout.R

Description

ReadFrxstPts reads a standard-format WRF-Hydro forecast points output text file and creates a dataframe with consistent date and data columns for use with other rwrfhydro tools.

Usage

1
ReadFrxstPts(pathOutfile, stIdType = "character", adjPosix = FALSE)

Arguments

pathOutfile

The full pathname to the WRF-Hydro forecast points text file (frxst_pts_out.txt).

stIdType

Character describing the variable type desired for the stn_id variable, defaults to "character" but can also be "integer".

adjPosix

If the first timest in the file matches the model init time, then set this to TRUE.

Value

A dataframe containing the forecast points output flow data. Note that POSIXct is the valid time for the flow but timest is not, it is the LSM time prior to the flow at POSIXct.

See Also

Other modelDataReads: CreateBasinMask, ReadChrtgrid, ReadChrtout, ReadGwOut, ReadLdasoutAll, ReadLdasoutWb, ReadRouteLink, ReadRtout

Examples

1
2
3
4
5
6
## Take a forecast point output text file for an hourly model run of Fourmile Creek
## and return a dataframe.
## Not run: 
modStr1h.mod1.fc <- ReadFrxstPts("../OUTPUT/frxst_pts_out.txt")

## End(Not run)

NCAR/rwrfhydro documentation built on Feb. 28, 2021, 12:47 p.m.