.if n .ds Q \&" .if t .ds Q `` .if n .ds U \&" .if t .ds U '' .TH splitc78 1 "CODAS Utilities" "GFI" .tr \& .nr bi 0 .nr ll 0 .nr el 0 .de DS .. .de DE .. .de Pp .ie \\n(ll>0 \{\ .ie \\n(bi=1 \{\ .nr bi 0 .if \\n(t\\n(ll=0 \{.IP \\(bu\} .if \\n(t\\n(ll=1 \{.IP \\n+(e\\n(el.\} .\} .el .sp .\} .el \{\ .ie \\nh=1 \{\ .LP .nr h 0 .\} .el .PP .\} .. .SH NAME .Pp \fBsplitc78\fP - Split C78 CTD files .SH USAGE .Pp \fBsplitc78\fP \fIf1\fP \fIf2\fP ... .SH DESCRIPTION .Pp This Perl utility splits a C78 CTD format data file into separate C78 profiles. This is necessary for loading C78 CTD data into a CODAS database, as the present version of \fBload_ctd\fP(1) for C78 files does not work for input files containing more than one profile. .Pp Command line parameters \fIf1\fP, \fIf2\fP, ... are names of C78 data files to split. This utility will generate a file for each profile in the current directory. Output files are named \fBssr.\fP\fIXXX\fP, where \fIXXX\fP is a 3-digit number starting from \fB001\fP. An error occurs if more than \fB999\fP profiles are encountered. .SH AUTHOR .Pp Pierre Jaccard, Geophysical Institute, University of Bergen, 1999.