Skip to content

HASP 1.1.4 (with HSLA) is not compatible with Ullyses #47

@stscirij

Description

@stscirij

from ullyses.ullyses_coadd_abut_wrapper import main
main('/astro/sveash/Izw18/', '/astro/sveash/Izw18/', clobber=True)

Traceback (most recent call last):
File "/Users/sveash/anaconda3/envs/coadd_ullyses/bin/coadd", line 8, in
sys.exit(coadd_parser())
File "/Users/sveash/anaconda3/envs/coadd_ullyses/lib/python3.9/site-packages/ullyses/ullyses_coadd_abut_wrapper.py", line 551, in coadd_parser
main(args.indir, args.outdir, args.version, args.clobber)
File "/Users/sveash/anaconda3/envs/coadd_ullyses/lib/python3.9/site-packages/ullyses/ullyses_coadd_abut_wrapper.py", line 534, in main
coadd_and_abut_files(allfiles, outdir, version, clobber)
File "/Users/sveash/anaconda3/envs/coadd_ullyses/lib/python3.9/site-packages/ullyses/ullyses_coadd_abut_wrapper.py", line 458, in coadd_and_abut_files
lvl3_product = create_level4_products(lvl3_productlist, lvl3_productdict,
File "/Users/sveash/anaconda3/envs/coadd_ullyses/lib/python3.9/site-packages/hasp/grating_priority.py", line 128, in create_level4_products
abutted_product = abut(None, productdict[new_grating], value['wavelength'])
File "/Users/sveash/anaconda3/envs/coadd_ullyses/lib/python3.9/site-packages/hasp/grating_priority.py", line 382, in abut
if product_long.product_type != 'cross-program':
AttributeError: 'Ullyses_COSSegmentList' object has no attribute 'product_type'

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