> For the complete documentation index, see [llms.txt](https://docs.ladybug.tools/dragonfly-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/dragonfly-primer/components/6_alternativeweather/create_epw.md).

# Create EPW

![](/files/-MihrciNv2dmYaLR1_h9)

![](/files/-MihraPl8WtZC2GBEvp6) - [\[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;
