Skip to content

Conversation

@ying2212
Copy link
Collaborator

@ying2212 ying2212 commented Jun 12, 2025

Short description: Include what type of data being ingested and appropriate references.

Link to relevant issue: #609

For data ingests:

  • includes script used for ingest
  • includes modified JSON files
  • Add new tests
  • Update the Versions table

Comment on lines 56 to 58

inaccessible += 1
logger.error(f"Unexpected error for {row['source']}: {e}")
Copy link
Collaborator

Choose a reason for hiding this comment

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

should there be an else here?


for _, row in data.iterrows():
try:
if(not pd.isna(row["gmag"])):
Copy link
Collaborator

Choose a reason for hiding this comment

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

make a list of the column names and loop over them rather than having the code duplicated 6 times.

Copy link
Collaborator

Choose a reason for hiding this comment

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

these ~ files should never be added to GitHub.

@ying2212 ying2212 closed this Jun 17, 2025
@kelle kelle deleted the Ingest-PanSTARRS-photometry-kinematics branch July 29, 2025 20:35
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