Skip to content
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

Add metadata writing to new ingestion routines. #50

Open
wants to merge 38 commits into
base: main
Choose a base branch
from

Conversation

samueljackson92
Copy link
Collaborator

@samueljackson92 samueljackson92 commented Jan 2, 2025

Cannot be merged before #46

This adds the ability to write out the metadata from each source while performing the ingestion

To test:
You can test by running an ingestion looking at the produced '*.db' file.

You can take a peak a the file like so:

import pandas as pd
import sqlite3
con = sqlite3.connect('metadatabase.db')
df = pd.read_sql('select * from signals WHERE shot_id=50900', con=con)
print(df)
df = pd.read_sql('select * from sources WHERE shot_id=50900', con=con)
print(df)

@samueljackson92 samueljackson92 self-assigned this Jan 2, 2025
@samueljackson92 samueljackson92 added the enhancement New feature or request label Jan 2, 2025
@samueljackson92 samueljackson92 marked this pull request as ready for review January 2, 2025 17:48
Fix some unit issues
@samueljackson92 samueljackson92 linked an issue Jan 2, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Write out metadata as part of ingestion
1 participant