# Wea From Clear Sky

![](/files/-MihqasowXXpfvRiYoTX)

![](/files/-MihqacnT491BP5e46Nl) - [\[source code\]](https://github.com/ladybug-tools/honeybee-grasshopper-radiance/blob/master/honeybee_grasshopper_radiance/src//HB%20Wea%20From%20Clear%20Sky.py)

Create a WEA object using the original ASHRAE Clear Sky formula.

## Inputs

* **location \[Required]**

  A Ladybug Location object which will set the sun poisition for the clear sky Wea. Locations can be obtained from the "LB Import EPW" or the "LB Construct Location" component.&#x20;
* **clearness**

  A factor to be multiplied by the output of the clear sky model. This is to help account for locations where clear, dry skies predominate (e.g., at high elevations) or, conversely, where hazy and humid conditions are frequent. See Threlkeld and Jordan (1958) for recommended values. Typical values range from 0.95 to 1.05 and are usually never more than 1.2. (Default: 1.0).&#x20;
* **hoys**

  An optional list of hours of the year (numbers from 0 to 8759) for which the Wea will be filtered. HOYs can be generated from the "LB Analysis Period" component or they can be obtained through other means like analysis of the values in an occupancy schedule. By default, the Wea will be generated for the whole year.&#x20;
* **timestep**

  An integer representing the timestep with which to make the WEA object. (Default: 1, for 1 step per hour of the year).&#x20;

## Outputs

* **wea**

  A wea object from stat file. This wea object represents an original  ASHRAE Clear Sky, which is intended to determine peak solar load and sizing parmeters for HVAC systems.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ladybug.tools/hb-radiance-primer/components/2_lightsources/wea_from_clear_sky.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
