def igrf_print(igrf_array):
    """
    Print out Declination, Inclination, Intensity from an array returned from
    the igrf function.

    Parameters
    ----------
    igrf_array : array that is output from ipmag.igrf function

    Examples
    --------
    An array generated by the ``ipmag.igrf`` function is passed to ``ipmag.igrf_print``

    >>> local_field = ipmag.igrf([2013.6544, .052, 37.87, -122.27])
    >>> ipmag.igrf_print(local_field)
    Declination: 13.950
    Inclination: 61.352
    Intensity: 48744.848 nT
    """
    print('Declination: %0.3f' % igrf_array[0])
    print('Inclination: %0.3f' % igrf_array[1])
    print('Intensity: %0.3f nT' % igrf_array[2])
