-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathspin_up_run
63 lines (52 loc) · 2.48 KB
/
spin_up_run
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# 10 year
# Compy f09_f09
# half Hourly 1 degree
## notpo
export RES=f09_f09
export COMPSET=ICLM45
export COMPILER=intel
export MACH=compy
export CASE_NAME=spinup_10years_CLMGSWP3v1_notop.${RES}.${COMPSET}.${COMPILER}
cd ~/e3sm_top/cime/scripts
./create_newcase -compset ICLM45 -res ${RES} -case ${CASE_NAME} -compiler ${COMPILER} -mach ${MACH} -project ESMD
cd ${CASE_NAME}
./xmlchange NTASKS=128,STOP_N=11,STOP_OPTION=nyears,JOB_WALLCLOCK_TIME="12:00:00",RUN_STARTDATE="2000-01-01",REST_N=1,REST_OPTION=nyears
./xmlchange DATM_MODE="CLMGSWP3v1",DATM_CLMNCEP_YR_START='2000',DATM_CLMNCEP_YR_END='2010'
cat >> user_nl_clm << EOF
rad_3d_topo = .false.
finidat = '/compyfs/haod776/e3sm_scratch/10years_CLMGSWP3v1_notop.f09_f09.ICLM45.intel/run/10years_CLMGSWP3v1_notop.f09_f09.ICLM45.intel.clm2.r.2011-01-01-00000.nc'
f3dtopo = ''
hist_empty_htapes = .true.
hist_fincl1 = 'COSZEN', 'ALBD', 'ALBI','FSA','FSR','FSDSND','FSDSNI','FSRND','FSRNI','FSDSVD','FSDSVI','FSRVD','FSRVI','FIRE'
hist_fincl2 = 'FSA','FSDS','FSR','FIRA','FIRE','FLDS','FGR','FSH','EFLX_LH_TOT','TSOI_10CM','TG','TV','TSA','QSNOMELT','QRUNOFF','QOVER','PSNSUN','PSNSHA','FPSN','FSNO','SNOWDP','H2OSNO'
hist_nhtfrq = 1, -24
hist_mfilt = 48, 1
EOF
./case.setup
./case.build
./case.submit
## top
export RES=f09_f09
export COMPSET=ICLM45
export COMPILER=intel
export MACH=compy
export CASE_NAME=spinup_10years_CLMGSWP3v1_top.${RES}.${COMPSET}.${COMPILER}
cd ~/e3sm_top/cime/scripts
./create_newcase -compset ICLM45 -res ${RES} -case ${CASE_NAME} -compiler ${COMPILER} -mach ${MACH} -project ESMD
cd ${CASE_NAME}
./xmlchange NTASKS=128,STOP_N=11,STOP_OPTION=nyears,JOB_WALLCLOCK_TIME="12:00:00",RUN_STARTDATE="2000-01-01",REST_N=1,REST_OPTION=nyears
./xmlchange DATM_MODE="CLMGSWP3v1",DATM_CLMNCEP_YR_START='2000',DATM_CLMNCEP_YR_END='2010'
cat >> user_nl_clm << EOF
rad_3d_topo = .true.
finidat = '/compyfs/haod776/e3sm_scratch/10years_CLMGSWP3v1_top.f09_f09.ICLM45.intel/run/10years_CLMGSWP3v1_top.f09_f09.ICLM45.intel.clm2.r.2011-01-01-00000.nc'
f3dtopo = '/qfs/people/haod776/UCLA_3D_Topo_Data/topo_3d_0.9x1.25_c150322.nc'
hist_empty_htapes = .true.
hist_fincl1 = 'COSZEN', 'ALBD', 'ALBI','FSA','FSR','FSDSND','FSDSNI','FSRND','FSRNI','FSDSVD','FSDSVI','FSRVD','FSRVI','FIRE'
hist_fincl2 = 'FSA','FSDS','FSR','FIRA','FIRE','FLDS','FGR','FSH','EFLX_LH_TOT','TSOI_10CM','TG','TV','TSA','QSNOMELT','QRUNOFF','QOVER','PSNSUN','PSNSHA','FPSN','FSNO','SNOWDP','H2OSNO'
hist_nhtfrq = 1, -24
hist_mfilt = 48, 1
EOF
./case.setup
./case.build
./case.submit
echo success