# Custom Sky

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

![](https://2572426507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ma9X8PomX22wWVDNCoj%2Fuploads%2Fgit-blob-a97ce1555f8f366dbe7727d22a40946a04294d09%2FCustom_Sky.png?alt=media) - [\[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.
