Skip to content

Commit

Permalink
Added spectral types
Browse files Browse the repository at this point in the history
  • Loading branch information
LishaRamon committed Dec 4, 2023
1 parent 5d36e3a commit d1045ed
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 5 deletions.
6 changes: 6 additions & 0 deletions data/Publications.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
]
34 changes: 34 additions & 0 deletions data/[vcs2020]_bdr_j1750+3809.json
Original file line number Diff line number Diff line change
@@ -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"
}
]
}
10 changes: 5 additions & 5 deletions scripts/ingests/ingest_BDR_J1750+3809.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d1045ed

Please sign in to comment.