suaddhead.su.main

来自「su 的源代码库」· MAIN 代码 · 共 42 行

MAIN
42
字号
char*  sdoc[] = { SUADDHEAD - put headers on bare traces and set the tracl and ns fields suaddhead <stdin >stdout ns= ftn=0					 Required parameter:							 	ns=the number of samples per trace				 Optional parameter:							ifdef SU_LINE_HEADER	head=           file to read headers in				                       not supplied --  will generate headers 		                       given        --  will read in headers and attach                                        floating point arrays to form 	                                        traces 			",                        (head can be created via sustrip program)	endif 	ftn=0		Fortran flag					 			0 = data written unformatted from C		 			1 = data written unformatted from Fortran	       tsort=3         trace sorting code:				                                1 = as recorded (no sorting)		                                2 = CDP ensemble			                                3 = single fold continuous profile	                                4 = horizontally stacked		",        ntrpr=1         number of data traces per record		                       if tsort=2, this is the number of traces per cdp",  Trace header fields set: ns, tracl					 Use sushw/suchw to set other needed fields.				 Caution: An incorrect ns field will munge subsequent processing.	 Note:    n1 and nt are acceptable aliases for ns.			 Example:								 suaddhead ns=1024 <bare_traces | sushw key=dt a=4000 >segy_traces	 This command line adds headers with ns=1024 samples.  The second part	 of the pipe sets the trace header field dt to 4 ms.			

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?