ladybug.cli.download module¶
Ladybug commands for downloading and unzipping weather files.
- ladybug.cli.download.download_weather(weather_url, folder=None, log_file=None)[source]¶
Download and unzip weather originating from a URL.
- Parameters:
weather_url – Text representing the URL at which the climate data resides. To open the a map interface for all publicly available climate data, search the EPWmap application.
folder – An optional path to a directory into which the weather file will be downloaded and unzipped. If None, the weather files will be downloaded to the ladybug default weather data folder and placed in a sub-folder with the name of the weather file location.
log_file – Optional log file to output the paths of the generated files (epw, stat, ddy) if successfully downloaded. If None, the result will be returned from this method.