tsdat.io.handlers

Classes

CSVHandler

DataHandler specifically tailored to reading and writing files of a specific type.

NetCDFHandler

DataHandler specifically tailored to reading and writing files of a specific type.

ParquetHandler

DataHandler specifically tailored to reading and writing files of a specific type.

SplitNetCDFHandler

DataHandler specifically tailored to reading and writing files of a specific type.

ZarrHandler

DataHandler specifically tailored to reading and writing files of a specific type.

class tsdat.io.handlers.CSVHandler[source]

Bases: tsdat.io.base.FileHandler

DataHandler specifically tailored to reading and writing files of a specific type.

Parameters:
  • extension (str) – The specific file extension used for data files, e.g., “.nc”.

  • reader (DataReader) – The DataReader subclass responsible for reading input data.

  • writer (FileWriter) – The FileWriter subclass responsible for writing output

  • data.

extension: str = 'csv'[source]
reader: tsdat.io.readers.CSVReader[source]
writer: tsdat.io.writers.CSVWriter[source]
class tsdat.io.handlers.NetCDFHandler[source]

Bases: tsdat.io.base.FileHandler

DataHandler specifically tailored to reading and writing files of a specific type.

Parameters:
  • extension (str) – The specific file extension used for data files, e.g., “.nc”.

  • reader (DataReader) – The DataReader subclass responsible for reading input data.

  • writer (FileWriter) – The FileWriter subclass responsible for writing output

  • data.

extension: str = 'nc'[source]
reader: tsdat.io.readers.NetCDFReader[source]
writer: tsdat.io.writers.NetCDFWriter[source]
class tsdat.io.handlers.ParquetHandler[source]

Bases: tsdat.io.base.FileHandler

DataHandler specifically tailored to reading and writing files of a specific type.

Parameters:
  • extension (str) – The specific file extension used for data files, e.g., “.nc”.

  • reader (DataReader) – The DataReader subclass responsible for reading input data.

  • writer (FileWriter) – The FileWriter subclass responsible for writing output

  • data.

extension: str = 'parquet'[source]
reader: tsdat.io.readers.ParquetReader[source]
writer: tsdat.io.writers.ParquetWriter[source]
class tsdat.io.handlers.SplitNetCDFHandler[source]

Bases: tsdat.io.base.FileHandler

DataHandler specifically tailored to reading and writing files of a specific type.

Parameters:
  • extension (str) – The specific file extension used for data files, e.g., “.nc”.

  • reader (DataReader) – The DataReader subclass responsible for reading input data.

  • writer (FileWriter) – The FileWriter subclass responsible for writing output

  • data.

extension: str = 'nc'[source]
reader: tsdat.io.readers.NetCDFReader[source]
writer: tsdat.io.writers.SplitNetCDFWriter[source]
class tsdat.io.handlers.ZarrHandler[source]

Bases: tsdat.io.base.FileHandler

DataHandler specifically tailored to reading and writing files of a specific type.

Parameters:
  • extension (str) – The specific file extension used for data files, e.g., “.nc”.

  • reader (DataReader) – The DataReader subclass responsible for reading input data.

  • writer (FileWriter) – The FileWriter subclass responsible for writing output

  • data.

extension: str = 'zarr'[source]
reader: tsdat.io.readers.ZarrReader[source]
writer: tsdat.io.writers.ZarrWriter[source]