nctoolkit.DataSet.set_units

DataSet.set_units(self, unit_dict=None)

Set the units for variables

Parameters

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