KeckObservatoryArchive / dep-rti

KOA Data Evaluation and Processing for Real Time Ingestion
0 stars 1 forks source link

Update DRP archiving for new PypeIt output formats #124

Closed jmader closed 1 month ago

jmader commented 1 month ago

PypeIt v1.16 has changed the output directories and file names slightly. Some new files exist, too.

pypeit_files/keck_deimos_A/keck_deimos_A/Masters --> Calibrations

pypeit_files/keck_deimos_A/keck_deimos_A/QA/PNGs

jmader commented 1 month ago

Simple update made and tested. Is backwards compatible and works with both Masters/ and Calibrations/.

diff --git a/src/instrument.py b/src/instrument.py index 10adf8f..e37a389 100644 --- a/src/instrument.py +++ b/src/instrument.py @@ -1115,11 +1115,12 @@ class Instrument(dep.DEP): if os.path.isfile(f): files.append(f)

Search for all files with a matching koaid

         associatedFiles = []