Description Usage Arguments Value See Also Examples
A basic MURSST query function to retrieve one or more datasets
1 2 3 4 5 | MURSST_query(top = "http://www.neracoos.org/thredds/catalog/GMRI/SATELLITE/NASA/MUR_SST/catalog.xml",
region = "NorthEastShelf", product = "DailyFiles",
year = format(as.Date(Sys.Date()), "%Y"),
day = format(as.Date(Sys.Date()), "%j"), what = c("all", "most_recent",
"within", "before", "after")[1], date_filter = NULL, verbose = FALSE)
|
top |
character, uri of the top catalog |
product |
character, the product type (L3SMI) |
year |
character or numeric, four digit year(s) - ignored if what is not 'all' |
day |
character or numeric, three digit year of day(s) - ignored if what is not 'all'. You can improve efficiency by preselecting days for months, days, or seasons. |
what |
character, optional filters
|
date_filter |
POSIXct or Date, one or two element vector populated according to
the |
verbose |
logical, by default FALSE |
platform |
character, the name of the platform (MODISA) |
list of DatasetRefClass or NULL
get_monthdays
, get_8days
and get_seasondays
1 2 3 4 5 6 7 8 9 | ## Not run:
query <- MURSST_query(
product = 'DailyFiles',
what = 'most_recent')
query <- MURSST_query(
what = 'within',
date_filter = as.POSIXct(c("2008-01-01", "2008-06-01"), format = "%Y-%m-%d") )
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.