nctoolkit.DataSet.surface

DataSet.surface(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.surface()

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