Returns a string containing names of the variables in a given netCDF file along with its dimensions.
Signatures
RS_NetCDFInfo(netCDF: ARRAY[Byte])
Parameters
The NetCDF file content as a byte array.
Return type
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)
O3(time=2, z=2, lat=48, lon=80)
NO2(time=2, z=2, lat=48, lon=80)