earthkit.data.sources.sample

Attributes

Classes

Sample

Base class for all sources.

Module Contents

earthkit.data.sources.sample.REMOTE_SAMPLE_DATA_URL = 'https://sites.ecmwf.int/repository/earthkit/samples/'
class earthkit.data.sources.sample.Sample(path, *args, **kwargs)

Bases: earthkit.data.sources.file.FileSource

Base class for all sources.

content_type = None
filter = None
graph(depth=0)
ignore()

Indicates to ignore this source in concatenation/merging.

Return type:

bool

classmethod merge(sources)
merger = None
mutate()
mutate_source()
name = None
property parent

The parent source, if any.

property parts
property path
source_filename = None
stream = False
to_data_object()

Convert this source into a data object, if possible.

to_target(*args, **kwargs)
earthkit.data.sources.sample.source