# openEO Studio

> Interactive openEO code editor for Microsoft Planetary Computer data. openEO Studio is a web editor: the user writes openEO Python client code, Studio runs it in the browser (Pyodide) and shows the result as map tiles. This deployment uses the openEO backend at https://openeo.mpc.ds.io.

To give a user a ready sample: start from the sample that is nearest to the request, change the code and the configuration, and give the user a prefill link (`https://studio.mpc.ds.io/editor?sample=…`). The user must log in, read the code, and click Save. Save runs the code and saves the project to the account of the user. Studio never runs a sample from a link on its own.

Band names and the band dimension name are different on each backend. Get them from `https://openeo.mpc.ds.io/collections/{collectionId}` before you write a sample. Read [backend.md](https://studio.mpc.ds.io/agents/backend.md).

Reflectance is from 0 to 1: the backend already applied the scale and the offset. Read [script-contract.md](https://studio.mpc.ds.io/agents/script-contract.md#data-values).

Choose the area and the dates with care. Too narrow gives no image (`NoDataAvailable`). Too large gives more images than the backend accepts for a tile (`ItemsLimitExceeded`, 20 by default). Start with 1 to 2 weeks, a cloud filter of 20 % or less, and an area of less than 1°. Read [prefill.md](https://studio.mpc.ds.io/agents/prefill.md#area-and-dates).

## Docs

- [Script contract](https://studio.mpc.ds.io/agents/script-contract.md): the variables that Studio defines before your code, and the rules for the code.
- [Samples](https://studio.mpc.ds.io/agents/samples.md): the samples of this deployment, with links to open them and to their code.
- [Prefill link](https://studio.mpc.ds.io/agents/prefill.md): how to build a link that opens the editor with your sample.
- [openEO backend](https://studio.mpc.ds.io/agents/backend.md): how to get the collections, bands and processes of the backend.

## Machine-readable

- [Deployment manifest](https://studio.mpc.ds.io/.well-known/openeo-studio.json): URLs, routes and samples as JSON.
- [Sample JSON Schema](https://studio.mpc.ds.io/agents/sample.schema.json): the schema of a prefill sample.
- [openEO backend capabilities](https://openeo.mpc.ds.io/)

## Optional

- [User guide](https://studio.mpc.ds.io/agents/user-guide.md): the in-app documentation for people.
- [More examples (openeo-udp notebooks)](https://github.com/developmentseed/openeo-udp)
- [Source code](https://github.com/developmentseed/openeo-studio)
