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 peewee models for gaia_dr3_source_g_lt_16 and gaia_dr2_source_g_l… #270

Merged
merged 1 commit into from
Sep 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions python/sdssdb/peewee/sdss5db/catalogdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,13 @@ class Meta:
table_name = 'gaia_dr2_source'


class Gaia_DR2_g_lt_18(CatalogdbModel):
source_id = BigIntegerField(primary_key=True)

class Meta:
table_name = "gaia_dr2_source_g_lt_18"


class Gaia_EDR3(CatalogdbModel):

source_id = BigIntegerField(primary_key=True)
Expand All @@ -257,6 +264,13 @@ class Meta:
table_name = 'gaia_dr3_source'


class Gaia_DR3_g_lt_16(CatalogdbModel):
source_id = BigIntegerField(primary_key=True)

class Meta:
table_name = "gaia_dr3_source_g_lt_16"


class Gaia_DR2_Neighbourhood(CatalogdbModel):

pkey = BigIntegerField(primary_key=True)
Expand Down