obpg_fetch_DAY_thredds: Retrieve MODISA files. Saves rasters to obpg data directory.

Description Usage Arguments

Description

For big requests the OBPG can be problematic so repeated attempts may be required

Usage

1
2
3
4
5
6
7
8
obpg_fetch_DAY_thredds(uri = NULL, where = c("native", "gom", "nwa")[2],
  date_filter = as.POSIXct(c("2015-01-01", "2017-07-21"), tz = "UTC"),
  what = "within", bbox = obpgtools::obpg_bb("gom"), overwrite = TRUE,
  email = "none", greplargs = c(chlor_a = "L3m_DAY_CHL_chlor_a_4km.nc", par
  = "L3m_DAY_PAR_par_4km.nc", pic = "L3m_DAY_PIC_pic_4km.nc", poc =
  "L3m_DAY_POC_poc_4km.nc", sst = "L3m_DAY_SST_sst_4km.nc"),
  voice = rscripting::Logger("obpg_fetch_DAY_thredds", filename =
  obpg_path("log")))

Arguments

uri

character of OPENDAP URI - precomputed query result URIs or NULL

where

character, the geographic name of the region

date_filter

POSIXct dates (window, start, end, etc)

what

character how to treat the date_filter (within, before, after)

bbox

the bounding box for subsetting

overwrite

logical, if TRUE then overwrite exisiting files

email

character, if not 'none' then try to send and email at the end

greplargs

named character vector - patterns to search for

voice

rscritping::Logger object


btupper/obpgtools documentation built on May 13, 2019, 8:42 a.m.