Skip to content

Commit

Permalink
fixing sky related metadata propagation
Browse files Browse the repository at this point in the history
  • Loading branch information
ajmejia committed Mar 6, 2024
1 parent 275502d commit f11c544
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/lvmdrp/functions/skyMethod.py
Original file line number Diff line number Diff line change
Expand Up @@ -1588,6 +1588,8 @@ def combine_skies(in_rss: str, out_rss, in_skye: str, in_skyw: str, sky_weights:

# write output sky-subtracted RSS
log.info(f"writing output RSS file '{os.path.basename(out_rss)}'")
rss.appendHeader(sky_e._header["SKYMODEL*"])
rss.appendHeader(sky_e._header["GEOCORONAL*"])
rss.setHdrValue("SKYEW", w_e, "SkyE weight")
rss.setHdrValue("SKYWW", w_w, "SkyW weight")
rss.set_sky(rss_sky=sky)
Expand Down

0 comments on commit f11c544

Please sign in to comment.