cloudy-agn/scripts/meta/process_gridoutputs.sh
2017-08-17 19:53:04 -04:00

15 lines
325 B
Bash
Executable File

#!/usr/bin/env bash
script_dir=$(
cd $(dirname $0) ;
pwd -P |sed 's@^\(.*\)/scripts.*@\1/scripts@'
)
base_dir=`pwd`
bin_dir="$script_dir/../bin"
for file in $(find . -type 'f' -name 'mpi_grid.out')
do
echo "Processing ${file}."
dir=$(dirname $file)
$script_dir/operations/package_tables.sh $dir
done