Skip to content

Commit

Permalink
Merge pull request #61 from spacetelescope/rename_lvl3
Browse files Browse the repository at this point in the history
Change extension of level3 products from cspec to aspec
  • Loading branch information
jotaylor authored Oct 25, 2023
2 parents 76c2734 + a171add commit 8037833
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ullyses/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -610,15 +610,17 @@ def create_output_file_name(prod, version=VERSION, level=3):
if level == 1:
suffix = "mspec"
tel = 'hst'
elif level == 3 or level == 2:
elif level == 2:
tel= 'hst'
suffix = "cspec"
elif level == 3:
if instrument == 'fuse':
tel = 'fuse'
instrument = 'fuv' # "fuv" is the "instrument" equivalent for fuse
grating = aperture # the grating for fuse data is set to "fuse" to change to use aperture
suffix = 'cspec'
else:
tel= 'hst'
suffix = "cspec"
suffix = 'aspec'
elif level == 4:
suffix = "preview-spec"
if "G430L" in prod.grating or "G750L" in prod.grating:
Expand Down

0 comments on commit 8037833

Please sign in to comment.