GetSnodasPointTs: Pull SNODAS snowdepth and SWE time series for a given lat/lon...

Description Usage Arguments Value See Also Examples

View source: R/snodas.R

Description

GetSnodasPointTs Pull SWE and snow depth values for a specific point for a given time period.

Usage

1
2
GetSnodasPointTs(bDatePOSIXct, eDatePOSIXct, snodasDir, lat, lon,
  quiet = TRUE)

Arguments

bDatePOSIXct

The date in POSIXct format for the beginning of the time series.

eDatePOSIXct

The date in POSIXct format for the ending of the time series.

snodasDir

The directory containing SNODAS NetCDF files.

lat

The latitude of the point of interest to pull data for.

lon

The longitude of the point of interest to pull data for.

quiet

logical to print updates to screen. Default is TRUE

Value

Data frame with time series of SWE and snow depth data.

See Also

Other SNODAS: CalcSnodasCoords, GetSnodasDepthSweDate, PutSnodasCoordsNcdf, PutSnodasNcdf, ReadSnodasDepthSweDate

Examples

1
2
3
snodasExtracted <- GetSnodasPointTs(as.POSIXct('2014-12-01'),as.POSIXct('2015-04-01'),
                                    snodasDir='/d4/karsten/snodas',lat=39.9,
                                    lon=-105.1)

mccreigh/rwrfhydro documentation built on Feb. 28, 2021, 1:53 p.m.