> For the complete documentation index, see [llms.txt](https://water-strategy.gitbook.io/waterstrategy/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://water-strategy.gitbook.io/waterstrategy/deutsch/tutorials/pywr-scenarios-reading-external-dataframe-and-adding-custom-rules/reading-h5-dataframe-for-pywr-scenarios.md).

# Lesen von h5 DataFrame für Pywr-Szenarien

Gehe zum Einzugsgebiet **Tage seltsam,** klicken Sie auf Bearbeiten **Fluss**

<figure><img src="/files/6BB8U2d3ofztLCWfbJcH" alt="" width="563"><figcaption></figcaption></figure>

Ein neues Fenster öffnet sich, wählen Sie **PYWR\_PARAMETER** und klicken Sie **Speichern**

<figure><img src="/files/crUlxZMWFNDwxD87227A" alt=""><figcaption></figcaption></figure>

Fügen Sie die folgende Konfiguration ein und **Speichern**

```json
{
	„key“: „Days Weir“,
	„scenario“: „Klimawandel“,
	„Typ“: „DataFrameParameter“,
	„url“: „Themse“_Zuflüsse_PYWR-Szenarien.H5",
	„index_col“: „Zeitschritt“,
	„parse_dates“: wahr
}
```

Es sollte wie das folgende Bild aussehen

<figure><img src="/files/t9myI1B0exafqaVeLhKt" alt="" width="563"><figcaption></figcaption></figure>

Wiederholen Sie den Vorgang für das Einzugsgebiet **Niedriger\_Thames** mit der folgenden Konfiguration

```json
{
	„key“: „Untere Themse“,
	„scenario“: „Klimawandel“,
	„Typ“: „DataFrameParameter“,
	„url“: „Themse“_Zuflüsse_PYWR-Szenarien.H5",
	„index_col“: „Zeitschritt“,
	„parse_dates“: wahr
}
```

## Ergebnisse

Da die Gesamtzahl der Simulationen vier beträgt, liegt dies daran, dass wir eine einzige verwenden **Pywr-Szenarien** einrichten für **Klimawandel**, das 4 Szenarien enthält. Jedes dieser Szenarien wird separat ausgeführt, und das Ergebnis aller 4 Simulationen wird in jedem Ausgabeergebnis angezeigt, wie unten dargestellt

<figure><img src="/files/QzmycaRev9OXFGkTcYKV" alt=""><figcaption><p>simuliert_Fluss (Niedriger)_Themse)</p></figcaption></figure>

<figure><img src="/files/lCJaQpIH3NSAxuzdgRte" alt=""><figcaption><p>simulated_volume (Neues Reservoir)</p></figcaption></figure>


---

# 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://water-strategy.gitbook.io/waterstrategy/deutsch/tutorials/pywr-scenarios-reading-external-dataframe-and-adding-custom-rules/reading-h5-dataframe-for-pywr-scenarios.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.
