units_attach

heliopy.data.util.units_attach(data, units, warn_missing_units=True)

Takes the units defined by the user and attaches them to the TimeSeries.

Parameters:
Returns:

out – DataFrame converted into TimeSeries with units attached.

Return type:

TimeSeries