From ac052c7c6fca5657b2f56e3d3a911d9b3db1f56f Mon Sep 17 00:00:00 2001 From: Lisha Ramon Date: Mon, 4 Dec 2023 14:56:54 -0500 Subject: [PATCH] Ingest PM with json --- data/[vcs2020]_bdr_j1750+3809.json | 11 +++++++++++ scripts/ingests/ingest_BDR_J1750+3809.py | 9 +++++---- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/data/[vcs2020]_bdr_j1750+3809.json b/data/[vcs2020]_bdr_j1750+3809.json index 3cc11edf7..61e078802 100644 --- a/data/[vcs2020]_bdr_j1750+3809.json +++ b/data/[vcs2020]_bdr_j1750+3809.json @@ -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", diff --git a/scripts/ingests/ingest_BDR_J1750+3809.py b/scripts/ingests/ingest_BDR_J1750+3809.py index a8fc37406..38b221721 100644 --- a/scripts/ingests/ingest_BDR_J1750+3809.py +++ b/scripts/ingests/ingest_BDR_J1750+3809.py @@ -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/') +