# Annual Results to Data

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

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