spacetelescope / romancal

Python library to process science observations from the Nancy Grace Roman Space Telescope
https://roman-pipeline.readthedocs.io/en/latest/
Other
28 stars 28 forks source link

Default output filename when running romancal.pipeline.ExposurePipeline #1215

Open sanjibs opened 2 months ago

sanjibs commented 2 months ago

The output filename of romancal.pipeline.ExposurePipeline is derived from metadata in the input file (roman.meta.filename) rather than the actual name of the input file. This leads to unexpected behaviour when an input file is copied or renamed and romancal is run on it.

schlafly commented 2 months ago

The recommended approach here at present is to also edit meta.filename when copying, which I acknowledge is awkward. We can imagine changing that but at relatively low priority.