> 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/4_results/annual_results_to_data.md).

# Annual Results to Data

![](/files/-Mihqh4Qhe_Du919HtiS)

![](/files/-MihqZxlVZCCPYHbCM5z) - [\[source code\]](https://github.com/ladybug-tools/honeybee-grasshopper-radiance/blob/master/honeybee_grasshopper_radiance/src//HB%20Annual%20Results%20to%20Data.py)

Import the hourly illuminance or irradiance results of an annual daylight or irradiance study to a list of data collections.

The resulting data collections can be visulized using the ladybug components or deconstructed for detailed analysis with native Grasshopper math components.

### Inputs

* **results \[Required]**

An list of annual Radiance result files from the "HB Annual Daylight" component (containing the .ill files and the sun-up-hours.txt). This can also be just the path to the folder containing these result files.

* **dyn\_sch**

Optional dynamic Aperture Group Schedules from the "HB Aperture Group Schedule" component, which will be used to customize the behavior of any dyanmic aperture geometry in the output metrics. If unsupplied, all dynamic aperture groups will be in their default state in for the output metrics.

* **sel\_pts \[Required]**

A point or list of points, which will be used to filter the sensors for which data collections will be imported.

* **all\_pts \[Required]**

The data tree of all sensor points that were used in the simulation. This is required in order to look up the index of the \_sel\_pts in the results matrices.

* **sel\_vecs**

An optional vector or list of vectors, which will be used to filter the sensors for which data collections will be imported. If there is an input here, the all\_vecs\_ must be connected.

* **all\_vecs**

The data tree of all sensor directions that were used in the simulation. This is required in order to look up the index of the sel\_vecs\_ in the results matrices.

### Outputs

* **report**

Reports, errors, warnings, etc.

* **data**

A list of hourly data collections containing illuminance or irradiance results. These can be visulized using the ladybug components or deconstructed for detailed analysis with native Grasshopper math components.


---

# 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/4_results/annual_results_to_data.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.
