> For the complete documentation index, see [llms.txt](https://docs.ladybug.tools/hb-radiance-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/hb-radiance-primer/components/2_lightsources/wea_from_zhang-huang.md).

# 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.

* #### 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)

* #### rel\_humidity \[Required]

Hourly DataCollection with relative humidity \[%].

* #### dry\_bulb\_temp \[Required]

Hourly DataCollection with dry bulb temperature \[C].

* #### wind\_speed \[Required]

Hourly DataCollection with wind speed \[m/s].

* #### atmos\_pressure

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

### Outputs

* #### wea

A wea object from the input data collections and the Zhang-Huang solar model.
