DOCUMENTATION
SYNOPSIS
NAME: Project_config
Author: Juan M. Lorenzo
Date: December 31, 2017
Purpose: Helps create Project Directores
Helps establish system-wide and local directories
NEEDS
System_Variables package
manage_dirs_by package
CHANGES and their DATES
V. 1.0.2 May 3, 2018 Project.config also exists in
~/home/user/.LSU/configuration/Project_name/Project/Project.config
Feb 11, 2019 removed automatic creation of ~segy/raw directory
Declare variables in namespace
set local vaiables
definitions
sub _get_ACTIVE_PROJECT{
upper case ACTIVE_PROJECT PATH to the defatul Project.config
sub _basic_dirs
e.g., $GLOBAL_CONFIG_LIB: as /usr/local/pl/L_SU/configs/big_streams
first 2 cases should be deprecated
_set_dirs
sub basic_dirs
e.g., $GLOBAL_CONFIG_LIB: as /usr/local/pl/L_SU/configs/big_streams
Up-to-date
configuration file
a conversion
from hydraulic fracturing format
into seismic format
for old-stype Project_Variable files
defaults in the local directory
DIRECTORY DEFINITIONS
Be careful in changing the following order.
Clean ticks if needed.
DIRECTORY DEFINITIONS
Be careful in changing the following order
Creates necessary directories
sub get_max_index
max index = number of input variables -1
sub update_configuration_files
saves the configuration file to:
./L_SU/configuration/active/Project.config
saves the configuration file to:
./L_SU/configuration/Project_name/Project.config