nctoolkit.DataSet.divide

DataSet.divide(self, x=None, var=None)

Divide the data This will divide the dataset by a constant, another dataset or a NetCDF file. :param x: An int, float, single file dataset or netcdf file to divide the dataset by.

If a dataset or netcdf file is supplied, this must have only one variable, unless var is provided. The grids must be the same.

Parameters

var (str) – A variable in the x to use for the operation