#!/bin/sh
######################################################################
#                       launcher wrapper script                          
######################################################################
######################################################################
#                                                                    #
#   Author: DTC October 2014					     #
######################################################################

######################################################################
#   Definitions
######################################################################
#---------------------------------------------------------------------
#   Global definitions of environment variables
#---------------------------------------------------------------------
set -x



 YMDH=2012102806
 STID=18L
 CASE_ROOT=HISTORY
 HOMEhwrf=/PATH/TO/ROCOTO/PARENT/DIRECTORY
 expt=EXPERIMENT_NAME #CANNOT INCLUDE SLASHES
 force="$1"

######################################################################
#   Main
######################################################################

cd ${HOMEhwrf}/rocoto

./run_hwrf.py $force "$YMDH" "$STID" "$CASE_ROOT" "config.EXPT=$expt" "config.HOMEhwrf=$HOMEhwrf"