Skip to content

Commit

Permalink
Merge pull request #7 from NigelHambly/main
Browse files Browse the repository at this point in the history
Fixed ALLWISE incorrect schema bug and included all XMs in DR3
  • Loading branch information
Zarquan authored Aug 9, 2022
2 parents bf2f092 + fd039c6 commit c6ec82a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions gaiadmpsetup/gaiadr3_pyspark_schema_structures.py
Original file line number Diff line number Diff line change
Expand Up @@ -1567,6 +1567,9 @@
# base folder for all release products
release_folder = 'GDR3'

# crossmatched table schemas for inclusion in this namespace
from gaiaedr3_pyspark_schema_structures import tmasspscxsc_best_neighbour_schema, twomass_psc_schema, allwise_best_neighbour_schema, allwise_sc_schema, panstarrs1_best_neighbour_schema, panstarrs_dr1_otmo_schema

# dictionary of all tables: key is table name, value = tuple(tuple of schema(s), subfolder containing parquet files)
table_dict = {
##'vari_time_series_statistics',
Expand Down Expand Up @@ -1632,6 +1635,12 @@
## ([gaia_source_simulation_schema], release_folder + '/GDR3_GAIA_SOURCE_SIMULATION'),
##'gaia_universe_model' :
## ([gaia_universe_model_schema], release_folder + '/GDR3_UNIVERSE_MODEL'),
'gaia_source_tmasspsc_best_neighbours' :
([tmasspscxsc_best_neighbour_schema, twomass_psc_schema], release_folder + '/GDR3_2MASSPSC_BEST_NEIGHBOURS'),
'gaia_source_allwise_best_neighbours' :
([allwise_best_neighbour_schema, allwise_sc_schema], release_folder + '/GDR3_ALLWISE_BEST_NEIGHBOURS'),
'gaia_source_ps1_best_neighbours' :
([panstarrs1_best_neighbour_schema, panstarrs_dr1_otmo_schema], release_folder + '/GDR3_PS1_BEST_NEIGHBOURS')
}
# ... small tables doubly commented out;
# tables that should be ingested but that have not been ingested yet owing to ingest issues are singly commented;
Expand Down
2 changes: 1 addition & 1 deletion gaiadmpsetup/gaiaedr3_pyspark_schema_structures.py
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@
'gaia_source_tmasspsc_best_neighbours' :
([tmasspscxsc_best_neighbour_schema, twomass_psc_schema], release_folder + '/GEDR3_2MASSPSC_BEST_NEIGHBOURS'),
'gaia_source_allwise_best_neighbours' :
([allwise_best_neighbour_schema, twomass_psc_schema], release_folder + '/GEDR3_ALLWISE_BEST_NEIGHBOURS'),
([allwise_best_neighbour_schema, allwise_sc_schema], release_folder + '/GEDR3_ALLWISE_BEST_NEIGHBOURS'),
'gaia_source_ps1_best_neighbours' :
([panstarrs1_best_neighbour_schema, panstarrs_dr1_otmo_schema], release_folder + '/GEDR3_PS1_BEST_NEIGHBOURS')
}
Expand Down

0 comments on commit c6ec82a

Please sign in to comment.