earthkit.data.decorators

Attributes

Classes

Functions

cached_method(method)

detect_out_filename(func)

dict_args(func)

locked(func)

normalise_grib_key_values(kwargs[, accept_none, as_tuple])

normalise_grib_keys(f)

Module Contents

class earthkit.data.decorators.Decorator
is_availability = False
earthkit.data.decorators.LOCK
earthkit.data.decorators.OPTIONS
class earthkit.data.decorators.alias_argument(target=None, aliases=None, **kwargs)

Bases: Decorator

is_availability = False
kwargs
register(manager)
class earthkit.data.decorators.availability(availability, **kwargs)

Bases: Decorator

availability
is_availability = True
register(manager)
earthkit.data.decorators.cached_method(method)
earthkit.data.decorators.detect_out_filename(func)
earthkit.data.decorators.dict_args(func)
earthkit.data.decorators.locked(func)
class earthkit.data.decorators.normalise(name, values=None, **kwargs)

Bases: Decorator

is_availability = False
kwargs
name
register(manager)
earthkit.data.decorators.normalise_grib_key_values(kwargs, accept_none=True, as_tuple=False)
earthkit.data.decorators.normalise_grib_keys(f)