Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv19824

Added Files:
        simplesegy-py.info 
Log Message:
small python library to read segy


--- NEW FILE: simplesegy-py.info ---
Info2: <<
Package: simplesegy-py%type_pkg[python]
Version: 0.3
Revision: 1

Homepage: http://vislab-ccom.unh.edu/~schwehr/software/simplesegy/
Maintainer: Kurt Schwehr <[email protected]>

Type: python (2.6)
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: 019b808bec542b64c0a7566c489f4966    

CompileScript: <<
  echo "Nothing to compile"
<<

InstallScript: <<
  python%type_raw[python] setup.py install --prefix=%p --root=%d
  mv %i/bin/segy-metadata %i/bin/segy-metadata%type_raw[python]
<<

PostInstScript: <<
 update-alternatives --install %p/bin/segy-metadata segy-metadata 
%p/bin/segy-metadata%type_raw[python] %type_pkg[python] 
<<
PreRmScript: <<
 update-alternatives --remove segy-metadata 
%p/bin/segy-metadata%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
<<

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to