Add Rubin exposure exporter convenience tooling for Ponder - #27
Open
ColinOrionChandler wants to merge 1 commit into
Open
ColinOrionChandler wants to merge 1 commit into
ColinOrionChandler wants to merge 1 commit into
Conversation
Collaborator
|
could you run |
maxwest-uw
reviewed
Jun 8, 2026
| # --- Cone search helpers --- | ||
|
|
||
|
|
||
| def _looks_like_radians(ra: float, dec: float) -> bool: |
Collaborator
There was a problem hiding this comment.
is this a safe function to use generally ? what happens if the observation is between 0 < (ra, dec) < 2 * pi + 0.2 ?
| return "" | ||
|
|
||
|
|
||
| def _looks_like_radians_scalar(x: float | None) -> bool: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change Description
Convenience tool for exporting exposures from Rubin Butler repo(s) to convenient formats, including a Sorcha-read db file. This is not a fully mature tool yet, it still needs better depth derivations (e.g., via visit summaries, etc. and interpolating when absent). Add a structure for convenience utilities.
Solution Description
Use the the Exposure table to learn of all exposures taken with Rubin, including acq that may otherwise be difficult to find. Output a Sorcha-ready sqlite db file.