Skip to content

Commit

Permalink
Update HLP regtest to use existing L1/L2 files; add L3 file creation …
Browse files Browse the repository at this point in the history
…to make_regtestdata.sh
  • Loading branch information
schlafly committed Apr 9, 2024
1 parent 5d346b5 commit ce809f0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions romancal/regtest/test_hlp_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ def test_level3_hlp_pipeline(rtdata, ignore_asdf_paths):
"""Tests for level 3 processing requirements DMS356"""

cal_files = [
"WFI/image/r0000101001001001001_01101_0001_WFI01_cal.asdf",
"WFI/image/r0000101001001001001_01101_0002_WFI01_cal.asdf",
"WFI/image/r0000101001001001001_01101_0003_WFI01_cal.asdf",
"WFI/image/r0000101001001001001_01101_0004_WFI01_cal.asdf",
"WFI/image/r0000101001001001001_01101_0005_WFI01_cal.asdf",
]

for cal_file in cal_files:
Expand Down
3 changes: 3 additions & 0 deletions romancal/scripts/make_regtestdata.sh
Original file line number Diff line number Diff line change
Expand Up @@ -157,3 +157,6 @@ strun roman_elp r0000101001001001001_01101_0004_WFI01_uncal.asdf
strun roman_elp r0000201001001001001_01101_0004_WFI01_uncal.asdf
cp r0000101001001001001_01101_0004_WFI01_uncal.asdf $outdir/roman-pipeline/dev/WFI/image/
cp r0000201001001001001_01101_0004_WFI01_uncal.asdf $outdir/roman-pipeline/dev/WFI/grism/

asn_from_list r0000101001001001001_01101_0001_WFI01_cal.asdf r0000101001001001001_01101_0002_WFI01_cal.asdf r0000101001001001001_01101_0003_FI01_cal.asdf -o L3_regtest_asn.json --product-name r0099101001001001001_F158_visit_0.900.0.50_178199.5_-0.5.
strun --disable-crds-steppars roman_hlp L3_regtest_asn.json

0 comments on commit ce809f0

Please sign in to comment.