Skip to content

Fix feather vs mosaic workflow issue in postprocessing#247

Merged
akleroy merged 1 commit intoPhangsTeam:masterfrom
astrojysun:js_dev
Oct 21, 2024
Merged

Fix feather vs mosaic workflow issue in postprocessing#247
akleroy merged 1 commit intoPhangsTeam:masterfrom
astrojysun:js_dev

Conversation

@astrojysun
Copy link
Copy Markdown
Collaborator

@astrojysun astrojysun commented Oct 21, 2024

Added some workflow control code to ensure:
(1) the first round of feathering is only applied on individual parts (i.e., not full mosaics),
(2) the mosaicking step is not done on unfeathered data when feather_before_mosaic=True,
(3) when feather_before_mosaic=True, the output image has the right naming convention to be picked up by the following task in the pipeline (i.e., cleanup).

Also removed the redundant feather_after_mosaic keyword.

These edits shouldn't affect most existing use case where the feather_before_mosaic keyword is left as False by default. But they should allow end-to-end processing when it is set to True on purpose.

@akleroy akleroy merged commit 90bea4d into PhangsTeam:master Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants