Optional list containing unit, an
expression specifying the unit and scale, a character
string specifying the scale. The
default
A default value to be returned if name is not found.
note
A note to be inserted in the processing log, in addition to an
automatically-constructed note.
Value
For set and delete functions, the updated object is
returned. For the get functions, the named item is returned.
Details
In providing access to the data and metadata slots of an
object, these functions are similar to direct access, e.g. in
x <- oceSetMetadata(x, "latitude", 45)
x@metadata$latitude <- 45
the first has the advantage of adding useful notes to the
processingLog. The delete functions also update the log.