# Visualize Sky

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

![](https://2572426507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ma9X8PomX22wWVDNCoj%2Fuploads%2Fgit-blob-5d524199ca7cf307444258ad0e141110befc8d25%2FVisualize_Sky.png?alt=media) - [\[source code\]](https://github.com/ladybug-tools/honeybee-grasshopper-radiance/blob/master/honeybee_grasshopper_radiance/src/HB%20Visualize%20Sky.py)

Visualize a sky as a High Dynamic Range (HDR) image file.

## Inputs

* **sky \[Required]**

  A Radiance sky from any of the sky components under the "Light Sources" tab. Text string representations of skies are also acceptable.&#x20;
* **size**

  A number for the X and Y dimension of the imgae in pixles. (Default: 500 px)&#x20;

## Outputs

* **hdr**

  Path to the High Dynamic Range (HDR) image file of the sky. This can be plugged into the Ladybug "Image Viewer" component to preview the image. It can also be plugged into the "HB False Color" component to convert the image into a false color version. Lastly, it can be connected to the "HB HDR to GIF" component to get a GIF image that is more portable and easily previewed by different software.&#x20;
* **ghi**

  The global horizontal irradiance (W/m2) for an upstructed test point under the sky.&#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/visualize_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.
