ExplicitFile

class glotaran.builtin.file_formats.ascii.wavelength_time_explicit_file.ExplicitFile(filepath: Optional[str] = None, dataset: Optional[xarray.core.dataarray.DataArray] = None)[source]

Bases: object

Abstract class representing either a time- or wavelength-explicit file.

Methods Summary

dataset

get_data_row

get_explicit_axis

get_format_name

get_observations

get_secondary_axis

read

set_explicit_axis

write

Methods Documentation

dataset(prepare: bool = True)xr.Dataset | xr.DataArray[source]
get_data_row(index)[source]
get_explicit_axis()[source]
get_format_name()[source]
get_observations(index)[source]
get_secondary_axis()[source]
read(prepare: bool = True)[source]
set_explicit_axis(axis)[source]
write(overwrite=False, comment='', file_format=<DataFileType.time_explicit: 'Time explicit'>, number_format='%.10e')[source]