Learn R Programming

oce (version 1.8-3)

ctdFindProfilesRBR: Find Profiles Within a ctd Object Read From a RBR File

Description

This uses information about profiles that is contained within the metadata slot of the first argument, x, having been inserted there by read.rsk(). If x was created by reading an .rsk file with read.rsk(), and if that file contained geographical information (that is, if it had a data table named geodata) then the first longitude and latitude from each profile is stored in the metadata slot of the returned value.

Usage

ctdFindProfilesRBR(
  x,
  direction = "descending",
  arr.ind = FALSE,
  debug = getOption("oceDebug")
)

Arguments

x

either an rsk or a ctd object; in the former case, it is converted to a ctd object with as.ctd().

direction

character value, either "descending" or "ascending", indicating the sampling direction to be selected. The default, "descending", is the commonly preferred choice.

arr.ind

logical value indicating whether the array indices should be returned; the alternative is to return a vector of ctd objects.

debug

an integer specifying whether debugging information is to be printed during the processing. This is a general parameter that is used by many oce functions. Generally, setting debug=0 turns off the printing, while higher values suggest that more information be printed. If one function calls another, it usually reduces the value of debug first, so that a user can often obtain deeper debugging by specifying higher debug values.

Author

Dan Kelley

See Also

Other things related to ctd data: CTD_BCD2014666_008_1_DN.ODF.gz, [[,ctd-method, [[<-,ctd-method, as.ctd(), cnvName2oceName(), ctd, ctd-class, ctd.cnv.gz, ctdDecimate(), ctdFindProfiles(), ctdRaw, ctdRepair(), ctdTrim(), ctd_aml.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(), write.ctd()

Other things related to rsk data: [[,rsk-method, [[<-,rsk-method, as.rsk(), plot,rsk-method, read.rsk(), rsk, rsk-class, rskPatm(), rskToc(), subset,rsk-method, summary,rsk-method