the Fink project is an effort to port
popular Unix programs to Mac OS X
Info2: <<
Package: simplesegy-py%type_pkg[python]
Version: 0.7
Revision: 1
Homepage: http://vislab-ccom.unh.edu/~schwehr/software/simplesegy/
Maintainer: Kurt Schwehr
Type: python (2.6 2.7)
Depends: python%type_pkg[python], cheetah-py%type_pkg[python]
BuildDepends: setuptools-py%type_pkg[python]
Source: http://vislab-ccom.unh.edu/~schwehr/software/simplesegy/downloads/simplesegy-%v.tar.bz2
Source-MD5: ef446475702d1b730ea67c3cc0b534bd
CompileScript: <<
echo "Nothing to compile"
<<
InstallScript: <<
#!/bin/bash -ev
python%type_raw[python] setup.py install --prefix=%p --root=%d
mv %i/bin/segy-metadata %i/bin/segy-metadata%type_raw[python]
mv %i/bin/segy-info %i/bin/segy-info%type_raw[python]
mv %i/bin/segy-slice %i/bin/segy-slice%type_raw[python]
mv %i/bin/segy-validate %i/bin/segy-validate%type_raw[python]
<<
PostInstScript: <<
update-alternatives --install %p/bin/segy-metadata segy-metadata %p/bin/segy-metadata%type_raw[python] %type_pkg[python]
update-alternatives --install %p/bin/segy-info segy-info %p/bin/segy-info%type_raw[python] %type_pkg[python]
update-alternatives --install %p/bin/segy-slice segy-slice %p/bin/segy-slice%type_raw[python] %type_pkg[python]
update-alternatives --install %p/bin/segy-validate segy-validate %p/bin/segy-validate%type_raw[python] %type_pkg[python]
<<
PreRmScript: <<
update-alternatives --remove segy-metadata %p/bin/segy-metadata%type_raw[python]
update-alternatives --remove segy-info %p/bin/segy-info%type_raw[python]
update-alternatives --remove segy-slice %p/bin/segy-slice%type_raw[python]
update-alternatives --remove segy-validate %p/bin/segy-validate%type_raw[python]
<<
DocFiles: <<
README VERSION docs
<<
License: OSI-Approved
Description: Segy seismic data reader
DescDetail: <<
Very simple access to SEG-Y Revision 0 or 1 files. Only implements reading.
<<
DescUsage: <<
python
from simplesegy import segy
sgy = segy.Segy('foo.sgy')
sgy.trace_metadata()
(
(142.52074472222222, 14.634158055555556),
(142.67233305555555, 15.039263055555555),
(datetime.datetime(2007, 11, 29, 13, 24, 20),
datetime.datetime(2007, 11, 29, 15, 18, 33))
)
print sgy.hdr_text
for trace in sgy:
print trace.position_geographic(), trace.datetime(), trace.min, trace.sec
<<
# Info2
<<