> For the complete documentation index, see [llms.txt](https://docs.geopard.tech/geopard-tutorials/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.geopard.tech/geopard-tutorials/fin/api-dokumentaatio/diagrams-with-basic-flows/5.-execute-equations.md).

# 5. Suorita yhtälöitä

Suorita yhtälöt -sekvenssikaavio havainnollistaa yhtälöiden suorittamista GeoPard-ratkaisussa.

Yleensä on suositeltavaa käyttää tilin tai organisaation tasolla valmiiksi tallennettuja yhtälöitä. Yhtälö sisältää aina linkkejä muihin aineistoihin, kuten SoilDataset-, AsAppliedDataset- ja YieldDataset-aineistoihin sekä SatelliteImage-kuviin. Näihin linkitettyjen aineistojen attribuutteja käytetään yhtälön muuttujina, joten aineistojen tiedot haetaan etukäteen. Yleisimmin käytettyjä aineistoja ovat SoilDataset-aineistot ([Pyyntö 1 eli R1](https://docs.geopard.tech/geopard-tutorials/fin/api-dokumentaatio/geopard-api-requests-overview/field-data/query-get-soildatasets.md)), AsAppliedDataset-aineistot ([Pyyntö 1 eli R1](https://docs.geopard.tech/geopard-tutorials/fin/api-dokumentaatio/geopard-api-requests-overview/field-data/query-get-asapplieddatasets.md)), ja YieldDataset-aineistot ([Pyyntö 1 eli R1](https://docs.geopard.tech/geopard-tutorials/fin/api-dokumentaatio/geopard-api-requests-overview/field-data/query-get-yielddatasets.md)).

Yhtälön suoritus käynnistetään asynkronisesti. Ensimmäinen pyyntö käynnistää yhtälön suorituksen ja palauttaa UUID-tunnukset, jotka yksilöivät vastaavan EquationMap-kartan ([Pyyntö 2 eli R2](https://docs.geopard.tech/geopard-tutorials/fin/api-dokumentaatio/geopard-api-requests-overview/raster-and-equation-maps/mutation-generate-equationmap-asynchronously.md)). Suorituksen yhteenveto toimitetaan GraphQL-tilauksen tapahtumina WebSocket-yhteyden kautta ([Pyyntö 3 eli R3](https://docs.geopard.tech/geopard-tutorials/fin/api-dokumentaatio/geopard-api-requests-overview/events/subscription-get-events.md)). Kun tapahtuma on toimitettu, GeoPard API -asiakas voi hakea esimerkiksi metatietoja, tilastoja ja geometrioita ([Pyyntö 4 eli R4](https://docs.geopard.tech/geopard-tutorials/fin/api-dokumentaatio/geopard-api-requests-overview/raster-and-equation-maps/query-get-equationmap.md)).

GeoPardin tapahtumapohjainen arkkitehtuuri takaa yhtälöiden suorittamiseen ja tulosten hakemiseen luotettavan, tehokkaan ja reagoivan järjestelmän.

<figure><img src="https://49925783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYICBELdyAXXebKAzfLOR%2Fuploads%2F9JqRQu208BIu74IPw0BX%2Fimage.png?alt=media&amp;token=f503851e-f67a-4bac-bb32-a2bf8cbbe136" alt=""><figcaption><p>Sekvenssikaavio: Suorita yhtälö</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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.geopard.tech/geopard-tutorials/fin/api-dokumentaatio/diagrams-with-basic-flows/5.-execute-equations.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
