Useful commands for data processing in Madagascar
Segy to RSF
sfsegyread < file.sgy > file.rsf
Plot from .rsf
sfgrey < file.rsf | sfpen if complex, pipe ```| sfreal | sfpen```
Brief about the .rsf
sfin < file.rsf
Crop window from .rsf
sfwindow < file.rsf n1=2000 n2=500 > file2.rsf
Example: sfwindow < file.rsf n1=2000 n2=500 | sfgrey | sfpen