Directory Structure for Organizing

           Data and Workflows

 

The following directory structure for organizing BHP_SU data and scripts has been used as the “standard” at BHP, and will be used for class exercises.

 

Directories are organized as a top-level project directory with sub-directories containing different data types and scripts.

 

Project Directory: /hou/data/D…/’username’/’project_name’

SEGY, SU, and BHP_SU Data: ${project_directory}/seismic

BHPIO Pathlist Files: ${project_directory}/int_datasets

Scripts: There are three types of scripts:

1)     Shell scripts that you build and run. Keep these in ${project_directory}/scripts

2)     XML scripts created with script_editor. Keep these in ${project_directory}/xml

3)     Temporary scripts that are created by the script_editor. Keep these in ${project_directory}/tmp. These can be over-written each time they are created and used.

Horizon ASCII Files: ${project_directory}/horizons

BHPVIEW Savesets: ${project_directory}/int_savesets

 

Example:

/hou/data/D_152_001/ahmilb/tiger/seismic

/hou/data/D_152_001/ahmilb/tiger/int_datasets

/hou/data/D_152_001/ahmilb/tiger/scripts

/hou/data/D_152_001/ahmilb/tiger/tmp

/hou/data/D_152_001/ahmilb/tiger/xml

/hou/data/D_152_001/ahmilb/tiger/horizons

/hou/data/D_152_001/ahmilb/tiger/int_savesets

 

Class Directory Structure:

For this class, each student should make a project directory structure in

/hou/data/D_152_001/SU_Class

 

First make a directory that is your user name, e.g. ahmilb

Then cd to that directory and make a directory called class_project

Then cd to class_project and mkdir seismic int_datasets int_savesets horizons tmp xml scripts

 

If you cd to your ‘username’ directory and do ls –lR you should see the following:

 

ahmilb@houu64$ls -lR

.:

total 16

drwxrwxr-x   9 ahmilb   staff       8192 Jun 20 14:23 class_project

 

./class_project:

total 0

drwxrwxr-x   2 ahmilb   staff         96 Jun 20 14:23 horizons

drwxrwxr-x   2 ahmilb   staff         96 Jun 20 14:23 int_datasets

drwxrwxr-x   2 ahmilb   staff         96 Jun 20 14:23 int_savesets

drwxrwxr-x   2 ahmilb   staff         96 Jun 20 14:23 scripts

drwxrwxr-x   2 ahmilb   staff         96 Jun 20 14:23 seismic

drwxrwxr-x   2 ahmilb   staff         96 Jun 20 14:23 tmp

drwxrwxr-x   2 ahmilb   staff         96 Jun 20 14:23 xml

 

./class_project/horizons:

total 0

 

./class_project/int_datasets:

total 0

 

./class_project/int_savesets:

total 0

 

./class_project/scripts:

total 0

 

./class_project/seismic:

total 0

 

./class_project/tmp:

total 0

 

./class_project/xml:

total 0