DOCUMENTATION

SYNOPSIS

PERL PROGRAM NAME: data_out.pm 
AUTHOR: Juan Lorenzo (Perl module only)
DATE: 		June 22 2017
 

DESCRIPTION 
    

BASED ON:
Version 0.0.1 June 22 2017

Version 0.0.2 July 26 2018

Version 0.0.3 August 30 2021

USE

Use abbreviations such as bin sgy txt and su to automatically access directories that contain the types of files represented by these suffixes.

For example, all segy-type files are placed in the same directory If you want to find one of these files, place the parameter = sgy on the second line (suffix_type)

To automatically go to the segy-type directory, click on MB-3 while over the first parameter input (base_file_name)

NOTES

Examples

CHANGES and their DATES

Version 0.02 July 22 2018 added subs: 
	suffix_type, inbound  _get_inbound
	_get_suffix, _get_DIR

Version 0.03  All file without a suffix
in which case the default PATH is the
path of PL_SEISMIC

Notes from bash

Instantiate packages

subroutine _get_DIR

send PATH for suffix_suffix_type
suffix_type can be su txt sgy or su
or nothing, in which case the file
goes to the PL_SEISMIC directory
by default

subroutine _get_suffix

send PATH for suffix_type
suffix_type can be su txt sgy or su

subroutine Step

adds the program name

subroutine _get_outbound

suffix_type can be su txt sgy or su

sub base_file_name

	has no suffix
  

sub base_file_name_sref

	has no suffix
  

subroutine clear

sets all variable strings to '' 

sub full_file_name

	hase plus suffix
  

subroutine get_inbound

suffix_type can be su txt sgy or su

sub file_name you need to know how many numbers per line will be in the output file

sub get_max_index

max index = number of input variables -1

subroutine note adds the program name

subroutine suffix_type

suffix_type can be su txt sgy or su

subroutine type

suffix_type can be:
	bin
  sgy
	su 
	txt
	legacy: as of Oct 31, 2018