Writes a comma-separated file containing the data frame stored in
the data
slot of the first parameter. The file is suitable
for reading with a spreadsheet, or
with read.csv()
. This output file will contain
some of the metadata in x
, if metadata
is TRUE
.
Arguments
- object
a ctd object.
- file
Either a character string (the file name) or a connection. If not provided,
file
defaults tostdout()
.- metadata
a logical value indicating whether to put some selected metadata elements at the start of the output file.
- flags
a logical value indicating whether to show data-quality flags as well as data.
- format
string indicating the format to use. This may be
"csv"
for a simple CSV format, or"whp"
for the World Hydrographic Program format, described in reference 1 and exemplified in reference 2.
References
The following links used to work, but failed as of December 2020.
https://www.nodc.noaa.gov/woce/woce_v3/wocedata_1/whp/exchange/exchange_format_desc.htm
https://www.nodc.noaa.gov/woce/woce_v3/wocedata_1/whp/exchange/example_ct1.csv
See also
The documentation for ctd explains the structure of CTD objects.
Other things related to ctd data:
CTD_BCD2014666_008_1_DN.ODF.gz
,
[[,ctd-method
,
[[<-,ctd-method
,
argo2ctd()
,
as.ctd()
,
cnvName2oceName()
,
ctd
,
ctd-class
,
ctd.cnv.gz
,
ctdDecimate()
,
ctdFindProfiles()
,
ctdFindProfilesRBR()
,
ctdRaw
,
ctdRepair()
,
ctdTrim()
,
ctd_aml_type1.csv.gz
,
ctd_aml_type3.csv.gz
,
d200321-001.ctd.gz
,
d201211_0011.cnv.gz
,
handleFlags,ctd-method
,
initialize,ctd-method
,
initializeFlagScheme,ctd-method
,
oceNames2whpNames()
,
oceUnits2whpUnits()
,
plot,ctd-method
,
plotProfile()
,
plotScan()
,
plotTS()
,
read.ctd()
,
read.ctd.aml()
,
read.ctd.itp()
,
read.ctd.odf()
,
read.ctd.odv()
,
read.ctd.saiv()
,
read.ctd.sbe()
,
read.ctd.ssda()
,
read.ctd.woce()
,
read.ctd.woce.other()
,
setFlags,ctd-method
,
subset,ctd-method
,
summary,ctd-method
,
woceNames2oceNames()
,
woceUnit2oceUnit()