nctoolkit.DataSet.set_units#

DataSet.set_units(self, unit_dict=None, \*\*kwargs)#

Set the units for variables

Parameters
  • unit_dict (dict) – A dictionary where the key-value pairs are the variables and new units respectively.

  • kwargs (*) – Alternative method for setting units