From d1045ed7179dc27f7645ab0fc96c93fb6f3d6c79 Mon Sep 17 00:00:00 2001 From: Lisha Ramon Date: Mon, 4 Dec 2023 11:56:40 -0500 Subject: [PATCH] Added spectral types --- data/Publications.json | 6 +++++ data/[vcs2020]_bdr_j1750+3809.json | 34 ++++++++++++++++++++++++ scripts/ingests/ingest_BDR_J1750+3809.py | 10 +++---- 3 files changed, 45 insertions(+), 5 deletions(-) create mode 100644 data/[vcs2020]_bdr_j1750+3809.json diff --git a/data/Publications.json b/data/Publications.json index d5bbd5689..a673cefb0 100644 --- a/data/Publications.json +++ b/data/Publications.json @@ -6922,5 +6922,11 @@ "bibcode": "", "doi": "", "description": "Rothermich in prep." + }, + { + "reference": "Veda20", + "bibcode": "2020ApJ...903L..33V", + "doi": "10.3847/2041-8213/abc256", + "description": "Direct Radio Discovery of a Cold Brown Dwarf" } ] \ No newline at end of file diff --git a/data/[vcs2020]_bdr_j1750+3809.json b/data/[vcs2020]_bdr_j1750+3809.json new file mode 100644 index 000000000..3cc11edf7 --- /dev/null +++ b/data/[vcs2020]_bdr_j1750+3809.json @@ -0,0 +1,34 @@ +{ + "Sources": [ + { + "source": "[VCS2020] BDR J1750+3809", + "ra": 267.5047083333333, + "dec": 38.15541666666667, + "epoch": null, + "equinox": null, + "shortname": null, + "reference": "Veda20", + "other_references": null, + "comments": null + } + ], + "Names": [ + { + "other_name": "BDR J1750+3809" + }, + { + "other_name": "[VCS2020] BDR J1750+3809" + } + ], + "SpectralTypes": [ + { + "spectral_type_string": "T6.5", + "spectral_type_code": 86.5, + "spectral_type_error": 1.0, + "regime": "nir", + "adopted": null, + "comments": null, + "reference": "Veda20" + } + ] +} \ No newline at end of file diff --git a/scripts/ingests/ingest_BDR_J1750+3809.py b/scripts/ingests/ingest_BDR_J1750+3809.py index 6e006af11..249051e72 100644 --- a/scripts/ingests/ingest_BDR_J1750+3809.py +++ b/scripts/ingests/ingest_BDR_J1750+3809.py @@ -37,11 +37,11 @@ # SPECTRAL TYPES # The spectral type of T6.5 is based on data in the nir regime. # Will also want to ingest the photometry from Table 1 -ingest_spectral_types(db, sources = (" "), - spectral_types = ("T6.5"), - references = (" "), - regimes = (" "), - spectral_type_error=None, +ingest_spectral_types(db, sources = ["[VCS2020] BDR J1750+3809"], + spectral_types = "T6.5", + references = "Veda20", + regimes = "nir", + spectral_type_error="1", comments=None) # WRITE THE JSON FILES