TimeExplicitFile

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

Bases: glotaran.builtin.file_formats.ascii.wavelength_time_explicit_file.ExplicitFile

Represents a time explicit file

Methods Summary

add_data_row

dataset

get_data_row

get_explicit_axis

get_format_name

get_observations

get_secondary_axis

read

set_explicit_axis

write

Methods Documentation

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