.TH X2SYS_LIST 1gmt "Feb 27 2014" "GMT 4.5.13 (SVN)" "Generic Mapping Tools" .SH NAME x2sys_list \- Output a subset of crossovers from data base .SH SYNOPSIS \fBx2sys_list\fP \fB\-C\fP\fIcolumn\fP \fB\-T\fP\fITAG\fP [ \fIcoedbase.txt\fP ] [ \fB\-A\fP\fIasymm_max\fP ] [ \fB\-F\fP\fIacdhiInNtTvwxyz\fP ] [ \fB\-I\fP[\fIlist\fP] ] [ \fB\-L\fP[\fIcorrtable\fP] ] [ \fB\-N\fP\fInx_min\fP ] [ \fB\-Qe\fP|\fBi\fP ] [ \fB\-R\fP\fIwest\fP/\fIeast\fP/\fIsouth\fP/\fInorth\fP[\fBr\fP] ] [ \fB\-S\fP[\fB+\fP]\fItrack\fP ] [ \fB\-V\fP ] [ \fB\-W\fP[\fIlist\fP] ] [ \fB\-bo\fP[\fBs\fP|\fBS\fP|\fBd\fP|\fBD\fP[\fIncol\fP]|\fBc\fP[\fIvar1\fP\fB/\fP\fI...\fP]] ] [ \fB\-m\fP[\fIflag\fP] ] .SH DESCRIPTION \fBx2sys_list\fP will read the crossover ASCII data base \fIcoedbase.txt\fP (or \fIstdin\fP) and extract a subset of the crossovers based on the other arguments. The output may be ASCII or binary. .TP \fB\-C\fP Specify which data column you want to process. Crossovers related to this column name must be present in the crossover data base. .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 .I coedbase.txt The name of the input ASCII crossover error data base as produced by \fBx2sys_cross\fP. If not given we read standard input instead. .TP \fB\-A\fP Specifies maximum asymmetry in the distribution of crossovers relative to the mid point in time (or distance, if time is not available). Asymmetry is computed as (n_right - n_left)/(n_right + n_left), referring the the number of crossovers that falls in the left or right half of the range. Symmetric distributions will have values close to zero. If specified, we exclude tracks whose asymmetry exceeds the specify cutoff in absolute value [1, i.e., include all]. .TP \fB\-F\fP Specify your desired output using any combination of \fIacdhiInNtTvwxyz\fP, in any order. Do not use space between the letters, and note your selection is case-sensitive. The output will be ASCII (or binary, see \fB\-bo\fP) columns of values. Description of codes: \fBa\fP is the angle (< 90) defined by the crossing tracks, \fBc\fP is crossover value of chosen observation (see \fB\-C\fP), \fBd\fP is distance along track, \fBh\fP is heading along track, \fBi\fP is the signed time interval between the visit at the crossover of the two tracks involved, \fBI\fP is same as \fBi\fP but is unsigned, \fBn\fP is the names of the two tracks, \fBN\fP is the id numbers of the two tracks, \fBt\fP is time along track in \fIdate\fP\fBT\fP\fIclock\fP format (NaN if not available), \fBT\fP is elapsed time since start of track along track (NaN if not available), \fBv\fP is speed along track, \fBw\fP is the composite weight, \fBx\fP is \fIx\fP-coordinate (or longitude), \fBy\fP is \fIy\fP-coordinate (or latitude), and \fBz\fP is observed value (see \fB\-C\fP) along track. If \fB\-S\fP is not specified then \fBd,h,n,N,t,T,v\fP results in two output columns each: first for track one and next for track two (in lexical order of track names); otherwise, they refer to the specified track only (except for \fBn,N\fP which then refers to the other track). The sign convention for \fBc,i\fP is track one minus track two (lexically sorted). Time intervals will be returned according to the \fBTIME_UNIT\fP GMT defaults setting. .TP \fB\-I\fP Name of ASCII file with a list of track names (one per record) that should be excluded from consideration [Default includes all tracks]. .TP \fB\-L\fP Apply optimal corrections to the chosen observable. Append the correction table to use [Default uses the correction table \fITAG\fP_corrections.txt which is expected to reside in the \fB$X2SYS_HOME\fP/\fITAG\fP directory]. For the format of this file, see \fBx2sys_solve\fP. .TP \fB\-N\fP Only report data from pairs that generated at least \fInx_min\fP crossovers between them [use all pairs]. .TP \fB\-Q\fP Append \fBe\fP for external crossovers or \fBi\fP for internal crossovers only [Default is all crossovers]. .TP \fB\-R\fP \fIwest, east, south,\fP and \fInorth\fP specify the Region of interest, and you may specify them in decimal degrees or in [+-]dd:mm[:ss.xxx][W|E|S|N] format. Append \fBr\fP if lower left and upper right map coordinates are given instead of w/e/s/n. The two shorthands \fB\-Rg\fP and \fB\-Rd\fP stand for global domain (0/360 and -180/+180 in longitude respectively, with -90/+90 in latitude). Alternatively, specify the name of an existing grid file and the \fB\-R\fP settings (and grid spacing, if applicable) are copied from the grid. For Cartesian data just give \fIxmin/xmax/ymin/ymax\fP. This option limits the COEs to those that fall inside the specified domain. .TP \fB\-S\fP Name of a single track. If given we restrict output to those crossovers involving this track [Default output is crossovers involving any track pair]. Prepend a '+' to make it print info relative to both tracks [Default is selected track]. This applies only to common information such as distance, time, heading (see \fB\-F\fP for details). .TP \fB\-V\fP Selects verbose mode, which will send progress reports to stderr [Default runs "silently"]. .TP \fB\-W\fP Name of ASCII file with a list of track names and their relative weights (one track per record) that should be used to calculate the composite crossover weight (output code \fBw\fP above). [Default sets weights to 1]. .TP \fB\-bo\fP Selects binary output. Append \fBs\fP for single precision [Default is \fBd\fP (double)]. Uppercase \fBS\fP or \fBD\fP will force byte-swapping. Optionally, append \fIncol\fP, the number of desired columns in your binary output file. .TP \fB\-m\fP Multiple segment output format. Segments with crossovers for a single track pair are separated by a record whose first character is \fIflag\fP and contains the two track names. [Default is '>']. .SH EXAMPLES To find all the magnetic crossovers associated with the tag MGD77 from the file COE_data.txt, restricted to occupy a certain region in the south Pacific, and return location, time, and crossover value, try .br .sp \fBx2sys_list\fP COE_data.txt \fB\-V\fP \fB\-T\fP MGD77 \fB\-R\fP 180/240/-60/-30 \fB\-C\fP mag \fB\-F\fP xytz > mag_coe.txt .br .sp To find all the faa crossovers globally that involves track 12345678 and output time since start of the year, using a binary double precision format, try .br .sp \fBx2sys_list\fP COE_data.txt \fB\-V\fP \fB\-T\fP MGD77 \fB\-C\fP faa \fB\-S\fP 12345678 \fB\-F\fP Tz \fB\-bod\fP > faa_coe.b .SH "SEE ALSO" .IR x2sys_binlist (1), .IR x2sys_cross (1), .IR x2sys_datalist (1), .IR x2sys_get (1), .IR x2sys_init (1), .IR x2sys_put (1), .IR x2sys_report (1), .IR x2sys_solve (1)