useDynLib(oce)
import(methods)
##importFrom("methods", show)
importFrom("graphics", plot)
importFrom(utils, head, tail)
exportMethods(plot)
export("+.section",
       abbreviateTimeLabels,
       beamName,
       addColumn,
       airRho,
       angleRemap,
       applyMagneticDeclination,
       as.coastline,
       as.ctd,
       as.drifter,
       as.echosounder,
       as.lisst,
       as.lobo,
       as.tdr,
       as.sealevel,
       as.topo,
       as.windrose,
       beamUnattenuateAdp,
       beamToXyz,
       beamToXyzAdp,
       beamToXyzAdv,
       binmapAdp,
       binAverage,
       bcdToInteger,
       byteToBinary,
       coordinate,
       coriolis,
       ctdAddColumn,
       ctdDecimate,
       ctdTrim,
       ctdUpdateHeader,
       ctimeToSeconds,
       decimate,
       despike,
       detrend,
       distance,
       drawDirectionField,
       drawIsopycnals,
       drawPalette,
       eclipticalToEquatorial,
       elevation,
       enuToOther,
       enuToOtherAdp,
       enuToOtherAdv,
       equatorialToLocalHorizontal,
       errorbars,
       extract,
       fillGap,
       findBottom,
       findInOrdered,
       formatCI,
       formatPosition,
       fullFilename,
       geodDist,
       geodXy,
       GMTOffsetFromTz,
       grad,
       gravity,
       header,
       heading,
       "heading<-",
       julianDay,
       julianCenturyAnomaly,
       plotPolar,
       plotTaylor,
       processingLog,
       "processingLog<-",
       processingLogShow,
       imagep,
       interpBarnes,
       integerToAscii,
       is.beam,
       is.xyz,
       is.enu,
       latFormat,
       latitude,
       "latitude<-",
       latlonFormat,
       loggerToc,
       lonFormat,
       longitude,
       "longitude<-",
       oceMagic,
       magneticDeclination,
       makeFilter,
       makeSection,
       matchBytes,
       matrixSmooth,
       moonAngle,
       nitrate,
       "nitrate<-",
       nitrite,
       "nitrite<-",
       numberAsPOSIXct,
       oceApprox,
       oceContour,
       oce.as.raw,
       oce.as.POSIXlt,
       oce.axis.POSIXct,
       oceBisect,
       oceColorsGebco,
       oceColorsPalette,
       oceColorsJet,
       oceColorsTwo,
       oceColors9A,
       oceColors9B,
       oceConvolve,
       oceDebug,
       oceEdit,
       oceFilter,
       oce.plot.ts,
       oceSmooth,
       oceSpectrum,
       oce.write.table,
       oxygen,
       "oxygen<-",
       parseLatLon,
       phosphate,
       "phosphate<-",
       pitch,
       "pitch<-",
       plotInset,
       plotSticks,
       plotTS,
       plotScan,
       plotProfile,
       pressure,
       "pressure<-",
       tdrPatm,
       tdrTrim,
       prettyPosition,
       pwelch,
       rangeLimit,
       read.adp,
       read.adp.rdi,
       read.adp.nortek,
       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.cm,
       read.coastline,
       read.coastline.shapefile,
       read.ctd,
       read.ctd.sbe,
       read.ctd.woce,
       read.ctd.odf,
       read.drifter,
       read.echosounder,
       read.lisst,
       read.lobo,
       read.met,
       read.topo,
       read.oce,
       read.tdr,
       read.sealevel,
       read.section,
       rescale,
       retime,
       roll,
       "roll<-",
       secondsToCtime,
       resizableLabel,
       salinity,
       "salinity<-",
       sectionGrid,
       sectionSmooth,
       sectionSort,
       showMetadataItem,
       siderealTime,
       sigmaTheta,
       silicate,
       "silicate<-",
       subset.oce,
       summary.ctd,
       summary.echosounder,
       summary.lisst,
       summary.met,
       summary.sealevel,
       sunAngle,
       swAbsoluteSalinity, # TEOS-10b
       swAlpha,
       swAlphaOverBeta,
       swBeta,
       swConductivity,
       swConservativeTemperature, # TEOS-10
       swDepth,
       swZ,
       swDynamicHeight,
       swLapseRate,
       swN2,
       swRho,
       swSCTp,
       swSigma,
       swSigmaT,
       swSigmaTheta,
       swSoundSpeed,
       swSpecificHeat,
       swSpice,
       swSTrho,
       swTFreeze,
       swTheta,
       swTSrho,
       swViscosity,
       subtractBottomVelocity,
       temperature,
       "temperature<-",
       teos,
       teosSetLibrary,
       threenum,
       tidem,
       tidemAstron,
       tidemVuf,
       time.oce,
       toEnu,
       toEnuAdp,
       toEnuAdv,
       topoInterpolate,
       integrateTrapezoid,
       tritium,
       unabbreviateYear,
       undriftTime,
       unwrapAngle,
       useHeading,
       vectorShow,
       velocity,
       velocityStatistics,
       webtide,
       window.oce,
       write.ctd,
       xyzToEnu,
       xyzToEnuAdp,
       xyzToEnuAdv)

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

## Note: comment out items as they are made into S4, and remove the block when done
S3method(predict, tidem)
S3method(summary, adp)
S3method(summary, adv)
S3method(summary, cm)
S3method(summary, coastline)
##S3method(summary, ctd)
S3method(summary, drifter)
##S3method(summary, lisst)
S3method(summary, lobo)
S3method(summary, oce)
##S3method(summary, sealevel)
S3method(summary, section)
S3method(summary, tdr)
S3method(summary, tidem)
S3method(summary, topo)
S3method(summary, windrose)

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

