AstropyEcsvReader

AstropyEcsvReader#

class hats_import.catalog.file_readers.AstropyEcsvReader(**kwargs)#

Reads astropy ascii .ecsv files.

Note that this is NOT a chunked reader. Use caution when reading large ECSV files with this reader.

kwargs#

keyword arguments passed to astropy ascii reader. See https://docs.astropy.org/en/stable/api/astropy.io.ascii.read.html#astropy.io.ascii.read

Methods

read(input_file[, read_columns])

Read the input file, or chunk of the input file.

read_index_file(input_file[, upath_kwargs])

Read an "indexed" file.

regular_file_exists(input_file, **_kwargs)

Check that the input_file points to a single regular file