Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MSc Climate Modeling Lab S2025 Code4Students
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Aiko Voigt
MSc Climate Modeling Lab S2025 Code4Students
Commits
acb5c896
Commit
acb5c896
authored
2 months ago
by
Aiko Voigt
Browse files
Options
Downloads
Patches
Plain Diff
Adapt amip run script, add rsdt output for each time step
parent
68b7c329
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
runs/amip/exp.amip.run
+23
-14
23 additions, 14 deletions
runs/amip/exp.amip.run
with
23 additions
and
14 deletions
runs/amip/exp.amip.run
+
23
−
14
View file @
acb5c896
...
@@ -7,8 +7,8 @@
...
@@ -7,8 +7,8 @@
#SBATCH --nodes=3
#SBATCH --nodes=3
#SBATCH --ntasks-per-node=48
#SBATCH --ntasks-per-node=48
#SBATCH --ntasks-per-core=1
#SBATCH --ntasks-per-core=1
#SBATCH --output=/home/fs72044/avoigt_teach/climlab_s202
4
/msc-climmodlab-s202
4
/runs/amip/logfiles/LOG.exp.amip.run.%j.o
#SBATCH --output=/home/fs72044/avoigt_teach/climlab_s202
5
/msc-climmodlab-s202
5
/runs/amip/logfiles/LOG.exp.amip.run.%j.o
#SBATCH --error=/home/fs72044/avoigt_teach/climlab_s202
4
/msc-climmodlab-s202
4
/runs/amip/logfiles/LOG.exp.amip.run.%j.o
#SBATCH --error=/home/fs72044/avoigt_teach/climlab_s202
5
/msc-climmodlab-s202
5
/runs/amip/logfiles/LOG.exp.amip.run.%j.o
#SBATCH --exclusive
#SBATCH --exclusive
#SBATCH --time=02:30:00
#SBATCH --time=02:30:00
#SBATCH --mail-user=aiko.voigt@univie.ac.at
#SBATCH --mail-user=aiko.voigt@univie.ac.at
...
@@ -38,14 +38,14 @@ nproma=16
...
@@ -38,14 +38,14 @@ nproma=16
# SIMULATION NAME
# SIMULATION NAME
EXP
=
amip
EXP
=
amip
ICONFOLDER
=
/home/fs72044/avoigt_teach/climlab_s202
4
/icon-esm-univie
# DIRECTORY OF ICON MODEL CODE
ICONFOLDER
=
/home/fs72044/avoigt_teach/climlab_s202
5
/icon-esm-univie
# DIRECTORY OF ICON MODEL CODE
RUNSCRIPTDIR
=
/home/fs72044/avoigt_teach/climlab_s202
4
/msc-clim
modlab-s2024
/runs/amip/
RUNSCRIPTDIR
=
/home/fs72044/avoigt_teach/climlab_s202
5
/msc-clim
ate-modeling-lab-s2025-code-4-students
/runs/amip/
basedir
=
$ICONFOLDER
# icon base directory
basedir
=
$ICONFOLDER
# icon base directory
.
${
ICONFOLDER
}
/run/add_run_routines
.
${
ICONFOLDER
}
/run/add_run_routines
# experiment directory, with plenty of space, create if new
# experiment directory, with plenty of space, create if new
EXPDIR
=
/gpfs/data/fs72044/avoigt_teach/experiments/s202
4
/
${
EXP
}
EXPDIR
=
/gpfs/data/fs72044/avoigt_teach/experiments/s202
5
/
${
EXP
}
if
[
!
-d
${
EXPDIR
}
]
;
then
if
[
!
-d
${
EXPDIR
}
]
;
then
mkdir
-p
${
EXPDIR
}
mkdir
-p
${
EXPDIR
}
fi
fi
...
@@ -58,9 +58,6 @@ ls -ld ${EXPDIR}
...
@@ -58,9 +58,6 @@ ls -ld ${EXPDIR}
cd
$EXPDIR
cd
$EXPDIR
#=================================================================================
#=================================================================================
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
...
@@ -72,7 +69,6 @@ end_date=$final_date
...
@@ -72,7 +69,6 @@ end_date=$final_date
y0
=
${
start_date
%%-*
}
y0
=
${
start_date
%%-*
}
yN
=
${
end_date
%%-*
}
yN
=
${
end_date
%%-*
}
# restart intervals
# restart intervals
restart_interval
=
"P2Y"
restart_interval
=
"P2Y"
checkpoint_interval
=
"P1Y"
checkpoint_interval
=
"P1Y"
...
@@ -124,7 +120,7 @@ ln -sfv $aerosols_dir/bc_aeropt_kinne_sw_b14_coa.nc .
...
@@ -124,7 +120,7 @@ ln -sfv $aerosols_dir/bc_aeropt_kinne_sw_b14_coa.nc .
ln
-sfv
$aerosols_dir
/bc_aeropt_kinne_sw_b14_fin_1850.nc bc_aeropt_kinne_sw_b14_fin.nc
ln
-sfv
$aerosols_dir
/bc_aeropt_kinne_sw_b14_fin_1850.nc bc_aeropt_kinne_sw_b14_fin.nc
# [files.atmosphere.model]
# [files.atmosphere.model]
model_dir
=
/home/fs72044/avoigt_teach/climlab_s202
4
/icon-esm-univie
model_dir
=
/home/fs72044/avoigt_teach/climlab_s202
5
/icon-esm-univie
# [files.atmosphere.model.data]
# [files.atmosphere.model.data]
ln
-sfv
$model_dir
/data/lsdata.nc
.
ln
-sfv
$model_dir
/data/lsdata.nc
.
...
@@ -199,8 +195,6 @@ if [ "x$restart" != 'x.false.' -a "x$submit" != 'x' ]; then
...
@@ -199,8 +195,6 @@ if [ "x$restart" != 'x.false.' -a "x$submit" != 'x' ]; then
fi
fi
fi
fi
#
#
# create ICON master, coupling and model namelists
# create ICON master, coupling and model namelists
# ------------------------------------------------
# ------------------------------------------------
...
@@ -233,7 +227,6 @@ cat > icon_master.namelist << EOF
...
@@ -233,7 +227,6 @@ cat > icon_master.namelist << EOF
model_description = 'JSBACH land surface model'
model_description = 'JSBACH land surface model'
model_namelist_filename = 'NAMELIST_lnd'
model_namelist_filename = 'NAMELIST_lnd'
/
/
EOF
EOF
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
...
@@ -411,6 +404,23 @@ cat > NAMELIST_atm << EOF
...
@@ -411,6 +404,23 @@ cat > NAMELIST_atm << EOF
'hfss', 'evspsbl', 'tauu', 'tauv', 'tauu_sso', 'tauv_sso',
'hfss', 'evspsbl', 'tauu', 'tauv', 'tauu_sso', 'tauv_sso',
'diss_sso', 'sfcwind', 'uas', 'vas', 'tas', 'dew2', 'ptp'
'diss_sso', 'sfcwind', 'uas', 'vas', 'tas', 'dew2', 'ptp'
/
/
! As an example, included output for rsdt on lat-lon grid for every time step for January 1979
&output_nml ! 'rsdt_latlon_everytimestep'
output_filename = '
${
EXP
}
_rsdt_latlon_everytimestep'
filename_format = '<output_filename>_<levtype_l>_<datetime2>'
filetype = 5
remap = 1 ! 1: latlon, 0: native grid
reg_lat_def = -90.0,0.5,90.0
reg_lon_def = -180.0,0.5,180.0
operation = 'false'
output_grid = .TRUE.
output_start = '1979-01-01'
output_end = '1979-02-01'
output_interval = 'PT15M'
file_interval = 'P1D'
include_last = .false.
ml_varlist = 'rsdt'
/
EOF
EOF
...
@@ -480,7 +490,6 @@ cat > NAMELIST_lnd << EOF
...
@@ -480,7 +490,6 @@ cat > NAMELIST_lnd << EOF
windbreak_algorithm = 1
windbreak_algorithm = 1
lburn_pasture = .false.
lburn_pasture = .false.
/
/
EOF
EOF
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment