# Weekly Profile

## General Description

The **weekly profile** contains 52 weeks per year. The last week of the year will have more than 7 days, as 365 / 7 is not whole.[ API Reference](https://pywr.github.io/pywr-docs/master/api/generated/pywr.parameters.WeeklyProfileParameter.html)

## Attributes

| Name   | Description                                                          | Required |
| ------ | -------------------------------------------------------------------- | -------- |
| type   | weeklyprofile                                                        | Yes      |
| values | An array of 52 numbers whose indices represent the days of the year. | Yes      |

## Example

```json
{
    type: 'weeklyprofile',
    values: [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ... ]
}
```


---

# 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://water-strategy.gitbook.io/waterstrategy/modeling-basics/parameters/time-series-and-profiles/weekly-profile.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.
