<filename>pysatSpaceWeather/instruments/methods/dst.py<gh_stars>1-10
# -*- coding: utf-8 -*-.
"""Provides default routines for Dst

"""


def acknowledgements(name, tag):
    """Returns acknowledgements for space weather dataset

    Parameters
    ----------
    name : string
        Name of space weather index, eg, dst, f107, kp
    tag : string
        Tag of the space weather index

    """

    ackn = {'dst':
            {'noaa': 'Dst is maintained at NCEI (formerly NGDC) at NOAA'}}

    return ackn[name][tag]


def references(name, tag):
    """Returns references for space weather dataset

    Parameters
    ----------
    name : string
        Name of space weather index, eg, dst, f107, kp
    tag : string
        Tag of the space weather index

    """

    refs = {'dst': {'noaa': ''.join([
        'See referenece list and publication at: <NAME> <NAME>, '
        'http://wdc.kugi.kyoto-u.ac.jp/dstdir/dst2/onDstindex.html, ',
        'last updated June 1991, accessed Dec 2020'])}}

    return refs[name][tag]

<filename>pysatSpaceWeather/instruments/methods/dst.py<gh_stars>1-10
# -*- coding: utf-8 -*-.
"""Provides default routines for Dst

"""


def acknowledgements(name, tag):
    """Returns acknowledgements for space weather dataset

    Parameters
    ----------
    name : string
        Name of space weather index, eg, dst, f107, kp
    tag : string
        Tag of the space weather index

    """

    ackn = {'dst':
            {'noaa': 'Dst is maintained at NCEI (formerly NGDC) at NOAA'}}

    return ackn[name][tag]


def references(name, tag):
    """Returns references for space weather dataset

    Parameters
    ----------
    name : string
        Name of space weather index, eg, dst, f107, kp
    tag : string
        Tag of the space weather index

    """

    refs = {'dst': {'noaa': ''.join([
        'See referenece list and publication at: <NAME> <NAME>, '
        'http://wdc.kugi.kyoto-u.ac.jp/dstdir/dst2/onDstindex.html, ',
        'last updated June 1991, accessed Dec 2020'])}}

    return refs[name][tag]

# -*- coding: utf-8 -*-. Provides default routines for Dst Returns acknowledgements for space weather dataset      Parameters     ----------     name : string         Name of space weather index, eg, dst, f107, kp     tag : string         Tag of the space weather index Returns references for space weather dataset      Parameters     ----------     name : string         Name of space weather index, eg, dst, f107, kp     tag : string         Tag of the space weather index