The repository is structured to contain the PyPSA-Earth model and PyPSA-earth-sec as submodules.
There are two ways to clone the repository (1) Recursive cloning of the repository including the submodules or (2) Cloning the main and submodules independently
(1) To recursively clone the modules, the flag --recurse-submodules
is to be used along with the git clone
command. The repository can be cloned either using the ssh / http clone commands
git clone --recurse-submodules [email protected]:open-energy-transition/geothermal-modelling.git
OR
git clone --recurse-submodules https://github.com/open-energy-transition/geothermal-modelling.git
(2) To independently clone the modules,
Firstly, the repository is cloned using the git clone
command. The modules can be cloned either using the ssh / http clone commands
git clone [email protected]:open-energy-transition/geothermal-modelling.git
OR
git clone https://github.com/open-energy-transition/geothermal-modelling.git
and then using the git submodule
command:
git submodule update --init --recursive
The new commits of the submodule can be fetched and updated using the command:
git submodule update --remote
To download reference data specific to analysis and validation, the script download_from_gdrive.py in analysis/scripts folder can be run.
This particular script retrieves reference data such as transmission grid topology data, generator capacities, electricity demands and generation etc.