> ## 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_NetCDFInfo

Returns a string containing names of the variables in a given netCDF file along with its dimensions.

## Signatures

```sql theme={"system"}
RS_NetCDFInfo(netCDF: ARRAY[Byte])
```

## Parameters

<ParamField body="netCDF" type="ARRAY[Byte]" required>
  The NetCDF file content as a byte array.
</ParamField>

## Return type

<ResponseField type="String">
  A string representation.
</ResponseField>

## Example

```scala theme={"system"}
val df = sedona.read.format("binaryFile").load("/some/path/test.nc")
recordInfo = df.selectExpr("RS_NetCDFInfo(content) as record_info").first().getString(0)
print(recordInfo)
```

```text theme={"system"}
O3(time=2, z=2, lat=48, lon=80)

NO2(time=2, z=2, lat=48, lon=80)
```
