ToolsAndUtilities/CAP: run_ancil.pbs

File run_ancil.pbs, 1.6 KB (added by willie, 21 months ago)

Domain and ancillary specification job file

Line 
1#!/bin/ksh
2#PBS -N VERA_12km
3#PBS -l select=serial=true
4#PBS -l walltime=00:10:00
5#PBS -W umask=0022
6#PBS -A n02-cms
7#PBS -j oe
8         
9export PBS_O_WORKDIR=$(readlink -f $PBS_O_WORKDIR)
10
11cd $PBS_O_WORKDIR
12
13set -a
14
15export ANCIL_PARENT=$UMDIR/CAP9.1/build
16export ANCIL_DATA=$UMDIR/ancil/data
17export ANCIL_MASTER=$UMDIR/ancil/atmos/master
18
19
20#Output dir - Must be absolute!
21export ANCILDIR=$PBS_O_WORKDIR/VERA_12km
22
23mkdir -p $ANCILDIR
24
25export GRID=${ANCILDIR}/temp_grid
26
27export OROGNML=${ANCILDIR}/temp_orog
28
29export MASKNML=${ANCILDIR}/temp_mask
30
31#export MASK_DATASET=1
32#export MASKOPTS=" -m 2"
33
34#export OROG_DATASET=1
35#export OROGOPTS="  -n $OROGNML -d GLOBE30"
36
37#export VERTICAL=$UMDIR/vn8.2/ctldata/vert/vertlevs_L70_80km
38#export VEGFRAC_DATASET=1
39#export VEGFOPTS=" -g 5 -h -p1.1 -qmodis4 -3 -5 -A1 -B1 -CHWSD -DVG"
40
41#export VERTICAL=$UMDIR/vn8.2/ctldata/vert/vertlevs_L70_80km
42#export SMOW_DATASET=1
43#export SMOWOPTS=" -m HWSDVG -n AMIP -s $ANCILDIR/qrparm.soil"
44
45#export VERTICAL=$UMDIR/vn8.2/ctldata/vert/vertlevs_L70_80km
46#export SSTICE_DATASET=1
47#export SSTIOPTS=" -d HADISST1 -f -c 0.1"
48
49export VERTICAL=$UMDIR/vn8.2/ctldata/vert/vertlevs_L70_80km
50export P_LEVELS=70
51export OZONE_DATASET=1
52export OZOOPTS=" -s -v -t1"
53
54#export VERTICAL=$UMDIR/vn8.2/ctldata/vert/vertlevs_L70_80km
55#export P_LEVELS=70
56#export AEROSOL_DATASET=1
57#export AEROPTS=""
58
59#export SOILTEMP_DATASET=1
60#export SLTOPTS=""
61
62CAP_interface  -rotate -model VERA_12km -nrow 230 -ncol 370 \
63 -latorigin -9.0 -longorigin 340.0 \
64-latpole 80.5 -longpole 177.5 \
65-latdelta 0.11 -longdelta 0.11 \
66 -bit64
67CC=$?
68if [ $CC -ne 0 ] ; then
69  echo "CAP error from ARCHER: job ${ANCILDIR##*/}"
70  echo "Error $CC"
71fi
72