try_calc_ts: Attempt to stage and post a calc_ts for all available sites

View source: R/try_calc_ts.R

try_calc_tsR Documentation

Attempt to stage and post a calc_ts for all available sites

Description

Attempt to stage and post a calc_ts for all available sites

Usage

try_calc_ts(var_src, sb_user, sb_pass, done_after = Sys.time() -
  as.difftime(3, units = "days"), done_version = "rds")

Arguments

var_src

the var_src to stage+post

sb_user

the sciencebase username

sb_pass

the sciencebase password

done_after

posixct datetime - sites will not be considered 'done' unless there is a timeseries file available from after this datetime

done_version

character in c('rds','tsv') - sites will not be considered 'done' unless the timeseries file already constrained by done_after is also one of the specified version


USGS-R/mda.streams documentation built on June 3, 2023, 8:43 a.m.