Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bccr_icesm_workshop
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Public code repository for GFI
bccr_icesm_workshop
Commits
077f207f
Commit
077f207f
authored
1 year ago
by
Harald.Sodemann
Browse files
Options
Downloads
Patches
Plain Diff
Upload New File
parent
905855e4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
icesm_high_frequency_setup.sh
+96
-0
96 additions, 0 deletions
icesm_high_frequency_setup.sh
with
96 additions
and
0 deletions
icesm_high_frequency_setup.sh
0 → 100644
+
96
−
0
View file @
077f207f
#!/bin/sh
#Execute the script in cluster/home/user
#Fill in your username and project number below!
USER
=
"siq011"
PROJECT
=
"nn9555k"
CASE_NAME
=
"test_icesm_high_frequency3"
#echo $PROJECT
##Script stops and shoots an error message if command fails
#set -e
files_dir
=
$(
pwd
)
##GO INTO SCRIPTS
cd
/cluster/home/
$USER
/
$PROJECT
/progs/iCESM1.2/iCESM1.2/scripts/
##CREATE THE CASE
./create_newcase
-case
$CASE_NAME
-res
f19_g16
-compset
B1850CN
-mach
fram
##GO INTO THE CASE
cd
$CASE_NAME
##RUN THE SETUP
./cesm_setup
##COPY DIAGNOSTIC FILE FROM MODEL BASE TO CASE
cp
/cluster/home/
$USER
/
$PROJECT
/progs/iCESM1.2/iCESM1.2/models/atm/cam/src/physics/cam/cam_diagnostics.F90 SourceMods/src.cam/
##MAKE SOFT LINK TO GET FILES
ln
-s
/cluster/work/users/hso039/noresm/ncar_reference/ /cluster/home/
$USER
/
$PROJECT
/progs/iCESM1.2/iCESM1.2/scripts/
$CASE_NAME
/work
##GO BACK TO HOME DIRECTORY
cd
$files_dir
##MOVE THE MODIFIED FILES TO CASE
cp
-i
user_nl_cam /cluster/home/
$USER
/
$PROJECT
/progs/iCESM1.2/iCESM1.2/scripts/
$CASE_NAME
cp
-i
env_run.xml /cluster/home/
$USER
/
$PROJECT
/progs/iCESM1.2/iCESM1.2/scripts/
$CASE_NAME
cp
-i
icesm_high_frequency.run /cluster/home/
$USER
/
$PROJECT
/progs/iCESM1.2/iCESM1.2/scripts/
$CASE_NAME
/
$CASE_NAME
.run
echo
"The case icesm_high_frequency has been set up in scripts"
########DOWNLOAD NECESSARY RESTART FILES
#Move to directory where restart files will be downloaded
#cd /cluster/projects/$PROJECT/work/iCESM1.2
#echo "Start downloading reastart files"
##Downloading list of startup files
#wget -nc https://zenodo.org/record/3553753/files/b.ie12.B1850C5CN.f19_g16.LME.002.cam.h0.1849-12.nc
#wget -nc https://zenodo.org/record/3553753/files/b.ie12.B1850C5CN.f19_g16.LME.002.cam.h1.1850-01-01-00000.nc
#wget -nc https://zenodo.org/record/3553753/files/b.ie12.B1850C5CN.f19_g16.LME.002.cam.i.1850-01-01-00000.nc
#wget -nc https://zenodo.org/record/3553753/files/b.ie12.B1850C5CN.f19_g16.LME.002.cam.rs.1850-01-01-00000.nc
#wget -nc https://zenodo.org/record/3553753/files/b.ie12.B1850C5CN.f19_g16.LME.002.cice.r.1850-01-01-00000.nc
#wget -nc https://zenodo.org/record/3553753/files/b.ie12.B1850C5CN.f19_g16.LME.002.clm2.h0.1849-12.nc
#wget -nc https://zenodo.org/record/3553753/files/b.ie12.B1850C5CN.f19_g16.LME.002.clm2.h1.1850-01-01-00000.nc
#wget -nc https://zenodo.org/record/3553753/files/b.ie12.B1850C5CN.f19_g16.LME.002.clm2.r.1850-01-01-00000.nc
#wget -nc https://zenodo.org/record/3553753/files/b.ie12.B1850C5CN.f19_g16.LME.002.clm2.rh0.1850-01-01-00000.nc
#wget -nc https://zenodo.org/record/3553753/files/b.ie12.B1850C5CN.f19_g16.LME.002.clm2.rh1.1850-01-01-00000.nc
#wget -nc https://zenodo.org/record/3553753/files/b.ie12.B1850C5CN.f19_g16.LME.002.cpl.r.1850-01-01-00000.nc
#wget -nc https://zenodo.org/record/3553753/files/b.ie12.B1850C5CN.f19_g16.LME.002.pop.r.1850-01-01-00000.nc
#wget -nc https://zenodo.org/record/3553753/files/b.ie12.B1850C5CN.f19_g16.LME.002.pop.ro.1850-01-01-00000
#wget -nc https://zenodo.org/record/3553753/files/b.ie12.B1850C5CN.f19_g16.LME.002.rtm.h0.1849-12.nc
#wget -nc https://zenodo.org/record/3553753/files/b.ie12.B1850C5CN.f19_g16.LME.002.rtm.r.1850-01-01-00000.nc
#wget -nc https://zenodo.org/record/3553753/files/b.ie12.B1850C5CN.f19_g16.LME.002.rtm.rh0.1850-01-01-00000.nc
#wget -nc https://zenodo.org/record/3553753/files/rpointer.atm
#wget -nc https://zenodo.org/record/3553753/files/rpointer.drv
#wget -nc https://zenodo.org/record/3553753/files/rpointer.ice
#wget -nc https://zenodo.org/record/3553753/files/rpointer.lnd
#wget -nc https://zenodo.org/record/3553753/files/rpointer.ocn.ovf
#wget -nc https://zenodo.org/record/3553753/files/rpointer.ocn.restart
#wget -nc https://zenodo.org/record/3553753/files/rpointer.rof
#wget -nc https://zenodo.org/record/3553753/files/surfdata_1.9x2.5_simyr1850_c140303.nc
echo
"All restart files downloaded"
echo
"Script finished successfully"
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