eusoubrasileiro / geonumerics

Numerical tools for geology and geophysics (Python and C tools) G&G sandbox
http://numericalearth.blogspot.com.br/
6 stars 2 forks source link

Python to Segy tool #3

Closed eusoubrasileiro closed 9 years ago

eusoubrasileiro commented 9 years ago

:: For future steps to play with migration after.

eusoubrasileiro commented 9 years ago
eusoubrasileiro commented 9 years ago
eusoubrasileiro commented 9 years ago

For ctypes structure usage in python, reading data from C

http://stackoverflow.com/questions/1825715/how-to-pack-and-unpack-using-ctypes-structure-str

http://docs.python.org/2/library/ctypes.html?highlight=ctypes#structures-and-unions

Also readinto and write for writting/reading structures.

eusoubrasileiro commented 9 years ago

Corrigindo http://docs.obspy.org/packages/obspy.segy.html Parece funcionar mesmo, devo tentar uma hora.

eusoubrasileiro commented 9 years ago

Revision: 5e0eaef893de after joining fatiando and started own development it was abandoned. Tentative code saved for memory. (others/psegy.tar.gz).

!Best choice is as above Obspy!! Very documented, amazing class design and broad community.