variableWithName

Retrieve a variable by name or path.


Declaration

 var = variableWithName(,variableName)

Parameters

  • variableName (char string) Variable name or group-qualified path.

Returns

  • var (NetCDFVariable) Matching variable object.

Discussion

  var = ncfile.variableWithName('x');

var will be either NetCDFRealVariable or NetCDFComplexVariable.


This site uses Just the Docs, a documentation theme for Jekyll.