Skip to content

Latest commit

 

History

History
99 lines (66 loc) · 2.3 KB

ModelE.org

File metadata and controls

99 lines (66 loc) · 2.3 KB

ModelE notes

Table of contents

Introduction

  • Notes on the NASA GISS ModelE

Some runs

TemplateComment
E4M204x5 resolution qflux ocean
E1oM204x5 dynamic ocean
E6F402x2.5 resolution qflux ocean
E1F40o132x2.5 dynamic 13 layer ocean
E1F40o322x2.5 dynamic 32 layer ocean

Ocean

Build rundeck and compile

E1oM20

cd ~/projects/GISS/modelE_2.1_branch/decks

RUNNAME=E1oM20_r01

make rundeck RUN=${RUNNAME} RUNSRC=E1oM20 OVERWRITE=YES

 # YEARI=1999,MONTHI=12,DATEI=1,HOURI=0,
 # YEARE=2011,MONTHE=1,DATEE=1,HOURE=0,     KDIAG=13*0,
 # ISTART=2,IRANDI=0, YEARE=1999,MONTHE=12,DATEE=1,HOURE=1,JWRITE=1
                                 
make clean RUN=${RUNNAME}
make -j setup RUN=${RUNNAME}

E213tlF40oQ40X1

cd ~/projects/GISS/modelE_2.1_branch/decks

RUNNAME=E213tlF40oQ40X1

# copy from docs folder. Not in template folder.
# make rundeck RUN=${RUNNAME} RUNSRC=E213F40oQ40 OVERWRITE=YES

 # YEARI=7501,MONTHI=1,DATEI=1,HOURI=0, ! pick IYEAR1=YEARI (default) or < YEARI
 # YEARE=7502,MONTHE=1,DATEE=1,HOURE=0,     KDIAG=12*0,9,
 # ISTART=9,IRANDI=0, YEARE=7501,MONTHE=1,DATEE=1,HOURE=1,
                                 
make clean RUN=${RUNNAME}
make -j setup RUN=${RUNNAME}

First run

Run 1 hour

../exec/runE ${RUNNAME} -cold-restart -np 2

Run longer until {YEAR,MONTH,DATE,HOUR}E defined in I

../exec/runE ${RUNNAME} -np 2

Examine outputs in run folder…

Postprocess

  • From decks folder
cd ${RUNNAME}/

mkdir post
cd post

# annual sum of first 20 years
sumfiles ../???10{0,1}[0-9]* # ANN1000-1019.acc${RUNNAME}.nc

# monthly sum of first 20 years
MONTHS=$(locale mon|tr '[:lower:]' '[:upper:]'| tr ';' '\n' |cut -c1-3)
YEARS=$(seq 1000 1019|tr '\n' ','| sed 's/,$//')
parallel "sumfiles ../{1}10[0-1][0-9]*" ::: ${MONTHS}


scaleacc ANN1000-1019.acc${RUNNAME}.nc aij,aj,ajl,aijl,aijk,ijhc
ncview ANN1000-1019.aij${RUNNAME}.nc
# look at "impm_lndice", "MICB", etc.