DOCUMENTATION

SYNOPSIS

PROGRAM NAME: mkparfile 
AUTHOR: Juan Lorenzo 
DATE:   Sept. 15 2015 
DESCRIPTION: 
Version: 1

USE

NOTES

Examples

SEISMIC UNIX NOTES

CHANGES and their DATES

SEISMIC UNIX NOTES

 MKPARFILE - convert ascii to par file format 				
 									
 mkparfile <stdin >stdout 						
 									
 Optional parameters:							
 	string1="par1"	first par string			
 	string2="par2"	second par string			
 									
 This is a tool to convert values written line by line to parameter 	
 vectors in the form expected by getpar.  For example, if the input	
 file looks like:							
 	t0 v0								
 	t1 v1								
	...								
 then									
	mkparfile <input >output string1=tnmo string2=vnmo		
 yields:								
	tnmo=t0,t1,...							
	vnmo=v0,v1,...							
 			

STEPS

1. define the types of variables you are using
   these would be the values you enter into 
   each of the Seismic Unix programs 

2. build a list or hash with all the possible variable
   names you may use and you can even change them

subroutine clear

sets all variable strings to '' 

subroutine string1

sets first data column  in files

subroutine string2

sets first data column  in files

subroutine Step

collects all program switches with the correct
format 

subroutine note

collects programs and their parameters for later logging

Warnings for programmers

packages must end with
1;