> For the complete documentation index, see [llms.txt](https://docs.ladybug.tools/ladybug-primer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ladybug.tools/ladybug-primer/components/0_import/download_weather.md).

# Download Weather

![](/files/-MihikvQAb-6uyl7R2kY)

![](/files/-MihijsM3fz1R61WK2FS) - [\[source code\]](https://github.com/ladybug-tools/ladybug-grasshopper/blob/master/ladybug_grasshopper/src//LB%20Download%20Weather.py)

Automatically download a .zip file from a URL where climate data resides, unzip the file, and open .epw, .stat, and ddy weather files.

### Inputs

* **weather\_URL \[Required]**

Text representing the URL at which the climate data resides. To open the a map interface for all publicly availabe climate data, use the "LB EPWmap" component.

* **folder**

An optional file path to a directory into which the weather file will be downloaded and unziped. 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.

### Outputs

* **epw\_file**

The file path of the downloaded epw file.

* **stat\_file**

The file path of the downloaded stat file.

* **ddy\_file**

The file path of the downloaded ddy file.
