Skip to content

Error on command line option with Gemini GMOS 2D spectrum #11

@Karuntg

Description

@Karuntg

Hi Chengyuan
I am testing Cosmic-Conn for CR masking on Gemini-S GMOS 2D spectrum

When I tried the command line option:

cosmic-conn -i cr_tst -e SCI

INFO:root:Initializing Cosmic-CoNN CR detection ground_imaging model...

INFO:root:...GPU or CUDA not detected, using CPU (slower).
INFO:root:...training on CPU is not recommended.
INFO:root:ground_imaging model initialized.

1 FITS found in cr_tst
ERROR:root:No valid data found in extention 0, 1 or SCI, to specify extension name: -e SCI.

GMOS fits has the SCI extension in extension 2. I tried -e 2, but still no success

I have posted the 2D spectrum at:
https://www.astro.uvic.ca/~karun/tgsqgsS20221115S0065.fits
if you wish to try

pls advise. I also embedded cosmic-conn in a py script, but am getting a different error, will post it as a separate issue
thx
karun

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions