To familiarise users with SuPy urban climate modelling and to demonstrate the functionality of SuPy, we provide the following tutorials in Jupyter notebooks:
The Anaconda distribution is suggested as the scientific Python 3 environment for its completeness in necessary packages. Please follow the official guide for its installation.
Users with less experience in Python are suggested to go through the following section first before using SuPy.
18.104.22.168. Python 101 before SuPy#
Admittedly, this header is somewhat misleading: given the enormity of Python, it’s more challenging to get this section correct than coding SuPy per se. As such, here a collection of data analysis oriented links to useful Python resources is provided to help novices start using Python and then SuPy.
The gist of Python: a quick introductory blog that covers Python basics for data analysis.
Jupyter Notebook: Jupyter Notebook provides a powerful notebook-based data analysis environment that SuPy users are strongly encouraged to use. Jupyter notebooks can run in browsers (desktop, mobile) either by easy local configuration or on remote servers with pre-set environments (e.g., Google Colaboratory, Microsoft Azure Notebooks). In addition, Jupyter notebooks allow great shareability by incorporating source code and detailed notes in one place, which helps users to organise their computation work.
Jupyter notebooks can be installed with pip on any desktop/server system and open .ipynb notebook files locally:
python3 -m pip install jupyter -U
pandasis heavily used in SuPy and thus better understanding of pandas is essential in SuPy workflows.
A detailed tutorial in Jupyter Notebooks: