CESM
De Wikicima
(Diferencias entre revisiones)
(→Downloading CESM2) |
(→Downloading CESM2) |
||
Línea 28: | Línea 28: | ||
git checkout release-cesm2.1.1 |
git checkout release-cesm2.1.1 |
||
</pre> |
</pre> |
||
− | *Finally, to checkout all the individual model components, run the script '''manage_externals/checkout_externals'''. Note to HYDRA users: This script requires Python 2.7.x to run, so we need to change the Python interpreter in the header of '''manage_externals/checkout_externals'''. To do so: |
+ | *Finally, to checkout all the individual model components, run the script '''manage_externals/checkout_externals'''. Note to HYDRA users: This script requires Python 2.7.x (installed in HYDRA ''/share/anaconda2/bin/'') to run, so we need to change the Python interpreter in the header of '''manage_externals/checkout_externals'''. To do so: |
<pre> |
<pre> |
||
sed -i -e 's!/usr/bin/env python!/share/anaconda2/bin/python!' checkout_externals ./manage_externals/checkout_externals |
sed -i -e 's!/usr/bin/env python!/share/anaconda2/bin/python!' checkout_externals ./manage_externals/checkout_externals |
Revisión de 15:15 16 jul 2019
Model description
The Community Earth System Model (CESM) is a fully-coupled, community, global climate model that provides state-of-the-art computer simulations of the Earth's past, present, and future climate states. The CESM project is supported primarily by the National Science Foundation (NSF). Administration of the CESM is maintained by the Climate and Global Dynamics Laboratory (CGD) at the National Center for Atmospheric Research (NCAR).
For the latest CESM release and CESM2 components see CESM2 documentation.
Downloading CESM2
Following CESM2 Quick Start Guide
- Clone the repository
git clone -b release-cesm2.1.0 https://github.com/ESCOMP/cesm.git my_cesm_sandbox
This will create a directory my_cesm_sandbox/ in your current working directory.
- Go into the newly created CESM repository
cd my_cesm_sandbox
- Determine what version of CESM you want. To see what versions of CESM2 are available,
git tag --list 'release-cesm2*'
- Checkout a specific CESM release tag type, for example CESM2.1.1:
git checkout release-cesm2.1.1
- Finally, to checkout all the individual model components, run the script manage_externals/checkout_externals. Note to HYDRA users: This script requires Python 2.7.x (installed in HYDRA /share/anaconda2/bin/) to run, so we need to change the Python interpreter in the header of manage_externals/checkout_externals. To do so:
sed -i -e 's!/usr/bin/env python!/share/anaconda2/bin/python!' checkout_externals ./manage_externals/checkout_externals
Now run the script:
./manage_externals/checkout_externals