obpg_build_url: Build a path for date, level, suite, resolution and parameter

Description Usage Arguments Value

View source: R/nc.R

Description

Build a path for date, level, suite, resolution and parameter

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
obpg_build_url(
  dates = as.Date("2018-01-01"),
  lvl = "L3m",
  param = "chlor_a",
  suite = "CHL",
  period = "DAY",
  res = "4km",
  platform = "AQUA_MODIS",
  baseuri = obpg_base_url(type = "opendap"),
  ext = ".nc"
)

Arguments

dates

Date, one or more dates as character (YYYY-mm-dd), Date-class, POSIXt-class If requesting a periods other than DAY, then dates refers to the start of the period

lvl

character, the processing level Currently only "L3m" is tested.

param

character, the name of parameter

suite

character, the name of the paramter suite

period

character, the period the imagery covers ala (DAY, 8D, MO, ...). Currently only DAY has been tested.

res

charcater, either '4km' (default) or '9km'

platform

character, the platform (mission, instrument and platform). Currently, only "AQUA_MODIS" has been tested

baseuri

character, the base URL to the resource

ext

character, an optional extension to append to the URL

Value

character URL


BigelowLab/ohwobpg documentation built on Aug. 11, 2020, 11:51 p.m.