cft
Climate Forecasting Toolbox
INTRODUCTION
The Climate Forecasting Toolbox is a Python based tool for statistical climate forecasting application.
CREDITS
Developer: Thembani Moitlhobogi
Climatologist: Mduduzi Sunshine Gamedze
SOURCE CODE
The CFT code is maintained at: https://github.com/taxmanyana/cft.git
INSTALLATION ON WINDOWS
- Ensure you have installed the latest long term release version of QGIS 3 in your computer
- Unpack (unzip) the cft-x.x.x.zip ZIP file to a directory of your choosing (e.g. Documents)
- Navigate into the extracted folder "cft-x.x.x"
- Right-click the "install-qgis-modules.bat" and select "Run as Administrator" to update the required python modules (internet connection required)
- Once installed, CFT or the Zoning tool is easily be run by double-clicking on "start_cft.bat" or "start_zoning.bat"
INSTALLATION ON LINUX
The installation script will download dependency sources, compile and deploy the CFT
- Unpack (unzip) the cft-x.x.x.zip ZIP file to a directory of your choosing
- On the terminal, navigate into the extracted folder: cd cft-x.x.x
- Run the installation script using the following command: ./install-cft-linux.sh
NB: install-cft-linux.sh will try to download some dependencies using hardcoded URLs, if a URL fails you can edit the script with correct/updated URL and re-run
- Once installed, you can run CFT from the terminal using the following commands:
source python3/bin/activate
python3 cft.py settings.json
- CFT also has a Desktop launcher "CFT.desktop" which will be installed to the Desktop. On the Desktop double-click on "CFT.desktop" to run the tool (if it is the first time then it will bring a pop-up for you to trust and accept)
- The MPI version can be run on the terminal by executing the following commands:
source python3/bin/activate
mpirun -n 40 python3 cft_mpi.py settings.json
ALTERNATIVE INSTALLATION ON LINUX (FOR UBUNTU ONLY)
- On the terminal, install the required dependencies using the command: sudo apt install python3-pip python3-venv libffi-dev
- Unpack (unzip) the cft-x.x.x.zip ZIP file to a directory of your choosing
- On the terminal, navigate into the extracted folder: cd cft-x.x.x
- Run the installation script using the following command: ./install-cft-ubuntu.sh
- Once installed, you can run CFT from the terminal using command: ./cft_ubuntu.sh
- CFT also has a Desktop launcher "CFT.desktop" which will be copied to the Desktop. On the Desktop double-click on "CFT.desktop" to run the tool (if it is the first time then it will bring a pop-up for you to trust and accept)
MAIN FEATURES
- Create homogenous zones for a country/region
- Forecast based on existing indices (CSV/Text) data, or can detect high correlation areas from gridded data (NetCDF) to use as input
- Artificial Intelligence (MLP) and Linear Regression statistical forecasting methods
- Predictand in NetCDF and CSV format