Skip to contents

This is a high-level function that passes control to read.glider.netcdf() if the first argument is a string ending with ".nc", to read.glider.seaexplorer.realtime() if it is a vector of strings, any of which contains the text "pld1.sub." followed by one or more digits, or to read.glider.seaexplorer.delayed() if it is a vector of strings, any contains the text "pld1.raw." followed by one or more digits.

Usage

read.glider(file, debug, ...)

Arguments

file

Character value giving the name of the file.

debug

an integer specifying whether debugging information is to be printed during processing. If this is not provided, then the value of getOption("gliderDebug",0) is used. The printing is done by a call to gliderDebug. Setting debug=0 turns off this form of debugging, while higher values may yield more information, depending on the function. If one glider function calls another, it passes the value of debug but decreased by 1, which means that the value of debug controls not just the breadth of debugging, but also the depth.

...

Extra parameters passed to more specific read.* functions.

Value

A glider object, i.e. one inheriting from glider.

Author

Dan Kelley