> 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/francais/tutoriels/pywr-scenarios-reading-external-dataframe-and-adding-custom-rules/reading-h5-dataframe-for-pywr-scenarios.md).

# Lecture du DataFrame h5 pour les scénarios pywr

Accédez au nœud de captage **Days Weir,** cliquez sur Modifier **Flux**

<figure><img src="https://3963071958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHeDWQ47cDExIYi6YhdD2%2Fuploads%2Fgit-blob-122f78f6caa50d6525b64a7edbb7532b0c31aa7c%2Fimage%20(42).png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

Une nouvelle fenêtre apparaîtra, sélectionnez **PYWR \_PARAMÈTRE** et cliquez **Sauvegarder**

<figure><img src="https://3963071958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHeDWQ47cDExIYi6YhdD2%2Fuploads%2Fgit-blob-2d3f81de6e093c76b9f7a27004f7da6634059481%2Fimage%20(43).png?alt=media" alt=""><figcaption></figcaption></figure>

Collez la configuration suivante et **Enregistrer**

\`\`json { « clé » : « Days Weir », « scénario » : « Changement climatique », « type » : « Paramètre du cadre de données », « url » : « Tamise\_flux entrants\_Scénarios PyWR .h5", « index\_col » : « pas de temps », « parse\_dates » : vrai }

```

Cela devrait ressembler à l'image suivante

<figure><img src="../../.gitbook/assets/image (44).png" alt="" width="563"><figcaption></figcaption></figure>

Répétez la procédure pour le captage **Inférieur \_Thames** en utilisant la configuration suivante

``json
{
	« key » : « Basse-Tamise »,
	« scénario » : « Changement climatique »,
	« type » : « Paramètre du cadre de données »,
	« url » : « Tamise_flux entrants_Scénarios PyWR .h5",
	« index_col » : « pas de temps »,
	« parse_dates » : vrai
}
```

## Résultats

Comme le nombre total de simulations est de quatre, cela est dû au fait que nous utilisons une seule **scénarios pywr-** configuration pour **Changements climatiques**, qui contient 4 scénarios. Chacun de ces scénarios sera exécuté séparément et le résultat des 4 simulations sera affiché pour chaque résultat de sortie, comme indiqué ci-dessous

<figure><img src="https://3963071958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHeDWQ47cDExIYi6YhdD2%2Fuploads%2Fgit-blob-7b985a4169f74776d6a0f395dce2058d3f7ca16e%2Fimage%20(45).png?alt=media" alt=""><figcaption><p>simulé_débit (inférieur)_Tamise)</p></figcaption></figure>

<figure><img src="https://3963071958-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHeDWQ47cDExIYi6YhdD2%2Fuploads%2Fgit-blob-e1c64630c4a4be54dae8d96da6d1a9b2b83600eb%2Fimage%20(48).png?alt=media" alt=""><figcaption><p>simulated_volume (Nouveau réservoir)</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/francais/tutoriels/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.
