nctoolkit.DataSet.top

DataSet.top(self)

Extract the top/surface level from a dataset This extracts the first vertical level from each file in a dataset.

Examples

If you wanted to extract the top vertical level of a dataset, do the following:

>>> ds.top()

This method is most useful for things like oceanic data, where this method will extract the sea surface.