cdf_units

heliopy.data.util.cdf_units(cdf_, manual_units=None, length=None)

Takes the CDF File and the required keys, and finds the units of the selected keys.

Parameters
  • cdf (cdflib.CDF) – Opened cdf file

  • manual_units (OrderedDict) – Manually defined units to be attached to the data that will be returned.

Returns

out – Returns an OrderedDict with units of the selected keys.

Return type

collections.OrderedDict