DOCUMENTATION
SYNOPSIS
PROGRAM NAME: premmod.pm
AUTHOR: Juan Lorenzo
DATE: June 8 2018
DESCRIPTION:
Version 0.0.3
USE
NOTES This program module is used to read a SU file, creates the file: datammod which is a binary fortran file containing the SU file with no headers, and that can be read by program mmodpg. It also creates the ascii file: parmmod containing basic parameters of the SU file (ntr,ns,dt) also used by mmodpg.
Examples
CHANGES and their DATES August, 2001 a Perl version from Emilio Vera Version: 0.0.1 4-22-19 Version: 0.0.2 Feb 6 2020 as premmod.pl Version: 0.0.3 turn into module
Define local variables
import variables
Declare local variables
private hash
Get starting configuration parameters
sub clear private hash variables
sub out_header_values to FILE
sub set_binary_strip
Set up sustrip parameter values
DEFINE FLOW(s)
RUN FLOW(s)
make lock file before writing and release lock file after writing
LOG FLOW(s)
to screen and FILE