> 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/custom_sky.md).

# Custom Sky

![](/files/-Ma9XU3PbkQcMevFq0NM)

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

Create a Custom sky from direct and diffuse irradiance.

### Inputs

* **north**

A number between 0 and 360 that represents the degrees off from the y-axis to make North. This can also be a vector to set the North. Default is 0. The default North direction is the Y-axis (0 degrees).

* **location \[Required]**

A Ladybug location object.

* **dir\_rad \[Required]**

Direct normal irradiance (W/m2).

* **diff\_rad \[Required]**

Diffuse horizontal irradiance (W/m2).

* **month**

An integer between 1 and 12 for the month of the year (default: 6).

* **day**

An integer between 1 and 31 for the day of the month (default: 21).

* **hour**

A number between 0 and 23.999 for the hour of the day (default: 12).

* **colored**

Boolean to note whether the sky will be rendered in full color (True) or it will simple be a grey sky with the same average value as the colored sky (False). (Default: False).

### Outputs

* **sky**

Honeybee sky. You can use this sky to create a daylight recipe.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
