scanProfileDates: Read profile dates from prf/pro file

Description Usage Arguments Value Author(s) See Also Examples

View source: R/scanProfileDates.R

Description

Before reading entire SNOWPACK output it can be helpful to scan the profile timestamps first

Usage

1
scanProfileDates(Filename, tz = "UTC")

Arguments

Filename

filename

tz

time zone (default = 'UTC')

Value

vector of as.POSIXct timestamps

Author(s)

shorton

See Also

snowprofilePrf, snowprofilePro

Examples

1
2
3
4
5
6
## Path to example prf file
Filename <- system.file('extdata', 'example.prf', package = 'sarp.snowprofile')

## Scan dates in file
Dates <- scanProfileDates(Filename)
print(Dates)

sarp.snowprofile documentation built on July 25, 2020, 5:06 p.m.