# Create EPW

![](https://3405893330-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ma9gBkJelXEQ5LsYEl7%2Fuploads%2Fgit-blob-294cc65763c4d8f05b64ca57c0b7ccc9848b2e7c%2FCreate_EPW.png?alt=media)

![](https://3405893330-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ma9gBkJelXEQ5LsYEl7%2Fuploads%2Fgit-blob-f7cc01666369e9d0a7fbcfa6cbbba12dd3604fa5%2FCreate_EPW.png?alt=media) - [\[source code\]](https://github.com/ladybug-tools/dragonfly-grasshopper/blob/master/dragonfly_grasshopper/src/DF%20Create%20EPW.py)

Create a custom EPW object from a location and data collections of annual hourly data.

## Inputs

* **location \[Required]**

  A location object for the epw\_file.&#x20;
* **dry\_bulb\_temp**

  Annual hourly data collection for dry bulb temperature \[C]&#x20;
* **dew\_point\_temp**

  Annual hourly data collection for dew point temperature \[C]&#x20;
* **wind\_speed**

  Annual hourly data collection for wind speed \[m/s]&#x20;
* **wind\_direction**

  Annual hourly data collection for wind direction \[degrees]&#x20;
* **direct\_normal\_rad**

  Annual hourly data collection for direct normal radiation \[Wh/m2] or \[W/m2]&#x20;
* **diffuse\_horiz\_rad**

  Annual hourly data collection for diffuse horizontal radiation \[Wh/m2] or \[W/m2]&#x20;
* **horiz\_infrared\_rad**

  Annual hourly data collection for horizontal infrared radiation intensity \[Wh/m2] or \[W/m2]&#x20;
* **direct\_normal\_ill**

  Annual hourly data collection for direct normal illuminance \[lux]&#x20;
* **diffuse\_horiz\_ill**

  Annual hourly data collection for diffuse horizontal illuminance \[lux]&#x20;
* **total\_sky\_cover**

  Annual hourly data collection for the fraction for total sky cover \[tenths]&#x20;
* **atmos\_pressure**

  Annual hourly data collection for weather station pressure \[Pa]&#x20;
* **visibility**

  Annual hourly data collection for visibility \[km]&#x20;
* **ceiling\_height**

  Annual hourly data collection for cloud ceiling height \[m]&#x20;
* **model\_year**

  Annual hourly data collection for the year from which the hourly data has been extracted. This input is necessary when the input data collections are from a leap year.&#x20;
* **base\_epw**

  File path to an optional .epw to fill empty slots for data that has not been connected here.&#x20;
* **run \[Required]**

  Set to True to run the component and create the epw\_obj.&#x20;

## Outputs

* **report**

  Reports, errors, warnings, etc.&#x20;
* **epw\_obj**

  An EPW object that can be written to a file using the Write EPW component.&#x20;
