.TH X2SYS_PUT 1gmt "Feb 27 2014" "GMT 4.5.13 (SVN)" "Generic Mapping Tools" .SH NAME x2sys_put \- Update x2sys track data bases .SH SYNOPSIS \fBx2sys_put\fP [ \fIinfo.tbf\fP ] \fB\-T\fP\fITAG\fP [ \fB\-D\fP ] [ \fB\-F\fP ] [ \fB\-V\fP ] .SH DESCRIPTION \fBx2sys_put\fP accepts a track bin-index file created by \fBx2sys_binlist\fP and adds this information about the data tracks to the relevant data base. You may chose to overwrite existing data with new information for older tracks (\fB\-F\fP) and even completely remove information for certain tracks (\fB\-D\fP). The x2sys \fITAG\fP must match the tag encoded in the \fIinfo.tbf\fP file. To inquire about tracks in the data base, use \fBx2sys_get\fP. .TP \fB\-T\fP Specify the x2sys \fITAG\fP which tracks the attributes of this data type. .SH OPTIONS No space between the option flag and the associated arguments. .TP \fIinfo.tbf\fP Name of a single track bin file. If not given, stdin will be read. .TP \fB\-D\fP Delete all tracks found in the track bin file [Default will try to add them as new track entries]. .TP \fB\-F\fP Replace any existing database information for these tracks with the new information in the track bin file [Default refuses to process tracks already in the database]. .TP \fB\-V\fP Selects verbose mode, which will send progress reports to stderr [Default runs "silently"]. .SH EXAMPLES To add the information stored in the track bin-index file latest.tbf to the track data bases associated with the tag MGD77, and replace any exiting information for these tracks, try .br .sp \fBx2sys_put\fP latest.tbf \fB\-F\fP \fB\-V\fP \fB\-T\fP MGD77 .SH X2SYS DATABASES The \fBx2sys_put\fP utility adds new information to the x2sys data bases. These consists of two files: The first file contains a listing of all the tracks that have been added to the system; it is named \fITAG\fP_tracks.d and is in ASCII format. The second file is named \fITAG\fP_index.b and is in native binary format. It contains information on which tracks cross each of the bins, and what data sets were observed while crossing the bin. The bins are defined by the \fB\-R\fP and \fB\-I\fP options passed to \fBx2sys_init\fP when the \fITAG\fP was first initiated. Both data base files are stored in the \fB$X2SYS_HOME\fP/\fITAG\fP directory. Do not attempt to edit these files by hand. .SH "SEE ALSO" .IR x2sys_binlist (1), .IR x2sys_get (1)