@classmethod<EOL><INDENT>def range(cls, dataset, dimension):<DEDENT>
dim = dataset.get_dimension(dimension, strict=True)<EOL>values = dataset.dimension_values(dim.name, False)<EOL>return (np.nanmin(values), np.nanmax(values))<EOL>
Computes the range along a particular dimension.