Coerce a dataset into an argo dataset. This is not the right way to
read official argo datasets, which are provided in NetCDF format and may
be read with read.argo()
.
as.argo(
time,
longitude,
latitude,
salinity,
temperature,
pressure,
units = NULL,
id,
filename = "",
missingValue
)
a vector of POSIXct times.
a vector of longitudes.
a vector of latitudes.
a vector of salinities.
a vector of temperatures.
a vector of pressures.
an optional list containing units. If NULL
, the default,
then "degree east"
is used for longitude
,
"degree north"
for latitude
,
""
for salinity
,
"ITS-90"
for temperature
, and
"dbar"
for pressure
.
an identifier for the argo float, typically a number, but stored within
the object in a character form. (For example, the dataset retrieved with data(argo)
has an id
of "6900388"
.)
a source filename, which defaults to an empty string.
an optional missing value, indicating data values that should be
taken as NA
.
The documentation for the '>argo class explains the structure of argo objects, and also outlines the other functions dealing with them.
Other things related to argo data:
[[,argo-method
,
[[<-,argo-method
,
argo-class
,
argoGrid()
,
argoNames2oceNames()
,
argo
,
handleFlags,argo-method
,
plot,argo-method
,
read.argo()
,
subset,argo-method
,
summary,argo-method