write_table_yanny

pydl.pydlutils.yanny.write_table_yanny(table, filename, tablename=None, overwrite=False)[source]

Write a Table to a yanny file.

If table has any metadata, it will be written to the file as well.

This function is for use with register_writer().

Parameters
tableastropy.table.Table

The object to be written.

filenamestr

Name of the file to write to.

tablenamestr, optional

Name to give table within the file.

overwritebool, optional

If True, any existing file will be silently overwritten.