Evalscript (custom script)

An evalscript (or "custom script") is a piece of Javascript code which defines how the satellite data shall be processed by Sentinel Hub and what values the service shall return. It is a required part of any process, batch processing or OGC request.

Evalscripts can use any JavaScript function or language structures, along with certain utility functions we provide for your convenience. For running evalscripts we use the Chrome V8 JavaScript engine.

In the Evalscript V3 section you will find a technical documentation with detailed explanations of parameters and functions you can use in your evalscripts.

Examples

Examples of various evalscritps can be found on our Custom Scripts Repository.