UFS Medium-Range Weather (MRW) Practical Session Guide | Session 1: Set Up and Run the Model > 1. Clone the code

To download the Medium-Range Weather Application, with externals pointing to its constituent components, go to your $HOME directory and enter:

mkdir UFS_training
git clone https://github.com/ufs-community/ufs-mrweather-app.git -b ufs-v1.1.0 $HOME/UFS_training/my_ufs_sandbox

Then, to get the components

cd $HOME/UFS_training/my_ufs_sandbox 
./manage_externals/checkout_externals 

This will clone the ufs-v1.1.0 branch of the ufs-mrweather-app repository  and check out all of the externals and sub-modules.  The process will take several minutes and show the following progress information in the screen:

Processing externals description file : Externals.cfg 
Checking status of externals: model, fv3gfs_interface, cime, emc_post,  nems_interface, 
Checking out externals: model, fv3gfs_interface, emc_post, cime,  nems_interface,

The repositories URL, tag number and their location path of external and sub-modules are defined in the text file Externals.cfg. Users can check this file and match the new cloned repositories with their local paths.

Once the externals have been been downloaded, you can proceed to the next step, setting up the environment.