HyperSpectral

class typhon.datasets.dataset.HyperSpectral(**kwargs)[source]

Superclass for any hyperspectral instrument

__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.5/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.
read([f, fields, pseudo_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
freqfile
frequency
mandatory_fields
maxsize
my_pseudo_fields
name
read_returns
related
section
start_date
time_field
unique_fields
wavelength
wavenumber