Skip to content

Update desitarget.io.read_mtl_ledger() to read gzipped files #854

@geordie666

Description

@geordie666

It would be convenient to gzip the alt-MTL ledgers, as this would make them about 4x smaller.

However, to speed up the reading of the data MTLs, desitarget.io.read_mtl_ledger() parses the ledgers as pure-ascii files in some places rather than doing a simple Table read.

So, we should update desitarget.io.read_mtl_ledger() to detect that a ledger is in .gz format and, if so, read it using a pure Table read.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions