DESCRIPTION
The --coord-unit option is designed to allow use of databases that
exclude the CoordUnit field. This field is probably the same for all
traces in the majority of SEGY data files, so most segy-py drivers will
want to exclude coordunit from the short list (see segysql.py). The
values are taken from page 14 of the SEG-Y Rev 1 specification
-1 = Follow field 89-90 of the trace header
1 = Length (meters or feet) [NOT supported]
2 = Seconds of arc
3 = Degrees, minutes, seconds (DMS) [NOT SUPPORTED]
usage: segysqlgmt.py [options]
options:
--version
show program's version number and exit
-h, --help
show this help message and exit
-d DBFILENAME, --database=DBFILENAME
Database containing imported segy file and trace header info
[default: segy.db]
-m MINFILEKEY, --min-file-key=MINFILEKEY
Set this to start processing at a certain file index [default:
none]
-M MAXFILEKEY, --max-file-key=MAXFILEKEY
Set this to end processing at a certain file index [default:
none]
-F FLEDERMAUS, --fledermaus=FLEDERMAUS
Output a text file suitable for IVS Fledermaus. Skips other
types. [default: none]
-P FLEDERMAUSPTS, --fledermaus-pts=FLEDERMAUSPTS
Output a text file suitable for IVS Fledermaus point import.
Uses --key. Skips other types. [default: none]
-l SHOTLINEFILENAME, --line-file=SHOTLINEFILENAME
Where to write the unique shot location line info [default:
shot-locations.psxy]
-L, --skip-line
Skip the shot line points [default: False]
-s SHOTTEXTFILENAME, --shot-label-file=SHOTTEXTFILENAME
Where to write the shot labels for every Nth shot [default:
shot-labels.pstext]
Divide by the scaler coord field in the trace header to get the
true lat/lon
-x, --flip-x
Multiply the x coordinate by -1
-y, --flip-y
Multiply the x coordinate by -1
-k KEY, --key=KEY
segyTrace label to use for the shot text. e.g. traceNumber or
EnsembleNo [default: Shotpoint]
-c FORCECOORDUNIT, --coord-unit=FORCECOORDUNIT
Force a SEGY coordinate system, e.g. 2 == seconds of arc. Use
this for short format databases. [default: follow file]
-H FORCEHEMISPHERE, --force-hemisphere=FORCEHEMISPHERE
Force hemisphere for shots that have bad navigation. 0-NW,
1-NE, 2-SW, 3-SE
-u, --from-utm
Assume x and y are in UTM and convert to Long/Lat
-z UTMZONE, --utm-zone=UTMZONE
Specify the UTM zone if converting from UTM to Long/Lat
-Z, --skip-zeros
Skip points that have 0 0 stored in the x,y fields
--trace-key=TRACEKEY
Which key to use for limiting trace range. Shotpoint, Ensem-
bleNo, LineSeqNo, etc
--trace-min=TRACERANGEMIN
What is the first number to include? Defaults to the first
trace
--trace-max=TRACERANGEMAX
What is the last number to include? Defaults to the end trace
-v, --verbose
how much information to give. Specify multiple times to
increase verbosity
--verbosity=VERBOSITY
Specify verbosity. Should be in the range of 0...4 (None...Bom-
bastic)
--noisy
Go for the max verbosity [8]
Man(1) output converted with
man2html