nctoolkit.DataSet.bottom

DataSet.bottom(self)

Extract the bottom level from a dataset This extracts the bottom level from each netCDF file. Please note that for ensembles, it uses the first file to derive the index of the bottom level. Use bottom_mask for files when the bottom cell in netCDF files do not represent the actual bottom.

Examples

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

>>> ds.bottom()

This method is most useful for things like oceanic model data, where the bottom cell corresponds to the bottom of the ocean.