diff options
| author | stainer_t <thomas.stainer@oecd-nea.org> | 2025-09-08 13:48:49 +0200 |
|---|---|---|
| committer | stainer_t <thomas.stainer@oecd-nea.org> | 2025-09-08 13:48:49 +0200 |
| commit | 7dfcc480ba1e19bd3232349fc733caef94034292 (patch) | |
| tree | 03ee104eb8846d5cc1a981d267687a729185d3f3 /Dragon/data/ASSBLY_CASEA_1level_mpo.access | |
Initial commit from Polytechnique Montreal
Diffstat (limited to 'Dragon/data/ASSBLY_CASEA_1level_mpo.access')
| -rwxr-xr-x | Dragon/data/ASSBLY_CASEA_1level_mpo.access | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/Dragon/data/ASSBLY_CASEA_1level_mpo.access b/Dragon/data/ASSBLY_CASEA_1level_mpo.access new file mode 100755 index 0000000..61cf315 --- /dev/null +++ b/Dragon/data/ASSBLY_CASEA_1level_mpo.access @@ -0,0 +1,48 @@ +#!/bin/sh +if [ $# = 0 ] + then + echo "usage: ASSBLY_CASEA_1level_mpo.access directory" 1>&2 + exit 1 +fi +MACH=`uname -s` +Sysx="`echo $MACH | cut -b -6`" +if [ $Sysx = "CYGWIN" ]; then + MACH=`uname -o` +elif [ $Sysx = "Darwin" ]; then + MACH=`uname -sm` +elif [ $Sysx = "SunOS" ]; then + MACH=`uname -sm` +fi +pos=$1/../../libraries/hdf5 +if [ -f "$pos"/ap3lib-xsect-CEA93_CLA99_GV0LUX_N.h5.gz ] + then + echo 'gunzipping CLA99CEA93' + chmod 755 "$pos" + gunzip "$pos"/ap3lib-xsect-CEA93_CLA99_GV0LUX_N.h5.gz +fi +if [ -f "$pos"/ap3lib-xsect-CEA93_CLA99_GV0LUX_N.h5 ] + then + ln -s "$pos"/ap3lib-xsect-CEA93_CLA99_GV0LUX_N.h5 CLA99CEA93 +fi +if [ -f "$pos"/ap3lib-autop-1-CEA93_CLA99_GV0LUX_N.h5.gz ] + then + echo 'gunzipping CLA99CEA93_SS' + chmod 755 "$pos" + gunzip "$pos"/ap3lib-autop-1-CEA93_CLA99_GV0LUX_N.h5.gz +fi +if [ -f "$pos"/ap3lib-autop-1-CEA93_CLA99_GV0LUX_N.h5 ] + then + ln -s "$pos"/ap3lib-autop-1-CEA93_CLA99_GV0LUX_N.h5 CLA99CEA93_SS +fi +if [ -f "$pos"/Depletion_Data_CH_STD_CEA93_V10_withYields.h5.gz ] + then + echo 'gunzipping CLA99CEA93_EVO' + chmod 755 "$pos" + gunzip "$pos"/Depletion_Data_CH_STD_CEA93_V10_withYields.h5.gz +fi +if [ -f "$pos"/Depletion_Data_CH_STD_CEA93_V10_withYields.h5 ] + then + ln -s "$pos"/Depletion_Data_CH_STD_CEA93_V10_withYields.h5 CLA99CEA93_EVO +fi +ls -l +echo "ASSBLY_CASEA_1level_mpo access script terminated" |
