<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _get_wx_units(self, params, name):
 """ Give the Wx array returned from datapoint and an element name and return the units for that element. """

        units = ""
        for param in params:
            if str(name) == str(param['name']):
                units = param['units']
        return units