Parse a latitude or longitude string, e.g. as in the header of a CTD file The following formats are understood (for, e.g. latitude):
Note that iconv()
is called to convert the string to ASCII before
decoding, to change any degree (or other non-ASCII) symbols to blanks.
Usage
parseLatLon(line, debug = getOption("oceDebug"))
See also
Used by read.ctd()
.