org.mbari.siam.utils
Class Adcp2Oasis
java.lang.Object
org.mbari.siam.utils.Adcp2Oasis
public class Adcp2Oasis
- extends java.lang.Object
Quick and dirty hack to convert ASCII hex ADCP data
from SSDS website to OASIS format for QC by NPS (Fred Bahr).
The OASIS record consists of a timestamp (decimal day of year) followed by
the ASCII hex adcp data, separated by whitespace.
Sends data to standard out; for piping and redirection to output file
or other processes
infile path to input data file
timestampField Field index of timestamp in input data record
dataField Field index of data in input data record
- See Also:
OasisTimestamp
|
Method Summary |
static void |
main(java.lang.String[] args)
|
void |
process(java.lang.String infile,
int tsField,
int dataField)
This is the processing loop. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
process
public void process(java.lang.String infile,
int tsField,
int dataField)
- This is the processing loop.
- Parameters:
infile - path to input data filetsField - Field index of timestamp in input data recorddataField - Field index of data in input data record- See Also:
OasisTimestamp
main
public static void main(java.lang.String[] args)
Copyright © 2003 MBARI.
The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.