Skip to content

MetOs-UiO/ctsm_dev_env_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a template repo. Click on "Use this template" button in Github to fork and customize it for your CTSM development work.

How to use

  • Prepare the data for your case. See this guide on how to create data for a single point.
  • Put your data folder under data.
  • Change CLM_USRDAT_DIR in data/<site_name>/user_mods/shell_commands to /ctsm-api/resources/data/<site_name>.
  • If MPILIB is set in data/<site_name>/user_mods/shell_commands, remove it.
  • Adjust cases/run_case.sh for the case you want to run. CASE_NAME must refer to the name of the data folder you put in data. Modify the xmlchange calls as needed.
  • Create a .env file in the root directory of the project. See env.example for an example. You only need to adjust CTSM_REPO and CTSM_TAG for the CTSM version you want to use. Keep the other variables as they are in env.example.
  • Run run_docker.sh to start a shell in the docker container.
  • From within the container, you can test your case by calling /ctsm-api/resources/cases/run_case.sh.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published