Skip to content

Gemini: get_file should be flexible about the filename #1997

@olyoberdorf

Description

@olyoberdorf

The API can return filenames from the Gemini service that end in .bz2, but the download request wants the .fits filename. This maks the intuitive use of the astroquery module fail. i.e. something like this should work as the user would expect

for fname in res['filename']:
    Observations.get_file(fname)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions