Skip to content

preprocess_obs: filter obs list for LAT formatted obs_ids #1197

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

davidvng
Copy link
Contributor

Adds bool argument to preprocess_obs.py for LAT observations. Since LAT obs_ids are split by optics tubes with timestamps within about 10 seconds of each other, we only need to run preprocess_obs on one of them since it loads the entire aman with no signal. Without this, preprocess_obs runs redundant processes.

@davidvng davidvng requested a review from msilvafe April 28, 2025 20:56
@msilvafe
Copy link
Contributor

Ok but this approach I think begs the question how do you connect your single obsid which is for a single lat tube to all of the 7 obsids associated with this? I think you actually need to add some sort of database or link file that maps between your single obsid and the 7 associated ones.

@davidvng
Copy link
Contributor Author

@msilvafe I added handling for obs grouping by adding the list of grouped obsids directly to the db. I tested this on the existing LAT planet obs so far and everything seems to work.

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