cdms2.dataset:CdmsFile

CdmsFile.getVariable(id)[source]

Get the variable object with the given id. Returns None if not found.

Parameters
idstr id of the variable to get
Returns
variable (cdms2.fvariable.FileVariable/None)
file variable