Author: totosugito

Install Seplib Seismic Processing

SEPlib is an open-source software package for seismic data processing developed at the Stanford Exploration Project. We can download seplib at http://sepwww.stanford.edu/doku.php?id=sep:software:seplib. When I checked at this URL, I get new version of seplib is seplib-6.5.3. I get new seplib-7.0.4 when ask how to install seplib to Bob, so you can download seplib-7.04 at this

C/C++ declared with attribute warn_unused_result

I want to read a text file with C. This is my simple ilustration code : FILE *offsetFile=NULL; char *buffer; int cbyte; cbyte = 100; buffer = (char*) calloc (cbyte, sizeof(char)); offsetFile = fopen("listOffset.txt", "r"); if (offsetFile==NULL) { exit(0); } fgets (buffer, cbyte, offsetFile); When I compile this code I get warning message : ignoring

Eclipse : add automatic include folder

Eclipse is a  C, C++, Java and other programming language editor. I use this editor to create program with C/C++. When I use this editor, I have a problem to add include directory to eclipse editor. Right click at your project folder in Eclipse and choose Properties (Alt+Enter).  Locate and click Paths and Symbols menu.

Seismic Unix Can’t Open SU File

Seismic Unix (SU) is a free software seismic processing. SU is not a replacement for commercial seismic packages. Commercial seismic software packages are industrial-strength utilities designed for the express purpose of production-level seismic processing. A problem when use data in SU format is compatibility with other SU format in other computer. For example. We compile