Description Usage Arguments Details Examples
View source: R/CMEMS_interface.r
Requests details from the CMEMS servers about a specific product, including temporal coverage and depth layers
1 | product.description(x, variable = "missing", quiet = TRUE)
|
x |
An object of class |
variable |
Specifies the object to return. Valid values are "times" and "depths". All other values, including omission, return an xml object describing the product. |
quiet |
Logical, indicating whether to supress output |
This function returns the description that is associated with the particular product id. The depths result is self explanatory, but the times result can be hard to work with, as it is encoded in ISO 8061 format. See https://github.com/clstoulouse/motu#describe-product for details.
1 2 3 4 5 6 7 8 9 10 | ## Not run:
#Setup a configuration object, using OSTIA as an example
cfg <- CMEMS.config(motu="http://my.cmems-du.eu/motu-web/Motu",
service.id = "SST_GLO_SST_L4_REP_OBSERVATIONS_010_011-TDS",
product.id = "METOFFICE-GLO-SST-L4-RAN-OBS-SST",
variable = c("analysed_sst","analysis_error"))
#Time description is in ISO 8061 format
product.description(cfg,"times")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.