Keck-DataReductionPipelines / KPF-Pipeline

KPF-Pipeline
https://kpf-pipeline.readthedocs.io/en/latest/
Other
11 stars 2 forks source link

Add order trace file to header as a keyword #802

Closed awhoward closed 6 months ago

awhoward commented 8 months ago

@RussLaher or @bjfultn seem like the right person to handle this.

This will be helpful information for the QLP.

RussLaher commented 8 months ago

The information is already contained in the header indirectly of the master flat. For example,

$ imheaders -i kpf_20240206_master_flat.fits | grep ORD ORDRMASK= '/data/reference_fits/kpf_20230730_order_mask_untrimmed_made20230804&'

The 20230730 observation date in the order-mask filename corresponds to the order trace on same observation date.

I will make this explicit in the header with ORDTRACE keyword giving the filename in the header of the master flat.