-
Notifications
You must be signed in to change notification settings - Fork 0
/
launchgefs2
executable file
·49 lines (39 loc) · 1.42 KB
/
launchgefs2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/bin/ksh
echo 'into'
source /lfs/h2/emc/vpppg/noscrub/${USER}/gefsv12/versions/run.ver
module purge
module load envvar/${envvar_ver}
module load intel/${intel_ver}
module load PrgEnv-intel/${PrgEnvintel_ver}
module load craype/${craype_ver}
module load cray-mpich/${craympich_ver}
module load cray-pals/${craypals_ver}
module load prod_util/${prod_util_ver}
module load prod_envir/${prod_envir_ver}
module load libjpeg/${libjpeg_ver}
module load grib_util/${grib_util_ver}
module load wgrib2/${wgrib2_ver}
module load cfp/${cfp_ver}
#Load Python
module load python/${python_ver}
module load libjpeg-turbo/${libjpeg_turbo_ver}
#module load proj/${proj_ver}
#module load geos/${geos_ver}
module use /lfs/h1/mdl/nbm/save/apps/modulefiles
module load python-modules/${python_ver}
export PYTHONPATH="${PYTHONPATH}:/lfs/h2/emc/vpppg/noscrub/${USER}/python"
#module list
cyc=$1
cd /lfs/h2/emc/stmp/${USER}/gefsv12
year=`cut -c 1-4 holddate.txt`
month=`cut -c 5-6 holddate.txt`
day=`cut -c 7-8 holddate.txt`
hour=`cut -c 9-10 holddate.txt`
dow=`cut -c 11-13 holddate.txt`
ymdh=${year}${month}${day}${hour}
ymdhdow=${year}${month}${day}${hour}${dow}
python /lfs/h2/emc/vpppg/noscrub/${USER}/gefsv12/makegefsqpfcsv.py $ymdh > out_qpf_python.txt &
python /lfs/h2/emc/vpppg/noscrub/${USER}/gefsv12/makegefsptypecsv.py $ymdh > out_ptype_python.txt &
python /lfs/h2/emc/vpppg/noscrub/${USER}/gefsv12/makegefssnowcsv.py $ymdh > out_snow_python.txt &
wait
exit