SingleFileDataset

class typhon.datasets.dataset.SingleFileDataset(name=None, **kwargs)[source]

Represents a dataset where all measurements are in one file.

__init__(**kwargs)

Initialise a Dataset object.

All keyword arguments will be translated into attributes. Does not take positional arguments.

Note that if you create a dataset with a name that already exists, the existing object is returned, but __init__ is still called (Python does this, see https://docs.python.org/3.7/reference/datamodel.html#object.__new__).

Methods

__init__(**kwargs)

Initialise a Dataset object.

as_xarray_dataset()

combine(my_data, other_obj[, other_data, ...])

Combine with data from other dataset.

find_granules([start, end, include_last_before])

Loop through all granules for indicated period.

find_granules_sorted([start, end, ...])

Yield all granules sorted by starting time then ending time.

find_most_recent_granule_before(instant, ...)

Find granule covering instant

get_additional_field(M, fld)

Get additional field.

get_times_for_granule([gran])

read([f, fields])

Read granule in file and do some other fixes

read_period([start, end, onerror, fields, ...])

Read all granules between start and end, in bulk.

setlocal()

Set local attributes, from config or otherwise.

Attributes

aliases

concat_coor

default_orbit_filters

end_date

mandatory_fields

maxsize

my_pseudo_fields

name

read_returns

related

section

srcfile

start_date

time_field

unique_fields