#!/bin/ksh
################################################################################
####  UNIX Script Documentation Block
#                      .                                             .
# Script name:        exnam_smartinit_ak3.sh.sms 
# Script description:  Runs NAM smartinit codes over Alaska to generate
#                          3 km output from the nest
#
# Author:        Geoff Manikin       Org: NP22         Date: 2011-07-06
#
# Abstract: This script runs the Nam  Smart Init jobs
#
# Script history log:
# 2011-07-06  Geoff Manikin    new script
#

set -xa
msg="JOB $job HAS BEGUN"
postmsg "$jlogfile" "$msg"

cd $DATA

  if [ cyc -eq 00 -o cyc -eq 12 ] ; then
	$USHnam/nam_smartinitaknest3_on.sh
  else
	$USHnam/nam_smartinitaknest3_off.sh
  fi

#export err=$?; err_chk

set -x
#####################################################################

echo EXITING $0
exit
#
