# Deconstruct Header

![](https://894783789-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LPHXQ1I3gb93zpLrLZf%2Fuploads%2Fgit-blob-058755e5cad7fed58f53434ab15b149f24577f73%2FDeconstruct_Header.png?alt=media)

![](https://894783789-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LPHXQ1I3gb93zpLrLZf%2Fuploads%2Fgit-blob-265520708222ad2a352f0ce1bb8fa53be37781b9%2FDeconstruct_Header.png?alt=media) - [\[source code\]](https://github.com/ladybug-tools/ladybug-grasshopper/blob/master/ladybug_grasshopper/src/LB%20Deconstruct%20Header.py)

Deconstruct a Ladybug Header into its components.

### Inputs

* **header \[Required]**

The header of the DataCollection (containing metadata).

### Outputs

* **data\_type**

Type of data (e.g. Temperature) (Default: unknown).

* **unit**

Units of the data\_type (e.g. C) (Default: unknown)

* **a\_period**

A Ladybug AnalysisPeriod object.

* **metadata**

Optional metadata associated with the Header.
