Skip to content

Commit

Permalink
Ingest PM with json
Browse files Browse the repository at this point in the history
  • Loading branch information
LishaRamon committed Dec 4, 2023
1 parent 5e44a6c commit ac052c7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
11 changes: 11 additions & 0 deletions data/[vcs2020]_bdr_j1750+3809.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,17 @@
"other_name": "[VCS2020] BDR J1750+3809"
}
],
"ProperMotions": [
{
"mu_ra": -120.0,
"mu_ra_error": 30.0,
"mu_dec": 200.0,
"mu_dec_error": 30.0,
"adopted": true,
"comments": null,
"reference": "Veda20"
}
],
"SpectralTypes": [
{
"spectral_type_string": "T6.5",
Expand Down
9 changes: 5 additions & 4 deletions scripts/ingests/ingest_BDR_J1750+3809.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,13 @@

# PROPER MOTIONS
ingest_proper_motions(db, sources = ["[VCS2020] BDR J1750+3809"],
pm_ras = ["-120"],
pm_ra_errs = ["30"],
pm_decs = ["200"],
pm_dec_errs = ["30"],
pm_ras = [-120],
pm_ra_errs = [30],
pm_decs = [200],
pm_dec_errs = [30],
pm_references = "Veda20")

# WRITE THE JSON FILES
if SAVE_DB:
db.save_database(directory='data/')

0 comments on commit ac052c7

Please sign in to comment.