I got inspired by this way of visualizing climate data with radial plots and wanted to recreate it in Python.
Clone the repository and navigate into the repository folder:
pip install git+https://github.com/kastnerp/ClimateRadials@master
It supports both a line and bar plot:
from climateradials import *
r = radial("C:\\DAYSIM\\wea\\CAN_ON_Ottawa_CWEC.epw")
r.plot_bars(export = True)
r.plot_line()
You may pass several arguments to change the appearance:
def plot_line(self, size=None, dpi=600, x=None, y=None, ymin=None, ymax=None, yorigin=None, cmap=None, fileName=None, export=False):
The package contains a hardcopy of the epw package as it is not currently released as a package on pip
.
- Selection which variable to plot
- Incorporate precipitation
- Code readability
- Speed-up post-processing
- Python packaging for 'pip'