Skip to content

Commit

Permalink
Add namelist for NorESM2-LM ssp370-lowNTCF
Browse files Browse the repository at this point in the history
  • Loading branch information
YanchunHe committed Jan 24, 2020
1 parent 9dc06f9 commit 9f5d94f
Show file tree
Hide file tree
Showing 31 changed files with 3,269 additions and 0 deletions.
10 changes: 10 additions & 0 deletions namelists/CMIP6_NorESM2-LM/ssp370-lowNTCF/checkcmorout.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

version=v20191108
expid=ssp370-lowNTCF
model=NorESM2-LM
years1=(2015 2021 2031 2041 2051)
years2=(2020 2030 2040 2050 2054)

${CMOR_ROOT}/workflow/cmorCheck.sh -v=$version -e=$expid -m=$model -yrs1="${years1[*]}" -yrs2="${years2[*]}"

117 changes: 117 additions & 0 deletions namelists/CMIP6_NorESM2-LM/ssp370-lowNTCF/cmor.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
##!/bin/bash

source ${CMOR_ROOT}/workflow/cmorRun1memb.sh

# initialize
login0=false
login1=false
login2=false
login3=false

# set active
login0=true
#login1=true
#login2=true
#login3=true

# initialize
version=v20191108

expid=ssp370-lowNTCF
model=NorESM2-LM

# --- Use input arguments if exits
if [ $# -ge 1 ]
then
while test $# -gt 0; do
case "$1" in
-m=*)
model=$(echo $1|sed -e 's/^[^=]*=//g')
shift
;;
-e=*)
expid=$(echo $1|sed -e 's/^[^=]*=//g')
shift
;;
-v=*)
version=$(echo $1|sed -e 's/^[^=]*=//g')
shift
;;
* )
echo "ERROR: option $1 not allowed."
echo "*** EXITING THE SCRIPT"
exit 1
;;
esac
done
fi
# ---

echo "--------------------"
echo "EXPID: $expid "
echo "--------------------"

echo " "
echo "START CMOR... "
echo "$(date) "
echo " "

if $login0
then
#----------------
# ssp370-lowNTCF, r1
#----------------
CaseName=NSSP370LOWNTCFfrc2_f19_tn14_20191118
real=1
years1=(2015 $(seq 2021 10 2051))
years2=(2020 $(seq 2030 10 2054))

runcmor -c=$CaseName -m=$model -e=$expid -v=$version -r=$real -yrs1="${years1[*]}" -yrs2="${years2[*]}" -p=NS9034K -mpi=DMPI

#---
:
fi
#---

if $login1
then
#----------------
# ssp370, r2
#----------------
CaseName=NSSP370LOWNTCFfrc2_02_f19_tn14_20191118
real=2
years1=(2015 2021 2031 2041 2051)
years2=(2020 2030 2040 2050 2054)

runcmor -c=$CaseName -m=$model -e=$expid -v=$version -r=$real -yrs1="${years1[*]}" -yrs2="${years2[*]}" -p=NS9560KFRAM -mpi=DMPI

#---
:
fi
#---

if $login2
then
#----------------
# ssp370, r3
#----------------
CaseName=NSSP370LOWNTCFfrc2_03_f19_tn14_20191118
real=3
years1=(2015 2021 2031 2041 2051)
years2=(2020 2030 2040 2050 2054)

runcmor -c=$CaseName -m=$model -e=$expid -v=$version -r=$real -yrs1="${years1[*]}" -yrs2="${years2[*]}" -p=NS9560KFRAM -mpi=DMPI

#---
:
fi
#---

wait
echo " "
echo "CMOR DONE"
echo "$(date) "
echo "~~~~~~~~~"

# PrePARE QC check, create links and update sha256sum
${CMOR_ROOT}/workflow/cmorPost.sh -m=${model} -e=${expid} -v=${version} --verbose=false
122 changes: 122 additions & 0 deletions namelists/CMIP6_NorESM2-LM/ssp370-lowNTCF/cmor_jang.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
##!/bin/bash

set -x
source ${CMOR_ROOT}/workflow/cmorRun1memb.sh

# initialize
login0=false
login1=false
login2=false
login3=false

# set active
login0=true
#login1=true
#login2=true
#login3=true

# initialize
version=v20191108

expid=ssp370-lowNTCF
model=NorESM2-LM

# --- Use input arguments if exits
if [ $# -ge 1 ]
then
while test $# -gt 0; do
case "$1" in
-m=*)
model=$(echo $1|sed -e 's/^[^=]*=//g')
shift
;;
-e=*)
expid=$(echo $1|sed -e 's/^[^=]*=//g')
shift
;;
-v=*)
version=$(echo $1|sed -e 's/^[^=]*=//g')
shift
;;
* )
echo "ERROR: option $1 not allowed."
echo "*** EXITING THE SCRIPT"
exit 1
;;
esac
done
fi
# ---

echo "--------------------"
echo "EXPID: $expid "
echo "--------------------"

echo " "
echo "START CMOR... "
echo "$(date) "
echo " "

if $login0
then
#----------------
# ssp370-lowNTCF, r1
#----------------
CaseName=NSSP370LOWNTCFfrc2_f19_tn14_20191118
real=1
#years1=(2015 $(seq 2021 10 2051))
#years2=(2020 $(seq 2030 10 2054))
years1=( 2015 `seq 2021 10 2051` )
years2=( 2020 `seq 2030 10 2054` )
years1=( 2051 )
years2=( 2054 )

runcmor -c=$CaseName -m=$model -e=$expid -v=$version -r=$real -yrs1="${years1[*]}" -yrs2="${years2[*]}" -p=NS9034K -mpi=DMPI

#---
:
fi
#---

#if $login1
#then
##----------------
## ssp370, r2
##----------------
#CaseName=NSSP370frc2_02_f19_tn14_20191118
#real=2
#years1=(2015 2021 2031 2041 2051)
#years2=(2020 2030 2040 2050 2054)
#
#runcmor -c=$CaseName -m=$model -e=$expid -v=$version -r=$real -yrs1="${years1[*]}" -yrs2="${years2[*]}" -mpi=DMPI
#
##---
#:
#fi
##---
#
#if $login2
#then
##----------------
## ssp370, r3
##----------------
#CaseName=NSSP370frc2_03_f19_tn14_20191118
#real=3
#years1=(2015 2021 2031 2041 2051)
#years2=(2020 2030 2040 2050 2054)
#
#runcmor -c=$CaseName -m=$model -e=$expid -v=$version -r=$real -yrs1="${years1[*]}" -yrs2="${years2[*]}" -mpi=DMPI

##---
#:
#fi
##---

wait
echo " "
echo "CMOR DONE"
echo "$(date) "
echo "~~~~~~~~~"

# PrePARE QC check, create links and update sha256sum
${CMOR_ROOT}/workflow/cmorPost.sh -m=${model} -e=${expid} -v=${version} --verbose=false
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
&experiment
casename = 'NSSP370LOWNTCFfrc2_02_f19_tn14_20191118',
osubdir = 'NorESM2-LM/ssp370-lowNTCF/vyyyymmdd'
experiment_id = 'ssp370-lowNTCF',
parent_experiment_id = 'historical',
parent_experiment_rip = 'r2i1p1',
parent_time_units = 'days since 1850-01-01',
branch_method = 'Hybrid-restart from year 2015-01-01 of historical',
history = ' ',
comment = ' ',
forcing = 'N/A',
realization = 2,
initialization_method = 1,
physics_version = 1,
forcing_index = 1,
branch_time = 0.,
year1 = 2015,
yearn = 2054,
month1 = 1,
monthn = 12,
exprefyear = 1,
activity_id = 'AerChemMIP',
parent_activity_id = 'CMIP',
parent_variant_label = 'r2i1p1f1',
parent_mip_era = 'CMIP6',
mip_era = 'CMIP6',
sub_experiment = 'none',
parent_sub_experiment = 'none'
branch_time_in_child = 0.0D0,
branch_time_in_parent = 60225.0D0,
tracking_prefix = 'hdl:21.14100',
newcolumnorder = .true.,
scanallfiles = .false.,
source_type = 'AOGCM AER BGC'
/
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
&experiment
casename = 'NSSP370LOWNTCFfrc2_03_f19_tn14_20191118',
osubdir = 'NorESM2-LM/ssp370-lowNTCF/vyyyymmdd'
experiment_id = 'ssp370-lowNTCF',
parent_experiment_id = 'historical',
parent_experiment_rip = 'r3i1p1',
parent_time_units = 'days since 1850-01-01',
branch_method = 'Hybrid-restart from year 2015-01-01 of historical',
history = ' ',
comment = ' ',
forcing = 'N/A',
realization = 3,
initialization_method = 1,
physics_version = 1,
forcing_index = 1,
branch_time = 0.,
year1 = 2015,
yearn = 2054,
month1 = 1,
monthn = 12,
exprefyear = 1,
activity_id = 'AerChemMIP',
parent_activity_id = 'CMIP',
parent_variant_label = 'r2i1p1f1',
parent_mip_era = 'CMIP6',
mip_era = 'CMIP6',
sub_experiment = 'none',
parent_sub_experiment = 'none'
branch_time_in_child = 0.0D0,
branch_time_in_parent = 60225.0D0,
tracking_prefix = 'hdl:21.14100',
newcolumnorder = .true.,
scanallfiles = .false.,
source_type = 'AOGCM AER BGC'
/
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
&experiment
casename = 'NSSP370LOWNTCFfrc2_f19_tn14_20191118',
osubdir = 'NorESM2-LM/ssp370-lowNTCF/vyyyymmdd'
experiment_id = 'ssp370-lowNTCF',
parent_experiment_id = 'historical',
parent_experiment_rip = 'r1i1p1',
parent_time_units = 'days since 1850-01-01',
branch_method = 'Hybrid-restart from year 2015-01-01 of historical',
history = ' ',
comment = ' ',
forcing = 'N/A',
realization = 1,
initialization_method = 1,
physics_version = 1,
forcing_index = 1,
branch_time = 0.,
year1 = 2015,
yearn = 2054,
month1 = 1,
monthn = 12,
exprefyear = 1,
activity_id = 'AerChemMIP',
parent_activity_id = 'CMIP',
parent_variant_label = 'r1i1p1f1',
parent_mip_era = 'CMIP6',
mip_era = 'CMIP6',
sub_experiment = 'none',
parent_sub_experiment = 'none'
branch_time_in_child = 0.0D0,
branch_time_in_parent = 60225.0D0,
tracking_prefix = 'hdl:21.14100',
newcolumnorder = .true.,
scanallfiles = .false.,
source_type = 'AOGCM AER BGC'
/
Loading

0 comments on commit 9f5d94f

Please sign in to comment.