SERVIR - West Africa EF5 Workshop. This repository contains all materials needed for running the EF5 hydrological model for West Africa at a 1 km resolution.
- A laptop with at least 8 GB of RAM.
- A Google account to access Google Colab.
-
Download Docker Desktop (~600MB) from the official website:
Docker Desktop Download -
Use the Download Docker Desktop button (no account is needed).
-
After installation, adjust Docker's resource settings to allocate at least 8 GB of RAM:
- Open Docker Desktop.
- Go to Settings > Resources > Advanced.
- Adjust the Memory slider to 8 GB.
- Click Apply & Restart.
You can either download or clone the repository to your machine.
- Click the green Code button in this repository.
- Select Download ZIP and extract the contents.
- Ensure the extracted folder is in a location without spaces in its path (e.g.,
model_repository).
- Copy the repository URL under Code > HTTPS.
- Run the following command in your terminal:
git clone https://github.com/RobledoVD/WAEF5-dockerized.git
- Place the cloned folder in a directory without spaces in its name.
Important: Avoid folder names with spaces, as this can cause errors when running the model.
- Open your terminal and navigate to the project's main folder.
Example for a folder on your Desktop:cd ~/Desktop/EF5WA-dockerized-main/
- Change into the
docker/folder:cd docker - Execute the build script:
bash build_ef5_container.sh
- Follow the instructions on the terminal. Once the process completes, verify that the EF5 container image has been built by checking the Images pane in Docker Desktop.
- Open File Explorer and navigate to the project's main folder.
- Go into the
docker/folder. - Double-click the
build_ef5_container.batfile. - A command window will open to show the build process. After completion, check the Images pane in Docker Desktop to confirm the image has been built.
After a successful build, you can verify the presence of the EF5 container in Docker Desktop:
- Open Docker Desktop.
- Navigate to the Images tab.
- Look for an image named
ef5-container.
The EF5 Docker image is now ready to be executed for the workshop.