> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt
> Use this file to discover all available pages before exploring further.

# RS_Mean

Returns Mean value for a spectral band in a Geotiff image

## Signatures

```sql theme={"system"}
RS_Mean (Band: ARRAY[Double])
```

## Parameters

<ParamField body="Band" type="ARRAY[Double]" required>
  The band index.
</ParamField>

## Return type

<ResponseField type="Double">
  A numeric value.
</ResponseField>

## Example

```scala theme={"system"}
val meanDF = spark.sql("select RS_Mean(band) as mean from dataframe")
```
