This is a Pytorch implementation of the paper: HiSTGNN: Hierarchical Graph Neural Networks for Weather Forecasting.
The basic dependencies are Python 3 and Torch 1.2.0. The others are specified in requirements.txt.
You can run the following commands to prepare the environment. We recommend the virtual conda environment.
conda create --name [myenv]
source activate [myenv]
pip install -r ./HiSTGNN/requirements.txt
We palace the used data in Google driver, you can download then put them to the following corresponding paths.
- "./HiSTGNN/data/wfd_BJ"
- "./HiSTGNN/data/wfd_Israel"
- "./HiSTGNN/data/wfd_USA"
bash BJ_train.sh
bash ISR_train.sh
bash USA_train.sh