update: Update a CMEMS.config object

Description Usage Arguments Examples

Description

Updates a CMEMS.config object with new parameters

Usage

1
2
3
4
update(object, ...)

## S4 method for signature 'CMEMS.config'
update(object, ...)

Arguments

object

The CMEMS.config object to serve as the basis for creating the new object

...

Slots in the new object - see documentation of CMEMS.config for more details

Examples

1
2
3
4
5
6
7
8
9
#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"))
cfg
#Now update the variables, for example
cfg2 <- update(cfg,variable="sea_ice_fraction")
cfg2

markpayneatwork/RCMEMS documentation built on Jan. 18, 2021, 2:53 a.m.