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