DOCUMENTATION
SYNOPSIS
PROGRAM NAME: sudoc2pm_pt1.pm
AUTHOR: Juan Lorenzo
DATE: Jan 25 2018
DESCRIPTION: generate (1) package for sunix module
and (2) configuration file for the same sunix module
Version: 1.0.0
1.1 May 2021: updated file searches in directories
USE
Build new files: ~/configs/"program_group_name"/"module".config ~/sunix/"program_group_name"/"module".pm and ~specs/"program_group_name"/"module"_spec and modify old files: ~/misc/L_SU_global_constants.pm
NOTES ramp
0. make sure that the documentation exists for the program in the "Stripped" directory
Modify "nameNnumber.txt" with the correct base file name and number e.g. susynlv 7
define program ONLY within a developer category in L_SU_global_constants.pm L 234
define program in two locations within L_SU_path for hash and the colon definitions
After running this script and before running sudoc2pm_pt2.pl: modify "module".config file , as needed
modify *_spec to include bindings to directories
Examples:
perl sudoc2pm_pt1.pl
NOTES
Program group array and the directory names:
$developer_sunix_categories[0] = 'data'; $developer_sunix_categories[1] = 'datum'; $developer_sunix_categories[2] = 'plot'; $developer_sunix_categories[3] = 'filter'; $developer_sunix_categories[4] = 'header'; $developer_sunix_categories[5] = 'inversion'; $developer_sunix_categories[6] = 'migration'; $developer_sunix_categories[7] = 'model'; $developer_sunix_categories[8] = 'NMO_Vel_Stk'; $developer_sunix_categories[9] = 'par'; $developer_sunix_categories[10] = 'picks'; $developer_sunix_categories[11] = 'shapeNcut'; $developer_sunix_categories[12] = 'shell'; $developer_sunix_categories[13] = 'statsMath'; $developer_sunix_categories[14] = 'transform'; $developer_sunix_categories[15] = 'well'; $developer_sunix_categories[16] = 'unix'; $developer_sunix_categories[17] = '';
QUESTION 1:
Which group number do you want to use to create
for *.pm, *.config, and *_spec.pm files ?
e.g., for transforms use: $sunix_category_number = 15
CHANGES and their DATES
QUESTIONS 1 & 2:
QUESTION 1: Which group number do you want ?
QUESTION 2: Which program do you want to work on?
For example: 'sugetgthr'; 'sugain'; 'suputgthr'; 'suifft'; 'sufctanismod' 'vel2stiff 'unif2aniso' 'transp' 'suflip'
psgraph thru psmovie