DOCUMENTATION

SYNOPSIS

PROGRAM NAME: Segdread 
AUTHOR: Juan Lorenzo
DESCRIPTION: script to read segd files
DATE Version 1 June 22, 2016

Simple pseudo code

Segdread

Import

perl classes container and system variables
take variables and packages directly from
the path to the library, so as to minimize memory use

Requires

package from a local subdirectory (libAll) 
to define input file names and their number
For example, total number of files =74  first file is "1000.segd"

Instantiate classes

message,flow,segdread 

Declare variables

Make them local 

Protect global numeric values

from change in this program 

Establish

file names and directories
inbound and outbound refer to complete paths 

Create file names in a loop

Convert segd to su-formatted files

Information about data files

input files come from Sercel SN388 system

segdread settings

DEFINE FLOW(S)

RUN FLOW(S)

LOG FLOW(S)