nctoolkit.DataSet.invert_levels

nctoolkit.DataSet.invert_levels#

DataSet.invert_levels()#

Invert the levels of 3D variables.

This is calculated for each time step and grid cell.

Examples

If you wanted to invert the vertical levels, you would do this:

>>> ds.invert_levels()