Query related to conversion of segy file and .su files using Seismic Unix


 
Thread Tools Search this Thread
Operating Systems Linux Ubuntu Query related to conversion of segy file and .su files using Seismic Unix
# 1  
Old 08-22-2012
Query related to conversion of segy file and .su files using Seismic Unix

hi

M using ubuntu 11.04....and has installed Seismic Unix on it....
I want to process some unprocessed segy data using Seismic Unix....
i have converted .segy file to .su using

segyread tape=file1.seg verbose=1 endian=0 | segyclean > smallfile.su

and got 3 files
-smallfile.su
-header
-binary
Now my queries are:
1. How to verify that .su file created is valid or not?
2. The .su file i got ....Is this the processed file?
-Or the processing is yet to be performed on this .su file?
-If it is processed how to read data from it?
2. How to convert .su file to .seg file?

as when m running

segywrite < smallfile.su tape=file1.seg verbose=1 endian=0 | < processedfile.seg
its giving error as
segywrite: fgettr.c: bad first header
plzz help..
Regards..

Last edited by Ankita Singla; 08-22-2012 at 09:13 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Emergency UNIX and Linux Support

Interfaces related query

I need to list the interfaces that uses FTP instead of SFTP on my applications that are on AIX servers. How do I get that list of IP addresses that connect to my applications via FTP? (2 Replies)
Discussion started by: ggayathri
2 Replies

2. UNIX for Dummies Questions & Answers

unix commands related to ftp of files..

Hi, I am new to unix , I was planning to write a script that will FTP files to destination folder. , Please guide me what are the various networking commands that unix will help in this ftp process..?:confused: (1 Reply)
Discussion started by: rahul125
1 Replies

3. UNIX for Dummies Questions & Answers

query related to grep

Hi All, The result for 'grep "cert_codes" /develop/sales/appl.srce/*.4gl' command will be saved at aa.txt grep "cert_codes" /develop/sales/appl.srce/*.4gl >aa.txt But I am not sure, whether, all result stored in .txt file in case of multi-line result. Please revert back if... (2 Replies)
Discussion started by: pbankar
2 Replies

4. UNIX for Dummies Questions & Answers

A query related to 'ls' command

I am executing the ls command to show the contents of a folder, it shows some number in front of word total as highlighted in blue color below quotes. Can anyone please share that what it is? (2 Replies)
Discussion started by: Zaib
2 Replies

5. Shell Programming and Scripting

datetimestamp related query!

Hi all, I have put a query in a thread but didn't get any reply. Hoping to get a reply here. I have a file in that one line resembles like below... Forwarded by Deepak on 11/15/2009 10:28 AM EST ofcourse AM can be PM also... so what i need is first i need to get only... (1 Reply)
Discussion started by: smarty86
1 Replies

6. UNIX and Linux Applications

Seismic Unix

Hello, is there anybody who has experiences with the program "seismic unix" and the included data-format .su. I want to convert su in segy format. Is there anybody who knows, if this is possible? Thanks a lot Christine (1 Reply)
Discussion started by: Christine_83
1 Replies

7. Shell Programming and Scripting

query related to if

wht does below statement mean? if wht does dis -d option do?? TIA. (1 Reply)
Discussion started by: sainathdeg
1 Replies

8. UNIX for Dummies Questions & Answers

awk related query

hi, I have to extract a column from a file and then updated that column..?? Now i can use wak for extracting it and then how to update it.. $ awk' {print $5}' input_file Can i use sed command here piping it to the output from the awk command.. (2 Replies)
Discussion started by: abhisek.says
2 Replies

9. Shell Programming and Scripting

sed related query

Hi I have a file which looks like this //string = "abcd"; //info //string = "*pqrs"; //add string = "#123"; //sub //string = "#1234567890" data = check(string) //string = "#1234567890" I want to modify this as string = "#987"; //mult data = check(string) How do i do that? (1 Reply)
Discussion started by: gopsman
1 Replies

10. Shell Programming and Scripting

Query related to #!/bin/sh

hi All Why is #!/bin/sh being used in most of the ksh scripts......? I have seen this (#!/bin/sh) being used at the start of the script Regards Suresh (2 Replies)
Discussion started by: sureshg_sampat
2 Replies
Login or Register to Ask a Question
SEGY2GRD(1gmt)						       Generic Mapping Tools						    SEGY2GRD(1gmt)

NAME
segy2grd - Converting SEGY file to grid file format SYNOPSIS
segy2grd segyfile -Ggrdfile -Ixinc[unit][=|+][/yinc[unit][=|+]] -Rwest/east/south/north[r] [ -A[n|z] ] [ -Dxname/yname/zname/scale/off- set/title/remark ] [ -F ] [ -Nnodata ] [ -S[zfile] ] [ -V ] [ -Z[flags] ] [ -:[i|o] ] [ -bi[s|S|d|D[ncol]|c[var1/...]] ] DESCRIPTION
segy2grd reads an IEEE SEGY file and creates a binary grid file. Either a simple mapping (equivalent to xyz2grd -Z) or a more complicated averaging where a particular grid cell includes values from more than one sample in the SEGY file can be done. segy2grd will report if some of the nodes are not filled in with data. Such unconstrained nodes are set to a value specified by the user [Default is NaN]. Nodes with more than one value will be set to the average value. segyfile is an IEEE floating point SEGY file. Traces are all assumed to start at 0 time/depth. -G grdfile is the name of the binary output grid file. -I x_inc [and optionally y_inc] is the grid spacing. Append m to indicate minutes or c to indicate seconds. -R west, east, south, and north specify the Region of interest, and you may specify them in decimal degrees or in [+-]dd:mm[:ss.xxx][W|E|S|N] format. Append r if lower left and upper right map coordinates are given instead of w/e/s/n. The two shorthands -Rg and -Rd stand for global domain (0/360 and -180/+180 in longitude respectively, with -90/+90 in latitude). Alterna- tively, specify the name of an existing grid file and the -R settings (and grid spacing, if applicable) are copied from the grid. OPTIONS
-A Add up multiple values that belong to the same node (same as -Az). Append n to simply count the number of data points that were assigned to each node. [Default (no -A option) will calculate mean value]. Not used for simple mapping. -D Give values for xname, yname, zname, scale, offset, title, and remark. To leave some of these values untouched, specify = as the value. -F Force pixel registration [Default is grid registration]. -N No data. Set nodes with no input sample to this value [Default is NaN]. -S set variable spacing header is c for cdp, o for offset, b<number> for 4-byte float starting at byte number If -S not set, assumes even spacing of samples at the dx, dy supplied with -I -L Override number of samples in each trace -X applies scalar x-scale to coordinates in trace header to match the coordinates specified in -R -Y Specifies sample interval as s_int if incorrect in the SEGY file -M Fix number of traces to read in. Default tries to read 10000 traces. -M0 will read number in binary header, -Mn will attempt to read only n traces. -V Selects verbose mode, which will send progress reports to stderr [Default runs "silently"]. EXAMPLES To create a grid file from an even spaced SEGY file test.segy, try segy2grd test.segy -I0.1/0.1 -Gtest.grd -R198/208/18/25 -V Note that this will read in 18-25s (or km) on each trace, but the first trace will be assumed to be at X=198 To create a grid file from the SEGY file test.segy, locating traces according to the CDP number, where there are 10 CDPs per km and the sample interval is 0.1, try segy2grd test.segy -Gtest.grd -R0/100/0/10 -I0.5/0.2 -V -X0.1 -Y0.1 Because the grid interval is larger than the SEGY file sampling, the individual samples will be averaged in bins SEE ALSO
GMT(1), grd2xyz(1), grdedit(1), pssegy(1) GMT 4.5.7 15 Jul 2011 SEGY2GRD(1gmt)