useDynLib(oce)
import(methods)
importFrom("mapproj", mapproject)
importFrom("graphics", plot)
importFrom("utils", head, tail)
exportMethods(plot)
exportMethods(subset)
exportMethods(summary)
export("+.section",
       abbreviateTimeLabels,
       approx3d,
       beamName,
       addColumn,
       airRho,
       angleRemap,
       applyMagneticDeclination,
       as.coastline,
       as.ctd,
       as.drifter,
       as.echosounder,
       as.gps,
       as.lisst,
       as.lobo,
       as.tdr,
       as.sealevel,
       as.section,
       as.topo,
       as.windrose,
       beamUnspreadAdp,
       beamToXyz,
       beamToXyzAdp,
       beamToXyzAdv,
       binmapAdp,
       binAverage,
       binApply1D,
       binApply2D,
       binCount1D,
       binCount2D,
       binMean1D,
       binMean2D,
       bcdToInteger,
       byteToBinary,
       coastlineBest,
       colormap, # beta status; added 22 Apr, 2014
       coordinate,
       coriolis,
       ctdAddColumn,
       ctdDecimate,
       ctdFindProfiles,
       ctdTrim,
       ctdUpdateHeader,
       ctimeToSeconds,
       decimate,
       decodeHeaderNortek,
       decodeTime,
       despike,
       detrend,
       distance,
       drawDirectionField,
       drawIsopycnals,
       drawPalette,
       eclipticalToEquatorial,
       elevation,
       enuToOther,
       enuToOtherAdp,
       enuToOtherAdv,
       equatorialToLocalHorizontal,
       errorbars,
       extract,
       fillGap,
       findBottom,
       findInOrdered,
       formatCI,
       formatPosition,
       fullFilename,
       geodGc,
       geodDist,
       geodXy,
       GMTOffsetFromTz,
       grad,
       gravity,
       header,
       heading,
       "heading<-",
       imagep,
       interpBarnes,
       integerToAscii,
       is.beam,
       is.xyz,
       is.enu,
       integrateTrapezoid,
       julianDay,
       julianCenturyAnomaly,
       landsatTrim,
       latFormat,
       latitude,
       "latitude<-",
       latlonFormat,
       loggerToc,
       lonFormat,
       longitude,
       "longitude<-",
       magneticField,
       makeFilter,
       makeSection,
       mapContour,
       mapImage,
       mapLines,
       mapLocator,
       mapLongitudeLatitudeXY,
       mapMeridians,
       mapPlot,
       mapPoints,
       mapPolygon,
       mapScalebar,
       mapText,
       mapZones,
       map2lonlat,
       matchBytes,
       matrixSmooth,
       moonAngle,
       nitrate,
       "nitrate<-",
       nitrite,
       "nitrite<-",
       numberAsHMS,
       numberAsPOSIXct,
       oceApprox,
       oce.as.raw,
       oce.as.POSIXlt,
       oce.axis.POSIXct,
       oceColorsGebco,
       oceColorsPalette,
       oceColorsJet,
       oceColorsTwo,
       oceColors9A,
       oceColors9B,
       oceDebug,
       oceEdit,
       oceFilter,
       oceMagic,
       oceConvolve,
       oceContour,
       oce.plot.ts,
       ocePmatch,
       oceSmooth,
       oceSpectrum,
       oce.write.table,
       oxygen,
       "oxygen<-",
       parseLatLon,
       plotPolar,
       plotTaylor,
       predict.tidem,
       "processingLog<-",
       processingLog,
       processingLogItem,
       processingLogShow,
       phosphate,
       "phosphate<-",
       pitch,
       "pitch<-",
       plotInset,
       plotSticks,
       plotTS,
       plotScan,
       plotProfile,
       pressure,
       "pressure<-",
       prettyPosition,
       pwelch,
       rangeExtended,
       rangeLimit,
       read.adp,
       read.adp.rdi,
       read.adp.sontek,
       read.adp.sontek.serial,
       read.adv,
       read.adv.nortek,
       read.adv.sontek.serial,
       read.adv.sontek.adr,
       read.adv.sontek.text,
       read.aquadopp, # wrapper for read.adp.nortek()
       read.aquadoppProfiler, # wrapper for read.adp.nortek()
       read.aquadoppHR, # wrapper for read.adp.nortek()
       read.cm,
       read.coastline,
       read.coastline.shapefile,
       read.coastline.openstreetmap,
       read.ctd,
       read.ctd.sbe,
       read.ctd.woce,
       read.ctd.odf,
       read.ctd.itp,
       read.drifter,
       read.echosounder,
       read.gps,
       read.landsat,
       read.lisst,
       read.lobo,
       read.met,
       read.topo,
       read.observatory,
       read.observatory.ctd,
       read.oce,
       read.tdr,
       read.sealevel,
       read.section,
       rescale,
       resizableLabel,
       retime,
       roll,
       "roll<-",
       runlm,
       salinity,
       "salinity<-",
       secondsToCtime,
       sectionGrid,
       sectionSmooth,
       sectionSort,
       showMetadataItem,
       siderealTime,
       sigmaTheta,
       silicate,
       "silicate<-",
       standardDepths,
       sunAngle,
       swAbsoluteSalinity, # TEOS-10
       swAlpha,
       swAlphaOverBeta,
       swBeta,
       swConductivity,
       swConservativeTemperature, # TEOS-10
       swDepth,
       swZ,
       swDynamicHeight,
       swLapseRate,
       swN2,
       swPressure,
       swRho,
       swRrho,
       swSCTp,
       swSigma,
       swSigmaT,
       swSigmaTheta,
       swSoundAbsorption,
       swSoundSpeed,
       swSpecificHeat,
       swSpice,
       swSTrho,
       swTFreeze,
       swTheta,
       swTSrho,
       swViscosity,
       subtractBottomVelocity,
       temperature,
       "temperature<-",
       teos,
       teosSetLibrary,
       threenum,
       tidem,
       tidemAstron,
       tidemVuf,
       time.oce,
       toEnu,
       toEnuAdp,
       toEnuAdv,
       topoInterpolate,
       tdrPatm,
       tdrTrim,
       tritium,
       unabbreviateYear,
       undriftTime,
       ungrid,
       unwrapAngle,
       useHeading,
       vectorShow,
       velocity,
       velocityStatistics,
       webtide,
       window.oce,
       write.ctd,
       xyzToEnu,
       xyzToEnuAdp,
       xyzToEnuAdv)

S3method(head, adp)
S3method(tail, adp)

exportClasses(oce, adp, adv, cm, coastline, ctd, drifter, landsat, lisst, lobo, met, sealevel, section, tdr, tidem, topo, windrose)

