Skip to content

Commit

Permalink
change to lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
schlafly committed Oct 16, 2024
1 parent 86b3a34 commit a3186c5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions scripts/romancal_make_all_l1s.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# r0000101001001001001_0001_WFI01 - default for most steps
# r0000201001001001001_0001_WFI01 - equivalent for spectroscopic data
# r0000101001001001001_0002_WFI01 - a second resample exposure, only cal step needed
# r0000101001001001001_0003_WFI01 - for ramp fitting; truncated image
# r0000201001001001001_0003_WFI01 - for ramp fitting; truncated spectroscopic
# r0000101001001001001_0001_wfi01 - default for most steps
# r0000201001001001001_0001_wfi01 - equivalent for spectroscopic data
# r0000101001001001001_0002_wfi01 - a second resample exposure, only cal step needed
# r0000101001001001001_0003_wfi01 - for ramp fitting; truncated image
# r0000201001001001001_0003_wfi01 - for ramp fitting; truncated spectroscopic
# we need only darkcurrent & ramp fit for these
#
# r0000101001001001001_0004_WFI01 - 16 resultant file, ma_table 110
# r0000201001001001001_0004_WFI01 - 16 resultant spectroscopic file, ma_table 110
# r0000101001001001001_0004_wfi01 - 16 resultant file, ma_table 110
# r0000201001001001001_0004_wfi01 - 16 resultant spectroscopic file, ma_table 110

# note that the "spectroscopic" files are really imaging files where the only
# thing that has been updated is the optical_element and exposure.type.
Expand Down
4 changes: 2 additions & 2 deletions scripts/romanisim-make-image
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ def go(args):
origprevious = copy(args.previous)
for i in range(1, 19):
args.sca = i
args.filename = origfilename.format(f'WFI{args.sca:02d}')
args.filename = origfilename.format(f'wfi{args.sca:02d}')
if origprevious is not None:
args.previous = origprevious.format(f'WFI{args.sca:02d}')
args.previous = origprevious.format(f'wfi{args.sca:02d}')
go(args)
return

Expand Down
2 changes: 1 addition & 1 deletion scripts/romanisim-make-stack
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def main():
output_file_name = (
f'r{program}{plan:02d}{passno:03d}{segment:03d}'
f'{observation:03d}{visit:03d}_{exposure:04d}'
f'_WFI{sca:02d}_{suffix}.asdf')
f'_wfi{sca:02d}_{suffix}.asdf')

log.debug(f"output_file_name = {output_file_name}")

Expand Down

0 comments on commit a3186c5

Please sign in to comment.