NorCPM quick-start tutorial: Difference between revisions
No edit summary |
No edit summary |
||
(25 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
<center>''' Mao-Lin Shen '''</center> | <center>''' Mao-Lin Shen '''</center> | ||
<center style="color: red">''' enter your name here (alphabetical order)'''</center> | <center style="color: red">''' enter your name here (alphabetical order)'''</center> | ||
This page only provides information for users to have a quick start on Notur-Hexagon. <br/> | |||
Please take a look at '''[[NorCPM User Manual]]''' if you would like to learn more details of the model. <br/> | |||
== Getting started with NorESM == | == Getting started with NorESM == | ||
The list of command to create the ensemble structure and run the reanalysis is the following: | The list of command to create the ensemble structure and run the reanalysis is the following: <br/> | ||
<blockquote> | |||
cd ${HOME} | |||
<br/> | |||
mkdir -p NorESM | |||
<br/> | |||
cd NorESM | |||
</blockquote> | |||
=== Obtaining and installing the model === | === Obtaining and installing the model === | ||
If you have a NoreSM svn access do: | |||
<blockquote> | |||
svn checkout https://svn.met.no/NorESM/noresm/tags/projectEPOCASA-3 projectEPOCASA-3 | |||
</blockquote> | |||
if you don't, do: | |||
<blockquote> | |||
tar xvf /work-common/shared/nn9039k/NorCPM/Code/NorESM/projectEPOCASA-3.tar.gz | |||
</blockquote> | |||
=== | ==== Creating new experiments ==== | ||
Switch to the script folder and create a new case by using create_newcase: <br/> | |||
<blockquote> | |||
cd ~/NorESM/projectEPOCASA-3/noresm/scripts | |||
</blockquote> | |||
<blockquote> | |||
create_newcase -case ../../CASE_NAME_DEFINED_BY_YOU -compset N20TREXT -res f19_tn21 -mach hexagon_intel | |||
</blockquote> | |||
==== Configuration of initialisation ==== | ==== Configuration of initialisation ==== | ||
Line 37: | Line 54: | ||
== Getting started with EnKf == | == Getting started with EnKf == | ||
<blockquote> | |||
mkdir Script | mkdir Script | ||
</blockquote> | |||
I would recommend to link script for the moment (easyer for debugging) <br/> | |||
If you want to make your own version copy it and edit it | |||
<blockquote> | |||
cd Script | cd Script | ||
<br/> | |||
ln -s /work/shared/nn9039k/NorCPM/Script/* . | ln -s /work/shared/nn9039k/NorCPM/Script/* . | ||
<br/> | |||
rm personal_setting.sh | rm personal_setting.sh | ||
<br/> | |||
cp /work/shared/nn9039k/NorCPM/Script/personal_setting.sh . | cp /work/shared/nn9039k/NorCPM/Script/personal_setting.sh . | ||
</blockquote> | |||
; TODO Edit the file personal_setting.sh for your usage, model version, cpu account etc ... <br/> | |||
If you want to use the starting date in 1980-01-15 already avaible don't touch anything <br/> | |||
<blockquote> | |||
hybrid_run=1 ens_start=1 ens_casename='NorCPM_F19_tn21_mem' ens_start_date=1980-01-15-00000 <br/> | |||
</blockquote> | |||
It fetches the file in <br/> | |||
<blockquote> | |||
/work/shared/nn9039k/NorCPM/Restart/ <br/> | |||
</blockquote> | |||
More available starting date are available on norstore: <br/> | |||
<blockquote> | |||
/projects/NS9039K/shared/norcpm/cases//NorCPM/True_Obs-1980-2000/Fifth_try/ <br/> | |||
</blockquote> | |||
Need a script automatically fetch restart from there <br/> | |||
To create the structure of ensemble type <br/> | |||
<blockquote> | |||
cd ${HOME}/NorESM/ | cd ${HOME}/NorESM/ | ||
<br/> | |||
mkdir -p bin | mkdir -p bin | ||
<br/> | |||
cd bin | cd bin | ||
<br/> | |||
</blockquote> | |||
Same with bin, I would recommend linking the executable for now. If you want to create your own, <br/> | |||
ln -sf /work/shared/nn9039k/NorCPM/bin/* . | Copy and compile the code in /work-common/shared/nn9039k/NorCPM/Code/EnKF/ <br/> | ||
delete the link in bin and move your own executable there <br/> | |||
<blockquote> | |||
ln -sf /work/shared/nn9039k/NorCPM/bin/* . | |||
<br/> | |||
cd ${HOME}/NorESM/Script | cd ${HOME}/NorESM/Script | ||
<br/> | |||
</blockquote> | |||
This will take a while <br/> | |||
<blockquote> | |||
./create_ensemble.sh | ./create_ensemble.sh | ||
</blockquote> | |||
Now you can run the reanalysis <br/> | |||
<blockquote> | |||
./main.sh | ./main.sh | ||
</blockquote> | |||
If you want to delete your ensemble of folder: <br/> | |||
The following delete member 02-ENSSIZE <br/> | |||
<blockquote> | |||
cleanup_ensemble.sh <br/> | |||
</blockquote> | |||
if you want also to clean up the mem 1 <br/> | |||
<blockquote> | |||
cleanup_single_mem.sh 1 <br/> | |||
</blockquote> | |||
To integrate the ensemble for 10 year with a super job use <br/> | |||
<blockquote> | |||
Integrate_ens_predict.sh <br/> | |||
</blockquote> | |||
== EnKF Stoped Unwinllingly == | |||
== Diagnostics and analysis == | == Quick Diagnostics and analysis == | ||
<!-- == Model versions == --> | <!-- == Model versions == --> | ||
<!-- == Change history == --> | <!-- == Change history == --> |
Latest revision as of 14:41, 6 November 2014
PLEASE READ THIS BEFORE EDITING
This page only provides information for users to have a quick start on Notur-Hexagon.
Please take a look at NorCPM User Manual if you would like to learn more details of the model.
Getting started with NorESM
The list of command to create the ensemble structure and run the reanalysis is the following:
cd ${HOME}
mkdir -p NorESM
cd NorESM
Obtaining and installing the model
If you have a NoreSM svn access do:
svn checkout https://svn.met.no/NorESM/noresm/tags/projectEPOCASA-3 projectEPOCASA-3
if you don't, do:
tar xvf /work-common/shared/nn9039k/NorCPM/Code/NorESM/projectEPOCASA-3.tar.gz
Creating new experiments
Switch to the script folder and create a new case by using create_newcase:
cd ~/NorESM/projectEPOCASA-3/noresm/scripts
create_newcase -case ../../CASE_NAME_DEFINED_BY_YOU -compset N20TREXT -res f19_tn21 -mach hexagon_intel
Configuration of initialisation
Building the model
Setting up ensembles
Running the model
Getting started with EnKf
mkdir Script
I would recommend to link script for the moment (easyer for debugging)
If you want to make your own version copy it and edit it
cd Script
ln -s /work/shared/nn9039k/NorCPM/Script/* .
rm personal_setting.sh
cp /work/shared/nn9039k/NorCPM/Script/personal_setting.sh .
- TODO Edit the file personal_setting.sh for your usage, model version, cpu account etc ...
If you want to use the starting date in 1980-01-15 already avaible don't touch anything
hybrid_run=1 ens_start=1 ens_casename='NorCPM_F19_tn21_mem' ens_start_date=1980-01-15-00000
It fetches the file in
/work/shared/nn9039k/NorCPM/Restart/
More available starting date are available on norstore:
/projects/NS9039K/shared/norcpm/cases//NorCPM/True_Obs-1980-2000/Fifth_try/
Need a script automatically fetch restart from there
To create the structure of ensemble type
cd ${HOME}/NorESM/
mkdir -p bin
cd bin
Same with bin, I would recommend linking the executable for now. If you want to create your own,
Copy and compile the code in /work-common/shared/nn9039k/NorCPM/Code/EnKF/
delete the link in bin and move your own executable there
ln -sf /work/shared/nn9039k/NorCPM/bin/* .
cd ${HOME}/NorESM/Script
This will take a while
./create_ensemble.sh
Now you can run the reanalysis
./main.sh
If you want to delete your ensemble of folder:
The following delete member 02-ENSSIZE
cleanup_ensemble.sh
if you want also to clean up the mem 1
cleanup_single_mem.sh 1
To integrate the ensemble for 10 year with a super job use
Integrate_ens_predict.sh