# Wea from Zhang-Huang

![](https://2572426507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ma9X8PomX22wWVDNCoj%2Fuploads%2Fgit-blob-a39b19febe0d54fcb1ea046d718c7e8c6adb391e%2FWea_from_Zhang-Huang.png?alt=media)

![](https://2572426507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ma9X8PomX22wWVDNCoj%2Fuploads%2Fgit-blob-3741917b78c1214ca4961da4479b9f6423b706ce%2FWea_from_Zhang-Huang.png?alt=media) - [\[source code\]](https://github.com/ladybug-tools/honeybee-grasshopper-radiance/blob/master/honeybee_grasshopper_radiance/src/HB%20Wea%20from%20Zhang-Huang.py)

Construct a WEA from hourly data collections and the Zhang-Huang Solar Model.

## Inputs

* **location \[Required]**

  A Ladybug Location object.&#x20;
* **cloud\_cover \[Required]**

  Hourly DataCollection with the fraction of total sky cover (tenths of coverage). (eg. 1 is 1/10 covered. 10 is total coverage)&#x20;
* **rel\_humidity \[Required]**

  Hourly DataCollection with relative humidity \[%].&#x20;
* **dry\_bulb\_temp \[Required]**

  Hourly DataCollection with dry bulb temperature \[C].&#x20;
* **wind\_speed \[Required]**

  Hourly DataCollection with wind speed \[m/s].&#x20;
* **atmos\_pressure**

  Hourly DataCollection with amtospheric pressure \[Pa]. If no value is connected here, pressure at sea level will be assumed (101,325 Pa).&#x20;

## Outputs

* **wea**

  A wea object from the input data collections and the Zhang-Huang solar model.&#x20;
