Learn R Programming

sarp.snowprofile (version 1.3.2)

scanProfileDates: Read profile dates from prf/pro file

Description

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

Usage

scanProfileDates(Filename, tz = "UTC")

Value

vector of as.POSIXct timestamps

Arguments

Filename

filename

tz

time zone (default = 'UTC')

Author

shorton

See Also

snowprofilePrf, snowprofilePro

Examples

Run this code

## Path to example prf file
Filename <- system.file('extdata', 'example.prf', package = 'sarp.snowprofile')

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

Run the code above in your browser using DataLab