Returns a string containing names of the variables in a given netCDF file along with its dimensions.
Signatures
RS_NetCDFInfo(netCDF: ARRAY[Byte])
Parameters
ARRAY[Byte]
required
The NetCDF file content as a byte array.
Return type
A string representation.
Example
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)