> 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

![](https://894783789-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LPHXQ1I3gb93zpLrLZf%2Fuploads%2Fgit-blob-d6737dcea71d308203b6153fb1efedb741ec4a1e%2FDownload_Weather.png?alt=media)

![](https://894783789-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LPHXQ1I3gb93zpLrLZf%2Fuploads%2Fgit-blob-31d50c5ab5e4f28631bd64bb830036caa33b44f9%2FDownload_Weather.png?alt=media) - [\[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.
