query_direct: Query a direct data download webpage such as <URL:...

Description Usage Arguments Value

View source: R/direct.R

Description

This is fairly centric to 'Mapped' level data but some flexibility is provided to access other levels of data.

Usage

1
2
3
query_direct(base_uri = "https://oceandata.sci.gsfc.nasa.gov",
  mission = "MODIS-Aqua", level = "Mapped", freq = "Daily",
  res = "4km", param = "chlor_a", year = 2016, alt_uri = NULL)

Arguments

base_uri

character Oceandata's base uri (default 'http://oceandata.sci.gsfc.nasa.gov')

mission

character one mission listed at base_uri (default 'MODIS-Aqua')

level

character level of processing is mission dependent. See http://oceandata.sci.gsfc.nasa.gov/MODIS-Aqua for an example. (default 'Mapped')

freq

character (or NULL, "" or NA) Some mission levels are processed at various freqencies. See http://oceandata.sci.gsfc.nasa.gov/MODIS-Aqua/Mapped. The default ('Daily') assumes there is a choice, but skip this by setting to freq to NULL, NA or "".

res

character (or NULL, "" or NA) resolution. Defaults to '4km' but you can skip this by setting to freq to NULL, NA or "".

param

character the name of the parameter

year

numeric (or character) year (2016 default)

alt_uri

character or NULL. Use this to specify your own full uri which ignores other parameters.

Value

data.frame or NULL


BigelowLab/obpgcrawler documentation built on Nov. 6, 2019, 5:02 a.m.