Skip to content

Comments

Optimize Python scripts for LSST Cloud Run services#303

Merged
hernandezc1 merged 5 commits intodevelopfrom
u/ch/cloud_run
Feb 6, 2026
Merged

Optimize Python scripts for LSST Cloud Run services#303
hernandezc1 merged 5 commits intodevelopfrom
u/ch/cloud_run

Conversation

@hernandezc1
Copy link
Collaborator

@hernandezc1 hernandezc1 commented Oct 7, 2025

Summary of changes

Updates

  • broker/cloud_run/lsst/.../main.py
    • the _create_dataframe function in main.py is now optimized to only include the fields required as input for the classifier (or module in the case of variability). This will reduce the amount of memory needed to process a single alert

@hernandezc1 hernandezc1 self-assigned this Oct 7, 2025
@hernandezc1 hernandezc1 requested a review from troyraen February 3, 2026 02:06
Copy link
Collaborator

@troyraen troyraen left a comment

Choose a reason for hiding this comment

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

LGTM

@hernandezc1 hernandezc1 merged commit 5d0c777 into develop Feb 6, 2026
4 checks passed
@hernandezc1 hernandezc1 deleted the u/ch/cloud_run branch February 6, 2026 14:44
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