Keck-DataReductionPipelines / KCWI_DRP

KCWI python DRP
BSD 3-Clause "New" or "Revised" License
8 stars 12 forks source link

Pipeline not producing .icubes files #165

Closed luisabuzzo closed 5 months ago

luisabuzzo commented 5 months ago

Hello,

I'm trying to reduce data obtained in September last year and the pipeline runs fairly smoothly, but It fails to produce flux calibrated (icubes.fits) files, but it does produce the other icube, icubed, and icubew files for all observations. Also, for the actual standard stars, it produces the invsens.fits and icubes.fits files, but it does not apply the flux calibration to the science observations. Does the order of the file reduction matter (i.e., should the standard stars get reduced first so that the invsens files already exist when the science observations are being reduced)?

I've looked into other issues raised about the pipeline not creating flux calibrated data and I've tried to implement your solutions to those problems, but none worked in my case. For example, I tried to follow Rosalie's suggestion to change the object name in the header to the one that perfectly matches the standard star name in the pipeline (i.e., Feige25 to feige25), but this didn't solve the problem. I also know that the standard star I'm using (feige25) is very sparsely sampled in the red side and so the flux calibration is not gonna work on it, but I expected the blue side to work well.

Attached you can find the log file.

Thanks a lot, Luisa

KCWI.txt

luisabuzzo commented 5 months ago

Ok, I managed to solve it now. The order does matter, i.e., end of the night standard stars should be renamed to be reduced first so that the sensitivity file exists when the main target files are getting reduced.

I'll close this issue. Thanks!