Skip to content

Conversation

@cmsaunders
Copy link
Collaborator

No description provided.

observatories.append(observatory_icrs.cartesian.xyz.to(u.AU).value)

validDetectors = [row for row in visitSummary if row.wcs is not None]
if len(validDetectors) < self.config.minDetectors:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this be a fraction of the total number of detectors, rather than a fixed minimum number? I think that would translate better to other cameras (especially ComCam!).

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a good idea. I just realized that I would need a comCam override for the config option as written, but it would be simpler to change this to a fraction that will work for everything.


validDetectors = [row for row in visitSummary if row.wcs is not None]
if len(validDetectors) < self.config.minDetectors:
continue
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should there be an INFO or WARN level log message when skipping a visit?

@cmsaunders cmsaunders merged commit ee96190 into main Oct 23, 2025
8 checks passed
@cmsaunders cmsaunders deleted the tickets/DM-52801 branch October 23, 2025 01:17
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.

3 participants