earthkit.data.translators

Submodules

Classes

Translator

Base class for all objects in earthkit.data.

Functions

get_translator(source, cls, *args, **kwargs)

Get the appropriate translator for the source based on the target cls.

transform(*args, **kwargs)

Executing wrapper for the get_translator class method.

Package Contents

class earthkit.data.translators.Translator(data, *args, **kwargs)

Bases: earthkit.data.core.Base

Base class for all objects in earthkit.data.

earthkit.data.translators.get_translator(source, cls, *args, **kwargs)

Get the appropriate translator for the source based on the target cls.

earthkit.data.translators.transform(*args, **kwargs)

Executing wrapper for the get_translator class method.