From e8ac1e278aa1c232a40268ca9038a9c49a3cae3d Mon Sep 17 00:00:00 2001 From: ying2212 Date: Mon, 13 Apr 2026 14:03:59 -0400 Subject: [PATCH 1/8] add database.toml file --- database.toml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 database.toml diff --git a/database.toml b/database.toml new file mode 100644 index 000000000..27a7522fb --- /dev/null +++ b/database.toml @@ -0,0 +1,14 @@ +db_name = "SIMPLE" +data_path = "data/" +felis_path = "simple/schema.yaml" + +lookup_tables = [ + "Publications", + "Telescopes", + "Instruments", + "Parameters", + "PhotometryFilters", + "Versions", + "RegimeList", + "CompanionList", +] \ No newline at end of file From abd5168d857beaab9f947ff4fea0fc4d560f441b Mon Sep 17 00:00:00 2001 From: ying2212 Date: Mon, 13 Apr 2026 14:53:24 -0400 Subject: [PATCH 2/8] update path in test files + move schema path --- database.toml | 2 +- simple/schema.yaml => schema.yaml | 0 tests/conftest.py | 2 +- tests/test_felis.py | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename simple/schema.yaml => schema.yaml (100%) diff --git a/database.toml b/database.toml index 27a7522fb..5eadedb61 100644 --- a/database.toml +++ b/database.toml @@ -1,6 +1,6 @@ db_name = "SIMPLE" data_path = "data/" -felis_path = "simple/schema.yaml" +felis_path = "schema.yaml" lookup_tables = [ "Publications", diff --git a/simple/schema.yaml b/schema.yaml similarity index 100% rename from simple/schema.yaml rename to schema.yaml diff --git a/tests/conftest.py b/tests/conftest.py index 0dbf0c1e9..9f918af47 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -11,7 +11,7 @@ logger = logging.getLogger("AstroDB") -SCHEMA_PATH = "simple/schema.yaml" +SCHEMA_PATH = "schema.yaml" # Create a fresh SIMPLE database for the data and integrity tests diff --git a/tests/test_felis.py b/tests/test_felis.py index 13b2b15ce..3048100da 100644 --- a/tests/test_felis.py +++ b/tests/test_felis.py @@ -5,7 +5,7 @@ from felis.datamodel import Schema -SCHEMA_PATH = "simple/schema.yaml" +SCHEMA_PATH = "schema.yaml" def test_schema(): From 33055c6b092dc3e6ba62f9f426518635d6d418b0 Mon Sep 17 00:00:00 2001 From: ying2212 Date: Tue, 14 Apr 2026 15:40:16 -0400 Subject: [PATCH 3/8] update conftest to use build_db_from_json --- database.toml | 2 +- simple/__init__.py | 11 ----------- tests/conftest.py | 20 ++++---------------- 3 files changed, 5 insertions(+), 28 deletions(-) delete mode 100644 simple/__init__.py diff --git a/database.toml b/database.toml index 5eadedb61..09a257b22 100644 --- a/database.toml +++ b/database.toml @@ -1,4 +1,4 @@ -db_name = "SIMPLE" +db_name = "simple_tests" data_path = "data/" felis_path = "schema.yaml" diff --git a/simple/__init__.py b/simple/__init__.py deleted file mode 100644 index 62179e860..000000000 --- a/simple/__init__.py +++ /dev/null @@ -1,11 +0,0 @@ - -REFERENCE_TABLES = [ - "Publications", - "Telescopes", - "Instruments", - "PhotometryFilters", - "Versions", - "Parameters", - "RegimeList", - "CompanionList" -] diff --git a/tests/conftest.py b/tests/conftest.py index 9f918af47..8153c62ad 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -3,11 +3,10 @@ import sys import pytest -from astrodb_utils import load_astrodb +from astrodb_utils.loaders import build_db_from_json from astrodbkit.astrodb import Database, create_database sys.path.append("./") # needed for github actions to find the simple module -from simple import REFERENCE_TABLES logger = logging.getLogger("AstroDB") @@ -17,20 +16,9 @@ # Create a fresh SIMPLE database for the data and integrity tests @pytest.fixture(scope="session", autouse=True) def db(): - DB_NAME = "tests/simple_tests.sqlite" - DB_PATH = "data" - - if os.path.exists(DB_NAME): - os.remove(DB_NAME) - connection_string = "sqlite:///" + DB_NAME - create_database(connection_string, felis_schema=SCHEMA_PATH) - assert os.path.exists(DB_NAME) - - # Connect to the new database - db = load_astrodb(DB_NAME, - data_path=DB_PATH, - reference_tables=REFERENCE_TABLES, - felis_schema=SCHEMA_PATH) + db = build_db_from_json( + settings_file="database.toml" + ) return db From 4c4866a709c89e3aff8cfc1e65bf543cdec49477 Mon Sep 17 00:00:00 2001 From: Guan Ying Goh <101590536+ying2212@users.noreply.github.com> Date: Tue, 14 Apr 2026 15:48:08 -0400 Subject: [PATCH 4/8] Update tests/conftest.py Co-authored-by: Kelle Cruz --- tests/conftest.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index 8153c62ad..7b0b3f6f9 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -10,7 +10,6 @@ logger = logging.getLogger("AstroDB") -SCHEMA_PATH = "schema.yaml" # Create a fresh SIMPLE database for the data and integrity tests From eb505e20d12f2c86e295cc01d31a9f2a2d20128f Mon Sep 17 00:00:00 2001 From: Guan Ying Goh <101590536+ying2212@users.noreply.github.com> Date: Tue, 14 Apr 2026 15:45:36 -0400 Subject: [PATCH 5/8] Ingest converted BONES spectra (#681) * initial commit ingest converted spectra * update original spectrum url + json files + pytest * update comment in ingesting script * Update data/reference/Instruments.json Co-authored-by: Kelle Cruz * Update data/source/2mass_j06164006-6407194.json Co-authored-by: Kelle Cruz * Update scripts/ingests/bones_archive/ingest_BONES_spectra.py Co-authored-by: Kelle Cruz * update version to 5.3.2026.02 * fix schedule_checks.py --------- Co-authored-by: Kelle Cruz --- data/reference/Instruments.json | 28 +++ data/reference/Publications.json | 6 + data/reference/Telescopes.json | 10 + data/reference/Versions.json | 8 +- data/source/2mass_j01151621+3130061.json | 15 ++ data/source/2mass_j01423153+0523285.json | 15 ++ data/source/2mass_j03361338+0010129.json | 15 ++ data/source/2mass_j04470652-1946392.json | 15 ++ data/source/2mass_j05325346+8246465.json | 13 ++ data/source/2mass_j06164006-6407194.json | 13 ++ data/source/2mass_j08503941-0221528.json | 15 ++ data/source/2mass_j09481253-2903268.json | 15 ++ data/source/2mass_j10353492-0711479.json | 15 ++ data/source/2mass_j11582077+0435014.json | 15 ++ data/source/2mass_j12191495+0810307.json | 15 ++ data/source/2mass_j12204296+6205315.json | 15 ++ data/source/2mass_j12451711+6016103.json | 15 ++ data/source/2mass_j12563716-0224522.json | 15 ++ data/source/2mass_j14114474-4524153.json | 15 ++ data/source/2mass_j14162408+1348263.json | 15 ++ data/source/2mass_j14250510+7102097.json | 15 ++ data/source/2mass_j14343616+2202463.json | 15 ++ data/source/2mass_j14394298-1100430.json | 15 ++ data/source/2mass_j14405684-2225149.json | 15 ++ data/source/2mass_j15412408+5425598.json | 15 ++ data/source/2mass_j15522538+0951585.json | 15 ++ data/source/2mass_j15561873+1300527.json | 15 ++ data/source/2mass_j16141954-8151154.json | 15 ++ data/source/2mass_j16403197+1231068.json | 15 ++ data/source/2mass_j16403561+2922225.json | 15 ++ data/source/2mass_j17561080+2815238.json | 15 ++ data/source/2mass_j18201045+2021263.json | 15 ++ data/source/2mass_j20362165+5100051.json | 15 ++ data/source/2mass_j21340795+7132312.json | 15 ++ data/source/2mass_j23470713+0219127.json | 15 ++ data/source/2massj14442067-2019222.json | 15 ++ data/source/apmpm_j0559-2903.json | 15 ++ data/source/cwisep_j181006.00-101001.1.json | 23 ++- data/source/hip_73786b.json | 15 ++ data/source/lehpm_1-3365.json | 15 ++ data/source/lehpm_2-59.json | 15 ++ data/source/lspm_j0330+3504.json | 15 ++ data/source/lspm_j0402+1730.json | 15 ++ data/source/lspm_j0723+0316.json | 15 ++ data/source/lspm_j2331+4607n.json | 15 ++ data/source/lsr_j0822+1700.json | 15 ++ data/source/lsr_j1826+3014.json | 15 ++ data/source/pm_j19418-0208.json | 15 ++ data/source/sdss_j133348.24+273508.8.json | 13 ++ data/source/sdss_j145255.58+272324.4.json | 71 +++++--- data/source/ssspm_j1013-1356.json | 13 ++ data/source/ssspm_j1256-1408.json | 15 ++ data/source/ulas_j033350.84+001406.1.json | 15 ++ data/source/ulas_j115826.62+044746.8.json | 15 ++ data/source/ulas_j124425.90+102441.9.json | 13 ++ data/source/ulas_j131610.28+075553.0.json | 15 ++ data/source/ulas_j141623.94+134836.3.json | 21 ++- data/source/wise_j155349.98+693355.2.json | 15 ++ data/source/wise_j200520.38+542433.9.json | 15 ++ data/source/wisea_j000430.66-260402.3.json | 15 ++ data/source/wisea_j001450.17-083823.4.json | 13 ++ data/source/wisea_j004326.26+222124.0.json | 15 ++ data/source/wisea_j013012.66-104732.4.json | 15 ++ data/source/wisea_j030119.39-231921.1.json | 15 ++ data/source/wisea_j030601.66-033059.0.json | 15 ++ data/source/wisea_j041451.67-585456.7.json | 15 ++ data/source/wisea_j043535.82+211508.9.json | 15 ++ data/source/wisea_j045921.21+154059.2.json | 15 ++ data/source/wisea_j101329.72-724619.2.json | 15 ++ data/source/wisea_j204027.30+695924.1.json | 15 ++ .../bones_archive/ingest_BONES_spectra.py | 171 ++++++++++++++++++ tests/scheduled_checks.py | 2 +- tests/test_data_spectra.py | 22 +-- 73 files changed, 1245 insertions(+), 50 deletions(-) create mode 100644 scripts/ingests/bones_archive/ingest_BONES_spectra.py diff --git a/data/reference/Instruments.json b/data/reference/Instruments.json index 05456f745..5ea2f6d6e 100644 --- a/data/reference/Instruments.json +++ b/data/reference/Instruments.json @@ -537,5 +537,33 @@ "telescope": "SDSS", "description": null, "reference": null + }, + { + "instrument": "BCSpec", + "mode": "spectroscopy", + "telescope": "LCO du Pont", + "description": null, + "reference": null + }, + { + "instrument": "DSpec", + "mode": "spectroscopy", + "telescope": "Palomar Hale", + "description": null, + "reference": null + }, + { + "instrument": "MOSFIRE", + "mode": "Imaging", + "telescope": "Keck I", + "description": null, + "reference": null + }, + { + "instrument": "OSIRIS", + "mode": "spectroscopy", + "telescope": "SOAR", + "description": null, + "reference": null } ] \ No newline at end of file diff --git a/data/reference/Publications.json b/data/reference/Publications.json index 43fc84f17..33c2b655f 100644 --- a/data/reference/Publications.json +++ b/data/reference/Publications.json @@ -7564,5 +7564,11 @@ "bibcode": "2019ApJS..240...30S", "doi": "10.3847/1538-4365/aafbea", "description": "The unWISE Catalog: Two Billion Infrared Sources from Five Years of WISE Imaging" + }, + { + "reference": "Burg25.79", + "bibcode": "2025ApJ...982...79B", + "doi": "10.3847/1538-4357/adb39f", + "description": "New Cold Subdwarf Discoveries from Backyard Worlds and a Metallicity Classification System for T Subdwarfs" } ] \ No newline at end of file diff --git a/data/reference/Telescopes.json b/data/reference/Telescopes.json index 51da5dfe3..74bd8670b 100644 --- a/data/reference/Telescopes.json +++ b/data/reference/Telescopes.json @@ -208,5 +208,15 @@ "telescope": "SDSS", "description": "Sloan Digital Sky Survey (SDSS)", "reference": null + }, + { + "telescope": "LCO du Pont", + "description": null, + "reference": null + }, + { + "telescope": "Palomar Hale", + "description": null, + "reference": null } ] \ No newline at end of file diff --git a/data/reference/Versions.json b/data/reference/Versions.json index 637de8abd..f3ff339dd 100644 --- a/data/reference/Versions.json +++ b/data/reference/Versions.json @@ -180,8 +180,14 @@ "description": "Spectra from Zhang et al. 2018" }, { - "version": "latest", + "version": "5.3.2026.02", "start_date": "2026-03-24", + "end_date": "2026-04-14", + "description": "Spectra provided by BONES Archive" + }, + { + "version": "latest", + "start_date": "2026-04-14", "end_date": null, "description": "Version in development" } diff --git a/data/source/2mass_j01151621+3130061.json b/data/source/2mass_j01151621+3130061.json index 075e2c9f6..7d6631a86 100644 --- a/data/source/2mass_j01151621+3130061.json +++ b/data/source/2mass_j01151621+3130061.json @@ -17,6 +17,21 @@ "other_name": "2MASS J01151621+3130061" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/spex-prism_NIR_J0115%2B3130_Burgasser2004_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/spex-prism_NIR_J0115%2B3130_Burgasser2004.txt", + "local_spectrum": null, + "regime": "nir", + "telescope": "IRTF", + "instrument": "SpeX", + "mode": "Prism", + "observation_date": "2003-09-19T00:00:00", + "comments": null, + "reference": "Burg04.2856", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "sdM8", diff --git a/data/source/2mass_j01423153+0523285.json b/data/source/2mass_j01423153+0523285.json index d6c438e0e..e3486a3a2 100644 --- a/data/source/2mass_j01423153+0523285.json +++ b/data/source/2mass_j01423153+0523285.json @@ -256,6 +256,21 @@ "reference": "Maro21" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/spex-prism_NIR_J0142%2B0523_Burgasser2004_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/spex-prism_NIR_J0142%2B0523_Burgasser2004.txt", + "local_spectrum": null, + "regime": "nir", + "telescope": "IRTF", + "instrument": "SpeX", + "mode": "Prism", + "observation_date": "2003-09-17T00:00:00", + "comments": null, + "reference": "Burg04.2856", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "sdM8.5", diff --git a/data/source/2mass_j03361338+0010129.json b/data/source/2mass_j03361338+0010129.json index 3eaedb703..9b269ca21 100644 --- a/data/source/2mass_j03361338+0010129.json +++ b/data/source/2mass_j03361338+0010129.json @@ -51,6 +51,21 @@ "reference": "Maro21" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/DSpec_0336p0010_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/DSpec_0336p0010.txt", + "local_spectrum": null, + "regime": "optical", + "telescope": "Palomar Hale", + "instrument": "DSpec", + "mode": "spectroscopy", + "observation_date": "2014-10-24T00:00:00", + "comments": null, + "reference": "Kirk16", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "sdM7.5", diff --git a/data/source/2mass_j04470652-1946392.json b/data/source/2mass_j04470652-1946392.json index b626c2f48..8216de291 100644 --- a/data/source/2mass_j04470652-1946392.json +++ b/data/source/2mass_j04470652-1946392.json @@ -17,6 +17,21 @@ "other_name": "2MASS J04470652-1946392" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/spex-prism_NIR_J0447-1946_Kirkpatrick2010_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/spex-prism_NIR_J0447-1946_Kirkpatrick2010.txt", + "local_spectrum": null, + "regime": "nir", + "telescope": "IRTF", + "instrument": "SpeX", + "mode": "Prism", + "observation_date": "2006-12-23T00:00:00", + "comments": null, + "reference": "Kirk10", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "sdM7", diff --git a/data/source/2mass_j05325346+8246465.json b/data/source/2mass_j05325346+8246465.json index 98217982c..df6e258d2 100644 --- a/data/source/2mass_j05325346+8246465.json +++ b/data/source/2mass_j05325346+8246465.json @@ -201,6 +201,19 @@ "comments": "SL2,SL1", "reference": "Suar22", "other_references": null + }, + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/nires_NIR_J0532%2B8246_20220119_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/nires_NIR_J0532%2B8246_20220119.csv", + "local_spectrum": null, + "regime": "nir", + "telescope": "Keck II", + "instrument": "NIRES", + "mode": "spectroscopy", + "observation_date": "2022-01-19T00:00:00", + "comments": null, + "reference": "Burg25.79", + "other_references": null } ], "SpectralTypes": [ diff --git a/data/source/2mass_j06164006-6407194.json b/data/source/2mass_j06164006-6407194.json index f70c3c09a..adcbbbe99 100644 --- a/data/source/2mass_j06164006-6407194.json +++ b/data/source/2mass_j06164006-6407194.json @@ -150,6 +150,19 @@ "reference": "Zhan17.3040", "other_references": null }, + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/OSIRIS_NIR_2MASSJ06164006-6407194_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/Xshooter_NIR_2MASSJ06164006-6407194.txt", + "local_spectrum": null, + "regime": "nir", + "telescope": "SOAR", + "instrument": "OSIRIS", + "mode": "spectroscopy", + "observation_date": "2007-03-12T00:00:00", + "comments": null, + "reference": "Cush09", + "other_references": null + }, { "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/zhang18/2MASS_J06164006-6407194_esdL6_Xshooter_VIS_Primeval-I_SIMPLE.fits", "original_spectrum": null, diff --git a/data/source/2mass_j08503941-0221528.json b/data/source/2mass_j08503941-0221528.json index 6e2517484..1ce51966c 100644 --- a/data/source/2mass_j08503941-0221528.json +++ b/data/source/2mass_j08503941-0221528.json @@ -60,6 +60,21 @@ "reference": "Maro21" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/NIR_J0850-0221_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/NIR_J0850-0221.csv", + "local_spectrum": null, + "regime": "nir", + "telescope": "IRTF", + "instrument": "SpeX", + "mode": "Prism", + "observation_date": "2016-02-24T00:00:00", + "comments": null, + "reference": "Grec19", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "sdL7", diff --git a/data/source/2mass_j09481253-2903268.json b/data/source/2mass_j09481253-2903268.json index b9918fc47..df4691ac7 100644 --- a/data/source/2mass_j09481253-2903268.json +++ b/data/source/2mass_j09481253-2903268.json @@ -51,6 +51,21 @@ "reference": "Maro21" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/NIR_J0948-2903_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/NIR_J0948-2903.csv", + "local_spectrum": null, + "regime": "nir", + "telescope": "IRTF", + "instrument": "SpeX", + "mode": "Prism", + "observation_date": "2016-02-24T00:00:00", + "comments": null, + "reference": "Grec19", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "sdL1", diff --git a/data/source/2mass_j10353492-0711479.json b/data/source/2mass_j10353492-0711479.json index 2a8f2c2c2..19ae3478f 100644 --- a/data/source/2mass_j10353492-0711479.json +++ b/data/source/2mass_j10353492-0711479.json @@ -51,6 +51,21 @@ "reference": "Maro21" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/NIR_J1035-0771_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/NIR_J1035-0771.csv", + "local_spectrum": null, + "regime": "nir", + "telescope": "IRTF", + "instrument": "SpeX", + "mode": "Prism", + "observation_date": "2016-03-28T00:00:00", + "comments": null, + "reference": "Grec19", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "sdL7", diff --git a/data/source/2mass_j11582077+0435014.json b/data/source/2mass_j11582077+0435014.json index 2a65dd57e..6dd8f121e 100644 --- a/data/source/2mass_j11582077+0435014.json +++ b/data/source/2mass_j11582077+0435014.json @@ -192,6 +192,21 @@ "reference": "Maro21" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/spex-prism_NIR_J1158%2B0435_Kirkpatrick2010_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/spex-prism_NIR_J1158%2B0435_Kirkpatrick2010.txt", + "local_spectrum": null, + "regime": "nir", + "telescope": "IRTF", + "instrument": "SpeX", + "mode": "Prism", + "observation_date": "2006-04-08T00:00:00", + "comments": null, + "reference": "Burg04.2856", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "sdL7", diff --git a/data/source/2mass_j12191495+0810307.json b/data/source/2mass_j12191495+0810307.json index 43d8446d9..4cb02baf3 100644 --- a/data/source/2mass_j12191495+0810307.json +++ b/data/source/2mass_j12191495+0810307.json @@ -51,6 +51,21 @@ "reference": "Maro21" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/NIR_J1219%2B0810_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/NIR_J1219%2B0810.csv", + "local_spectrum": null, + "regime": "nir", + "telescope": "IRTF", + "instrument": "SpeX", + "mode": "Prism", + "observation_date": "2016-10-24T00:00:00", + "comments": null, + "reference": "Grec19", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "sdM7", diff --git a/data/source/2mass_j12204296+6205315.json b/data/source/2mass_j12204296+6205315.json index 9191431d6..365f0ae1a 100644 --- a/data/source/2mass_j12204296+6205315.json +++ b/data/source/2mass_j12204296+6205315.json @@ -42,6 +42,21 @@ "reference": "Maro21" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/NIR_J1220%2B6205_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/NIR_J1220%2B6205.csv", + "local_spectrum": null, + "regime": "nir", + "telescope": "IRTF", + "instrument": "SpeX", + "mode": "Prism", + "observation_date": "2016-06-20T00:00:00", + "comments": null, + "reference": "Grec19", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "sdM7", diff --git a/data/source/2mass_j12451711+6016103.json b/data/source/2mass_j12451711+6016103.json index 146679b71..7cfffec00 100644 --- a/data/source/2mass_j12451711+6016103.json +++ b/data/source/2mass_j12451711+6016103.json @@ -42,6 +42,21 @@ "reference": "Maro21" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/NIR_J1245%2B6016_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/NIR_J1245%2B6016.csv", + "local_spectrum": null, + "regime": "nir", + "telescope": "IRTF", + "instrument": "SpeX", + "mode": "Prism", + "observation_date": "2016-02-24T00:00:00", + "comments": null, + "reference": "Grec19", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "sdM8.5", diff --git a/data/source/2mass_j12563716-0224522.json b/data/source/2mass_j12563716-0224522.json index 8b32732c0..d1d8a55a6 100644 --- a/data/source/2mass_j12563716-0224522.json +++ b/data/source/2mass_j12563716-0224522.json @@ -230,6 +230,21 @@ "reference": "West11" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/spex-prism_NIR_J1256-0224_Burgasser2009_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/spex-prism_NIR_J1256-0224_Burgasser2009.txt", + "local_spectrum": null, + "regime": "nir", + "telescope": "IRTF", + "instrument": "SpeX", + "mode": "Prism", + "observation_date": "2005-03-23T00:00:00", + "comments": null, + "reference": "Burg09.148", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "esdL3.5", diff --git a/data/source/2mass_j14114474-4524153.json b/data/source/2mass_j14114474-4524153.json index fc222e826..3ec79610f 100644 --- a/data/source/2mass_j14114474-4524153.json +++ b/data/source/2mass_j14114474-4524153.json @@ -60,6 +60,21 @@ "reference": "Maro21" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/BCSpec_1411m4524_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/BCSpec_1411m4524.txt", + "local_spectrum": null, + "regime": "optical", + "telescope": "LCO du Pont", + "instrument": "BCSpec", + "mode": "spectroscopy", + "observation_date": "2014-05-04T00:00:00", + "comments": null, + "reference": "Kirk16", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "sdM9", diff --git a/data/source/2mass_j14162408+1348263.json b/data/source/2mass_j14162408+1348263.json index 3eceab20c..7d1739e1a 100644 --- a/data/source/2mass_j14162408+1348263.json +++ b/data/source/2mass_j14162408+1348263.json @@ -305,6 +305,21 @@ "reference": "Abaz09" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/DSpec_1416%2B1348_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/DSpec_1416%2B1348.txt", + "local_spectrum": null, + "regime": "optical", + "telescope": "Palomar Hale", + "instrument": "DSpec", + "mode": "spectroscopy", + "observation_date": "2014-02-23T00:00:00", + "comments": null, + "reference": "Kirk16", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "sdL7", diff --git a/data/source/2mass_j14250510+7102097.json b/data/source/2mass_j14250510+7102097.json index 470736418..8a1d95da2 100644 --- a/data/source/2mass_j14250510+7102097.json +++ b/data/source/2mass_j14250510+7102097.json @@ -248,6 +248,21 @@ "reference": "Maro21" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/DSpec_1425p7102_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/DSpec_1425p7102.txt", + "local_spectrum": null, + "regime": "optical", + "telescope": "Palomar Hale", + "instrument": "DSpec", + "mode": "spectroscopy", + "observation_date": "2014-02-24T00:00:00", + "comments": null, + "reference": "Kirk16", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "sdM8", diff --git a/data/source/2mass_j14343616+2202463.json b/data/source/2mass_j14343616+2202463.json index e4bc352c6..6c17498c6 100644 --- a/data/source/2mass_j14343616+2202463.json +++ b/data/source/2mass_j14343616+2202463.json @@ -168,6 +168,21 @@ "reference": "Abaz09" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/DSpec_1434p2202_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/DSpec_1434p2202.txt", + "local_spectrum": null, + "regime": "optical", + "telescope": "Palomar Hale", + "instrument": "DSpec", + "mode": "spectroscopy", + "observation_date": "2014-02-24T00:00:00", + "comments": null, + "reference": "Kirk16", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "sdM9", diff --git a/data/source/2mass_j14394298-1100430.json b/data/source/2mass_j14394298-1100430.json index fd999c7c9..6f779df48 100644 --- a/data/source/2mass_j14394298-1100430.json +++ b/data/source/2mass_j14394298-1100430.json @@ -42,6 +42,21 @@ "reference": "Maro21" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/NIR_J1439-1100_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/NIR_J1439-1100.csv", + "local_spectrum": null, + "regime": "nir", + "telescope": "IRTF", + "instrument": "SpeX", + "mode": "Prism", + "observation_date": "2016-02-24T00:00:00", + "comments": null, + "reference": "Grec19", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "sdL1", diff --git a/data/source/2mass_j14405684-2225149.json b/data/source/2mass_j14405684-2225149.json index 45f5a12bd..a816d1485 100644 --- a/data/source/2mass_j14405684-2225149.json +++ b/data/source/2mass_j14405684-2225149.json @@ -42,6 +42,21 @@ "reference": "Maro21" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/NIR_J1440-2225_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/NIR_J1440-2225.csv", + "local_spectrum": null, + "regime": "nir", + "telescope": "IRTF", + "instrument": "SpeX", + "mode": "Prism", + "observation_date": "2016-06-20T00:00:00", + "comments": null, + "reference": "Grec19", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "sdM8.5", diff --git a/data/source/2mass_j15412408+5425598.json b/data/source/2mass_j15412408+5425598.json index fbb87e4fd..fdc1f00e9 100644 --- a/data/source/2mass_j15412408+5425598.json +++ b/data/source/2mass_j15412408+5425598.json @@ -217,6 +217,21 @@ "reference": "Maro21" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/spex-prism_NIR_J1541%2B5425_Burgasser2004_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/spex-prism_NIR_J1541%2B5425_Burgasser2004.txt", + "local_spectrum": null, + "regime": "nir", + "telescope": "IRTF", + "instrument": "SpeX", + "mode": "Prism", + "observation_date": "2003-05-21T00:00:00", + "comments": null, + "reference": "Burg04.2856", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "d/sdM7.5", diff --git a/data/source/2mass_j15522538+0951585.json b/data/source/2mass_j15522538+0951585.json index be89bdeca..0b1e0870c 100644 --- a/data/source/2mass_j15522538+0951585.json +++ b/data/source/2mass_j15522538+0951585.json @@ -42,6 +42,21 @@ "reference": "Maro21" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/NIR_J1552%2B0951_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/NIR_J1552%2B0951.csv", + "local_spectrum": null, + "regime": "nir", + "telescope": "IRTF", + "instrument": "SpeX", + "mode": "Prism", + "observation_date": "2016-06-20T00:00:00", + "comments": null, + "reference": "Grec19", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "sdM7", diff --git a/data/source/2mass_j15561873+1300527.json b/data/source/2mass_j15561873+1300527.json index c7bcb45c6..6f5297817 100644 --- a/data/source/2mass_j15561873+1300527.json +++ b/data/source/2mass_j15561873+1300527.json @@ -17,6 +17,21 @@ "other_name": "2MASS J15561873+1300527" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/spex-prism_NIR_J1556%2B1300_Burgasser2004_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/spex-prism_NIR_J1556%2B1300_Burgasser2004.txt", + "local_spectrum": null, + "regime": "nir", + "telescope": "IRTF", + "instrument": "SpeX", + "mode": "Prism", + "observation_date": "2003-05-23T00:00:00", + "comments": null, + "reference": "Burg04.2856", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "sdM8", diff --git a/data/source/2mass_j16141954-8151154.json b/data/source/2mass_j16141954-8151154.json index 6529a539f..46db6c53a 100644 --- a/data/source/2mass_j16141954-8151154.json +++ b/data/source/2mass_j16141954-8151154.json @@ -42,6 +42,21 @@ "reference": "Maro21" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/BCSpec_1614m8151_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/BCSpec_1614m8151.txt", + "local_spectrum": null, + "regime": "optical", + "telescope": "LCO du Pont", + "instrument": "BCSpec", + "mode": "spectroscopy", + "observation_date": "2014-05-02T00:00:00", + "comments": null, + "reference": "Kirk16", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "usdM9", diff --git a/data/source/2mass_j16403197+1231068.json b/data/source/2mass_j16403197+1231068.json index f7afc7a01..a7a18a04c 100644 --- a/data/source/2mass_j16403197+1231068.json +++ b/data/source/2mass_j16403197+1231068.json @@ -217,6 +217,21 @@ "reference": "McCa04" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/spex-prism_NIR_J1640%2B1231_Burgasser2004_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/spex-prism_NIR_J1640%2B1231_Burgasser2004.txt", + "local_spectrum": null, + "regime": "nir", + "telescope": "IRTF", + "instrument": "SpeX", + "mode": "Prism", + "observation_date": "2003-05-21T00:00:00", + "comments": null, + "reference": "Burg04.2856", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "d/sdM9", diff --git a/data/source/2mass_j16403561+2922225.json b/data/source/2mass_j16403561+2922225.json index 6c376c439..065aec492 100644 --- a/data/source/2mass_j16403561+2922225.json +++ b/data/source/2mass_j16403561+2922225.json @@ -17,6 +17,21 @@ "other_name": "2MASS J16403561+2922225" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/spex-prism_NIR_J1640%2B2922_Burgasser2004_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/spex-prism_NIR_J1640%2B2922_Burgasser2004.txt", + "local_spectrum": null, + "regime": "nir", + "telescope": "IRTF", + "instrument": "SpeX", + "mode": "Prism", + "observation_date": "2003-05-22T00:00:00", + "comments": null, + "reference": "Burg04.2856", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "sdM8", diff --git a/data/source/2mass_j17561080+2815238.json b/data/source/2mass_j17561080+2815238.json index a5513bb8b..70f4b60d4 100644 --- a/data/source/2mass_j17561080+2815238.json +++ b/data/source/2mass_j17561080+2815238.json @@ -244,6 +244,21 @@ "reference": "Maro21" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/spex-prism_NIR_J1756%2B2815_Kirkpatrick2010_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/spex-prism_NIR_J1756%2B2815_Kirkpatrick2010.txt", + "local_spectrum": null, + "regime": "nir", + "telescope": "IRTF", + "instrument": "SpeX", + "mode": "Prism", + "observation_date": "2005-10-20T00:00:00", + "comments": null, + "reference": "Kirk10", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "L1 pec (blue)", diff --git a/data/source/2mass_j18201045+2021263.json b/data/source/2mass_j18201045+2021263.json index f370a7990..eac01c32b 100644 --- a/data/source/2mass_j18201045+2021263.json +++ b/data/source/2mass_j18201045+2021263.json @@ -51,6 +51,21 @@ "reference": "Maro21" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/NIR_J1820%2B2021_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/NIR_J1820%2B2021.csv", + "local_spectrum": null, + "regime": "nir", + "telescope": "IRTF", + "instrument": "SpeX", + "mode": "Prism", + "observation_date": "2016-10-24T00:00:00", + "comments": null, + "reference": "Grec19", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "sdM8.5", diff --git a/data/source/2mass_j20362165+5100051.json b/data/source/2mass_j20362165+5100051.json index 7fe01fcf7..ede5069dd 100644 --- a/data/source/2mass_j20362165+5100051.json +++ b/data/source/2mass_j20362165+5100051.json @@ -266,6 +266,21 @@ "reference": "Lepi03.1598" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/spex-prism_NIR_J2036%2B5059_Burgasser2004_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/spex-prism_NIR_J2036%2B5059_Burgasser2004.txt", + "local_spectrum": null, + "regime": "nir", + "telescope": "IRTF", + "instrument": "SpeX", + "mode": "Prism", + "observation_date": "2003-09-18T00:00:00", + "comments": null, + "reference": "Burg04.2856", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "sdM7.5", diff --git a/data/source/2mass_j21340795+7132312.json b/data/source/2mass_j21340795+7132312.json index 8fbf2cc4a..d79a77aea 100644 --- a/data/source/2mass_j21340795+7132312.json +++ b/data/source/2mass_j21340795+7132312.json @@ -51,6 +51,21 @@ "reference": "Maro21" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/DSpec_2134p7132_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/DSpec_2134p7132.txt", + "local_spectrum": null, + "regime": "optical", + "telescope": "Palomar Hale", + "instrument": "DSpec", + "mode": "spectroscopy", + "observation_date": "2014-10-24T00:00:00", + "comments": null, + "reference": "Kirk16", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "usdL0.5", diff --git a/data/source/2mass_j23470713+0219127.json b/data/source/2mass_j23470713+0219127.json index c78f9d230..679990903 100644 --- a/data/source/2mass_j23470713+0219127.json +++ b/data/source/2mass_j23470713+0219127.json @@ -17,6 +17,21 @@ "other_name": "2MASS J23470713+0219127" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/spex-prism_NIR_J2347%2B0219_Kirkpatrick2010_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/spex-prism_NIR_J2347%2B0219_Kirkpatrick2010.txt", + "local_spectrum": null, + "regime": "nir", + "telescope": "IRTF", + "instrument": "SpeX", + "mode": "Prism", + "observation_date": "2007-10-12T00:00:00", + "comments": null, + "reference": "Kirk10", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "sdM7", diff --git a/data/source/2massj14442067-2019222.json b/data/source/2massj14442067-2019222.json index 81f6d34a4..cc7696ed4 100644 --- a/data/source/2massj14442067-2019222.json +++ b/data/source/2massj14442067-2019222.json @@ -217,6 +217,21 @@ "reference": "Maro21" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/spex-prism_NIR_J1444-2019_Kirkpatrick2016_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/spex-prism_NIR_J1444-2019_Kirkpatrick2016.txt", + "local_spectrum": null, + "regime": "nir", + "telescope": "IRTF", + "instrument": "SpeX", + "mode": "Prism", + "observation_date": "2015-07-03T00:00:00", + "comments": null, + "reference": "Kirk16", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "d/sdM7", diff --git a/data/source/apmpm_j0559-2903.json b/data/source/apmpm_j0559-2903.json index 1541bc325..4d61b90f8 100644 --- a/data/source/apmpm_j0559-2903.json +++ b/data/source/apmpm_j0559-2903.json @@ -265,6 +265,21 @@ "reference": "Schw99" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/DSpec_0559-2903_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/DSpec_0559-2903.txt", + "local_spectrum": null, + "regime": "optical", + "telescope": "Palomar Hale", + "instrument": "DSpec", + "mode": "spectroscopy", + "observation_date": "2014-02-24T00:00:00", + "comments": null, + "reference": "Kirk16", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "esdM7", diff --git a/data/source/cwisep_j181006.00-101001.1.json b/data/source/cwisep_j181006.00-101001.1.json index d56bb9861..b0995d308 100644 --- a/data/source/cwisep_j181006.00-101001.1.json +++ b/data/source/cwisep_j181006.00-101001.1.json @@ -20,7 +20,7 @@ "lower_error": 100.0, "upper_error": 100.0, "unit": "K", - "adopted": 0, + "adopted": false, "comments": null, "reference": "Lodi22", "other_references": null @@ -32,7 +32,7 @@ "lower_error": 0.25, "upper_error": 0.25, "unit": "dex", - "adopted": 0, + "adopted": false, "comments": null, "reference": "Lodi22", "other_references": null @@ -44,7 +44,7 @@ "lower_error": null, "upper_error": null, "unit": "M_jup", - "adopted": 0, + "adopted": false, "comments": "17[+56, -12]", "reference": "Lodi22", "other_references": null @@ -56,7 +56,7 @@ "lower_error": 0.5, "upper_error": 0.5, "unit": "dex", - "adopted": 0, + "adopted": false, "comments": null, "reference": "Lodi22", "other_references": null @@ -68,7 +68,7 @@ "lower_error": 0.032, "upper_error": 0.032, "unit": "R_sun", - "adopted": 0, + "adopted": false, "comments": null, "reference": "Lodi22", "other_references": null @@ -160,6 +160,19 @@ "reference": "Lodi22", "other_references": null }, + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/NIR_J1810-1009_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/NIR_J1810-1009.txt", + "local_spectrum": null, + "regime": "nir", + "telescope": "Keck II", + "instrument": "NIRES", + "mode": "spectroscopy", + "observation_date": "2019-08-13T00:00:00", + "comments": null, + "reference": "Schn20", + "other_references": null + }, { "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/WISE1810m10_OB0001_R1000R_06Sept2020.fits", "original_spectrum": null, diff --git a/data/source/hip_73786b.json b/data/source/hip_73786b.json index 463e23e77..0a066b5bc 100644 --- a/data/source/hip_73786b.json +++ b/data/source/hip_73786b.json @@ -183,6 +183,21 @@ "reference": "Halb18" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/nires_NIR_GJ576B_20220611_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/nires_NIR_GJ576B_20220611.txt", + "local_spectrum": null, + "regime": "nir", + "telescope": "Keck II", + "instrument": "NIRES", + "mode": "spectroscopy", + "observation_date": "2022-06-11T00:00:00", + "comments": null, + "reference": "Burg25.79", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "T6 pec", diff --git a/data/source/lehpm_1-3365.json b/data/source/lehpm_1-3365.json index ea97457e7..a9d33e48f 100644 --- a/data/source/lehpm_1-3365.json +++ b/data/source/lehpm_1-3365.json @@ -153,6 +153,21 @@ "reference": "Maro21" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/spex-prism_NIR_J0330-2348_Bardalez2014_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/spex-prism_NIR_J0330-2348_Bardalez2014.txt", + "local_spectrum": null, + "regime": "nir", + "telescope": "IRTF", + "instrument": "SpeX", + "mode": "Prism", + "observation_date": "2004-09-09T00:00:00", + "comments": null, + "reference": "Bard14", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "d/sdM7", diff --git a/data/source/lehpm_2-59.json b/data/source/lehpm_2-59.json index 593647822..0e14d5da6 100644 --- a/data/source/lehpm_2-59.json +++ b/data/source/lehpm_2-59.json @@ -263,6 +263,21 @@ "reference": "Maro21" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/spex-prism_NIR_J0452-2245_Burgasser2006_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/spex-prism_NIR_J0452-2245_Burgasser2006.txt", + "local_spectrum": null, + "regime": "nir", + "telescope": "IRTF", + "instrument": "SpeX", + "mode": "Prism", + "observation_date": "2004-09-09T00:00:00", + "comments": null, + "reference": "Burg06.1485", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "esdM8", diff --git a/data/source/lspm_j0330+3504.json b/data/source/lspm_j0330+3504.json index 524d569ea..6127133a8 100644 --- a/data/source/lspm_j0330+3504.json +++ b/data/source/lspm_j0330+3504.json @@ -256,6 +256,21 @@ "reference": "Roes10" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/spex-prism_NIR_J0330%2B3505_Bardalez2014_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/spex-prism_NIR_J0330%2B3505_Bardalez2014.txt", + "local_spectrum": null, + "regime": "nir", + "telescope": "IRTF", + "instrument": "SpeX", + "mode": "Prism", + "observation_date": "2005-10-17T00:00:00", + "comments": null, + "reference": "Bard14", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "d/sdM7", diff --git a/data/source/lspm_j0402+1730.json b/data/source/lspm_j0402+1730.json index 0b3dd7e63..a6c66ed40 100644 --- a/data/source/lspm_j0402+1730.json +++ b/data/source/lspm_j0402+1730.json @@ -259,6 +259,21 @@ "reference": "Roes10" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/spex-prism_NIR_J0402%2B1730_Bardalez2014_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/spex-prism_NIR_J0402%2B1730_Bardalez2014.txt", + "local_spectrum": null, + "regime": "nir", + "telescope": "IRTF", + "instrument": "SpeX", + "mode": "Prism", + "observation_date": "2005-10-17T00:00:00", + "comments": null, + "reference": "Bard14", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "sdM7", diff --git a/data/source/lspm_j0723+0316.json b/data/source/lspm_j0723+0316.json index 08d485959..da208c512 100644 --- a/data/source/lspm_j0723+0316.json +++ b/data/source/lspm_j0723+0316.json @@ -17,6 +17,21 @@ "other_name": "LSPM J0723+0316" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/DSpec_0723%2B0316_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/DSpec_0723%2B0316.txt", + "local_spectrum": null, + "regime": "optical", + "telescope": "Palomar Hale", + "instrument": "DSpec", + "mode": "spectroscopy", + "observation_date": "2014-02-23T00:00:00", + "comments": null, + "reference": "Kirk16", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "sdM7.5", diff --git a/data/source/lspm_j2331+4607n.json b/data/source/lspm_j2331+4607n.json index 3b769867e..45452bd53 100644 --- a/data/source/lspm_j2331+4607n.json +++ b/data/source/lspm_j2331+4607n.json @@ -247,6 +247,21 @@ "reference": "Roes10" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/spex-prism_NIR_J2331%2B4607_Bardalez2014_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/spex-prism_NIR_J2331%2B4607_Bardalez2014.txt", + "local_spectrum": null, + "regime": "nir", + "telescope": "IRTF", + "instrument": "SpeX", + "mode": "Prism", + "observation_date": "2005-09-07T00:00:00", + "comments": null, + "reference": "Bard14", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "d/sdM7", diff --git a/data/source/lsr_j0822+1700.json b/data/source/lsr_j0822+1700.json index 477810a4f..6346a6ec3 100644 --- a/data/source/lsr_j0822+1700.json +++ b/data/source/lsr_j0822+1700.json @@ -17,6 +17,21 @@ "other_name": "LSR J0822+1700" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/DSpec_0822%2B1700_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/DSpec_0822%2B1700.txt", + "local_spectrum": null, + "regime": "optical", + "telescope": "Palomar Hale", + "instrument": "DSpec", + "mode": "spectroscopy", + "observation_date": "2014-02-23T00:00:00", + "comments": null, + "reference": "Kirk16", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "usdM7.5", diff --git a/data/source/lsr_j1826+3014.json b/data/source/lsr_j1826+3014.json index 0ce4980d3..d03e25d6f 100644 --- a/data/source/lsr_j1826+3014.json +++ b/data/source/lsr_j1826+3014.json @@ -272,6 +272,21 @@ "reference": "Maro21" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/spex-prism_NIR_J1826%2B3014_Bardalez2014_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/spex-prism_NIR_J1826%2B3014_Bardalez2014.txt", + "local_spectrum": null, + "regime": "nir", + "telescope": "IRTF", + "instrument": "SpeX", + "mode": "Prism", + "observation_date": "2004-09-09T00:00:00", + "comments": null, + "reference": "Bard14", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "d/sdM8.5", diff --git a/data/source/pm_j19418-0208.json b/data/source/pm_j19418-0208.json index 1a408feb0..354f6446b 100644 --- a/data/source/pm_j19418-0208.json +++ b/data/source/pm_j19418-0208.json @@ -51,6 +51,21 @@ "reference": "Maro21" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/DSpec_1941m0208_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/DSpec_1941m0208.txt", + "local_spectrum": null, + "regime": "optical", + "telescope": "Palomar Hale", + "instrument": "DSpec", + "mode": "spectroscopy", + "observation_date": "2014-06-26T00:00:00", + "comments": null, + "reference": "Kirk16", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "sdM8", diff --git a/data/source/sdss_j133348.24+273508.8.json b/data/source/sdss_j133348.24+273508.8.json index 4119a103d..6f27dcb11 100644 --- a/data/source/sdss_j133348.24+273508.8.json +++ b/data/source/sdss_j133348.24+273508.8.json @@ -109,6 +109,19 @@ } ], "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/LRIS_1333p2735_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/LRIS_1333p2735.txt", + "local_spectrum": null, + "regime": "nir", + "telescope": "Keck I", + "instrument": "LRIS", + "mode": "Missing", + "observation_date": "2014-06-26T00:00:00", + "comments": null, + "reference": "Kirk16", + "other_references": null + }, { "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/zhang18/SDSS_J133348.24%2B273508.8_sdL1_OSIRIS_GTC65-13B_Primeval-I_SIMPLE.fits", "original_spectrum": null, diff --git a/data/source/sdss_j145255.58+272324.4.json b/data/source/sdss_j145255.58+272324.4.json index 2e681baf3..dc22c4a91 100644 --- a/data/source/sdss_j145255.58+272324.4.json +++ b/data/source/sdss_j145255.58+272324.4.json @@ -20,7 +20,7 @@ "lower_error": 0.02, "upper_error": 0.02, "unit": "dex", - "adopted": 0, + "adopted": false, "comments": null, "reference": "Sang23", "other_references": null @@ -32,19 +32,19 @@ "lower_error": null, "upper_error": null, "unit": "K", - "adopted": 0, + "adopted": false, "comments": null, "reference": "Sang23", "other_references": null }, { - "model": "atmospheric", - "parameter": "radius", - "value": 0.82, - "lower_error": null, - "upper_error": null, - "unit": "R_jup", - "adopted": 0, + "model": "evolutionary", + "parameter": "T eff", + "value": 2152.0, + "lower_error": 194.0, + "upper_error": 194.0, + "unit": "K", + "adopted": false, "comments": null, "reference": "Sang23", "other_references": null @@ -56,7 +56,7 @@ "lower_error": null, "upper_error": null, "unit": "dex", - "adopted": 0, + "adopted": false, "comments": null, "reference": "Sang23", "other_references": null @@ -68,43 +68,43 @@ "lower_error": 0.38, "upper_error": 0.38, "unit": "dex", - "adopted": 0, + "adopted": false, "comments": null, "reference": "Sang23", "other_references": null }, { "model": "evolutionary", - "parameter": "T eff", - "value": 2152.0, - "lower_error": 194.0, - "upper_error": 194.0, - "unit": "K", - "adopted": 0, + "parameter": "mass", + "value": 65.79, + "lower_error": 24.14, + "upper_error": 24.14, + "unit": "M_jup", + "adopted": false, "comments": null, "reference": "Sang23", "other_references": null }, { - "model": "evolutionary", + "model": "atmospheric", "parameter": "radius", - "value": 1.01, - "lower_error": 0.18, - "upper_error": 0.18, + "value": 0.82, + "lower_error": null, + "upper_error": null, "unit": "R_jup", - "adopted": 0, + "adopted": false, "comments": null, "reference": "Sang23", "other_references": null }, { "model": "evolutionary", - "parameter": "mass", - "value": 65.79, - "lower_error": 24.14, - "upper_error": 24.14, - "unit": "M_jup", - "adopted": 0, + "parameter": "radius", + "value": 1.01, + "lower_error": 0.18, + "upper_error": 0.18, + "unit": "R_jup", + "adopted": false, "comments": null, "reference": "Sang23", "other_references": null @@ -336,6 +336,21 @@ "reference": "Abaz09" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/DSpec_1452p2723_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/DSpec_1452p2723.txt", + "local_spectrum": null, + "regime": "optical", + "telescope": "Palomar Hale", + "instrument": "DSpec", + "mode": "spectroscopy", + "observation_date": "2015-06-08T00:00:00", + "comments": null, + "reference": "Kirk16", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "L0", diff --git a/data/source/ssspm_j1013-1356.json b/data/source/ssspm_j1013-1356.json index 31a5fc1a7..52b9b1f3f 100644 --- a/data/source/ssspm_j1013-1356.json +++ b/data/source/ssspm_j1013-1356.json @@ -250,6 +250,19 @@ "reference": "Suar22", "other_references": null }, + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/spex-prism_NIR_J1013-1356_Burgasser2004_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/spex-prism_NIR_J1013-1356_Burgasser2004.txt", + "local_spectrum": null, + "regime": "nir", + "telescope": "IRTF", + "instrument": "SpeX", + "mode": "Prism", + "observation_date": "2004-03-12T00:00:00", + "comments": null, + "reference": "Burg04.73", + "other_references": null + }, { "access_url": "https://s3.amazonaws.com/bdnyc/GMOS/gmos_1013-1356_041121.txt", "original_spectrum": null, diff --git a/data/source/ssspm_j1256-1408.json b/data/source/ssspm_j1256-1408.json index fffa6c98e..438c6cb22 100644 --- a/data/source/ssspm_j1256-1408.json +++ b/data/source/ssspm_j1256-1408.json @@ -173,6 +173,21 @@ "reference": "Schi09" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/DSpec_1256-1408_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/DSpec_1256-1408.txt", + "local_spectrum": null, + "regime": "optical", + "telescope": "Palomar Hale", + "instrument": "DSpec", + "mode": "spectroscopy", + "observation_date": "2014-02-23T00:00:00", + "comments": null, + "reference": "Kirk16", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "sdM9", diff --git a/data/source/ulas_j033350.84+001406.1.json b/data/source/ulas_j033350.84+001406.1.json index ecf15fd35..48de028ce 100644 --- a/data/source/ulas_j033350.84+001406.1.json +++ b/data/source/ulas_j033350.84+001406.1.json @@ -232,6 +232,21 @@ "reference": "Maro21" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/spex-prism_NIR_J0333%2B0014_Bardalez2014_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/spex-prism_NIR_J0333%2B0014_Bardalez2014.txt", + "local_spectrum": null, + "regime": "nir", + "telescope": "IRTF", + "instrument": "SpeX", + "mode": "Prism", + "observation_date": "2013-12-05T00:00:00", + "comments": null, + "reference": "Bard14", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "esdL0", diff --git a/data/source/ulas_j115826.62+044746.8.json b/data/source/ulas_j115826.62+044746.8.json index d1ec9d87f..e8adcb621 100644 --- a/data/source/ulas_j115826.62+044746.8.json +++ b/data/source/ulas_j115826.62+044746.8.json @@ -183,6 +183,21 @@ "reference": "Maro21" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/DSpec_1158p0447_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/DSpec_1158p0447.txt", + "local_spectrum": null, + "regime": "optical", + "telescope": "Palomar Hale", + "instrument": "DSpec", + "mode": "spectroscopy", + "observation_date": "2014-02-23T00:00:00", + "comments": null, + "reference": "Kirk16", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "sdM9.5", diff --git a/data/source/ulas_j124425.90+102441.9.json b/data/source/ulas_j124425.90+102441.9.json index bdbd63a8c..49b977b11 100644 --- a/data/source/ulas_j124425.90+102441.9.json +++ b/data/source/ulas_j124425.90+102441.9.json @@ -281,6 +281,19 @@ "comments": null, "reference": "Zhan17.3040", "other_references": null + }, + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/DSpec_1244p1024_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/DSpec_1244p1024.txt", + "local_spectrum": null, + "regime": "optical", + "telescope": "Palomar Hale", + "instrument": "DSpec", + "mode": "spectroscopy", + "observation_date": "2014-02-23T00:00:00", + "comments": null, + "reference": "Kirk16", + "other_references": null } ], "SpectralTypes": [ diff --git a/data/source/ulas_j131610.28+075553.0.json b/data/source/ulas_j131610.28+075553.0.json index cca9f9002..5cfd012a2 100644 --- a/data/source/ulas_j131610.28+075553.0.json +++ b/data/source/ulas_j131610.28+075553.0.json @@ -90,6 +90,21 @@ "reference": "Maro21" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/NIR_J1316%2B0755_Burn2014_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/NIR_J1316%2B0755_Burn2014.txt", + "local_spectrum": null, + "regime": "nir", + "telescope": "Gemini North", + "instrument": "GNIRS", + "mode": "SXD", + "observation_date": "2013-04-13T00:00:00", + "comments": null, + "reference": "Burn14", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "sdT6.5", diff --git a/data/source/ulas_j141623.94+134836.3.json b/data/source/ulas_j141623.94+134836.3.json index 66bbdc040..597e3c2c7 100644 --- a/data/source/ulas_j141623.94+134836.3.json +++ b/data/source/ulas_j141623.94+134836.3.json @@ -20,7 +20,7 @@ "lower_error": 54.0, "upper_error": 54.0, "unit": "K", - "adopted": 0, + "adopted": false, "comments": null, "reference": "Fili15", "other_references": null @@ -32,7 +32,7 @@ "lower_error": 0.52, "upper_error": 0.52, "unit": "dex", - "adopted": 0, + "adopted": false, "comments": null, "reference": "Fili15", "other_references": null @@ -44,7 +44,7 @@ "lower_error": 21.23, "upper_error": 21.23, "unit": "M_jup", - "adopted": 0, + "adopted": false, "comments": null, "reference": "Fili15", "other_references": null @@ -56,7 +56,7 @@ "lower_error": 0.16, "upper_error": 0.16, "unit": "R_jup", - "adopted": 0, + "adopted": false, "comments": null, "reference": "Fili15", "other_references": null @@ -333,6 +333,19 @@ "comments": null, "reference": "Burg10.2448", "other_references": null + }, + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/spex-prism_NIR_J1416%2B1348B_Burg2010_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/spex-prism_NIR_J1416%2B1348B_Burg2010.txt", + "local_spectrum": null, + "regime": "nir", + "telescope": "IRTF", + "instrument": "SpeX", + "mode": "Prism", + "observation_date": "2010-01-23T00:00:00", + "comments": null, + "reference": "Burg10.2448", + "other_references": null } ], "SpectralTypes": [ diff --git a/data/source/wise_j155349.98+693355.2.json b/data/source/wise_j155349.98+693355.2.json index f0bfba635..df23ac6dc 100644 --- a/data/source/wise_j155349.98+693355.2.json +++ b/data/source/wise_j155349.98+693355.2.json @@ -51,6 +51,21 @@ "reference": "Maro21" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/nires_NIR_J1553%2B6934_20200707_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/nires_NIR_J1553%2B6934_20200707.txt", + "local_spectrum": null, + "regime": "nir", + "telescope": "Keck II", + "instrument": "NIRES", + "mode": "spectroscopy", + "observation_date": "2020-07-07T00:00:00", + "comments": null, + "reference": "Meis21", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "sdT3", diff --git a/data/source/wise_j200520.38+542433.9.json b/data/source/wise_j200520.38+542433.9.json index fb1fd502c..5e1354443 100644 --- a/data/source/wise_j200520.38+542433.9.json +++ b/data/source/wise_j200520.38+542433.9.json @@ -123,6 +123,21 @@ "reference": "Gizi97" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/mosfire_NIR_Wolf1130B_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/mosfire_NIR_Wolf1130B.txt", + "local_spectrum": null, + "regime": "nir", + "telescope": "Keck I", + "instrument": "MOSFIRE", + "mode": "Imaging", + "observation_date": "2012-10-12T00:00:00", + "comments": null, + "reference": "Mace13.36", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "T8", diff --git a/data/source/wisea_j000430.66-260402.3.json b/data/source/wisea_j000430.66-260402.3.json index 55bec0870..eee90642d 100644 --- a/data/source/wisea_j000430.66-260402.3.json +++ b/data/source/wisea_j000430.66-260402.3.json @@ -135,6 +135,21 @@ "reference": "Schn16.112" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/NIR_J0004-2604_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/NIR_J0004-2604.csv", + "local_spectrum": null, + "regime": "nir", + "telescope": "IRTF", + "instrument": "SpeX", + "mode": "Prism", + "observation_date": "2016-08-03T00:00:00", + "comments": null, + "reference": "Grec19", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "T2 (blue)", diff --git a/data/source/wisea_j001450.17-083823.4.json b/data/source/wisea_j001450.17-083823.4.json index cfd66e42a..935c1bcf4 100644 --- a/data/source/wisea_j001450.17-083823.4.json +++ b/data/source/wisea_j001450.17-083823.4.json @@ -257,6 +257,19 @@ } ], "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/nirspec_0014m0838_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/nirspec_0014m0838.txt", + "local_spectrum": null, + "regime": "nir", + "telescope": "Keck II", + "instrument": "NIRSPEC", + "mode": "Missing", + "observation_date": "2014-12-03T00:00:00", + "comments": null, + "reference": "Kirk16", + "other_references": null + }, { "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/zhang18/WISEA_J001450.17-083823.4_esdL0_OSIRIS_GTC80-15A_Primeval-I_SIMPLE.fits", "original_spectrum": null, diff --git a/data/source/wisea_j004326.26+222124.0.json b/data/source/wisea_j004326.26+222124.0.json index 7ce88a947..59eea89ba 100644 --- a/data/source/wisea_j004326.26+222124.0.json +++ b/data/source/wisea_j004326.26+222124.0.json @@ -229,6 +229,21 @@ "reference": "Maro21" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/DSpec_0043p2212_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/DSpec_0043p2212.txt", + "local_spectrum": null, + "regime": "optical", + "telescope": "Palomar Hale", + "instrument": "DSpec", + "mode": "spectroscopy", + "observation_date": "2014-10-24T00:00:00", + "comments": null, + "reference": "Kirk16", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "sdL1", diff --git a/data/source/wisea_j013012.66-104732.4.json b/data/source/wisea_j013012.66-104732.4.json index 04a0b187c..221e346c0 100644 --- a/data/source/wisea_j013012.66-104732.4.json +++ b/data/source/wisea_j013012.66-104732.4.json @@ -193,6 +193,21 @@ "reference": "Maro21" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/DSpec_0130m1047_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/DSpec_0130m1047.txt", + "local_spectrum": null, + "regime": "optical", + "telescope": "Palomar Hale", + "instrument": "DSpec", + "mode": "spectroscopy", + "observation_date": "2015-12-10T00:00:00", + "comments": null, + "reference": "Kirk16", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "d/sdM8.5", diff --git a/data/source/wisea_j030119.39-231921.1.json b/data/source/wisea_j030119.39-231921.1.json index df68f0827..7d1777b67 100644 --- a/data/source/wisea_j030119.39-231921.1.json +++ b/data/source/wisea_j030119.39-231921.1.json @@ -153,6 +153,21 @@ "reference": "Schn16.112" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/NIR_J0301-2319_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/NIR_J0301-2319.csv", + "local_spectrum": null, + "regime": "nir", + "telescope": "IRTF", + "instrument": "SpeX", + "mode": "Prism", + "observation_date": "2016-08-03T00:00:00", + "comments": null, + "reference": "Grec19", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "T1 (sl. blue)", diff --git a/data/source/wisea_j030601.66-033059.0.json b/data/source/wisea_j030601.66-033059.0.json index 0e62e0fb3..200e64d62 100644 --- a/data/source/wisea_j030601.66-033059.0.json +++ b/data/source/wisea_j030601.66-033059.0.json @@ -247,6 +247,21 @@ "reference": "Maro21" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/spex-prism_NIR_J0306-0330_Kirkpatrick2014_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/spex-prism_NIR_J0306-0330_Kirkpatrick2014.txt", + "local_spectrum": null, + "regime": "nir", + "telescope": "IRTF", + "instrument": "SpeX", + "mode": "Prism", + "observation_date": "2013-11-22T00:00:00", + "comments": null, + "reference": "Kirk14", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "esdL1", diff --git a/data/source/wisea_j041451.67-585456.7.json b/data/source/wisea_j041451.67-585456.7.json index 28de5a8aa..38ee04745 100644 --- a/data/source/wisea_j041451.67-585456.7.json +++ b/data/source/wisea_j041451.67-585456.7.json @@ -42,6 +42,21 @@ "reference": "Maro21" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/fireprism_NIR_J0414-5854_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/fireprism_NIR_J0414-5854.csv", + "local_spectrum": null, + "regime": "nir", + "telescope": "Magellan I Baade", + "instrument": "FIRE", + "mode": "Prism", + "observation_date": "2020-02-12T00:00:00", + "comments": null, + "reference": "Schn20", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "esdT0", diff --git a/data/source/wisea_j043535.82+211508.9.json b/data/source/wisea_j043535.82+211508.9.json index 18b899692..a1f821b48 100644 --- a/data/source/wisea_j043535.82+211508.9.json +++ b/data/source/wisea_j043535.82+211508.9.json @@ -241,6 +241,21 @@ "reference": "Maro21" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/spex-prism_NIR_J0435%2B2115_Luhman2014_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/spex-prism_NIR_J0435%2B2115_Luhman2014.txt", + "local_spectrum": null, + "regime": "nir", + "telescope": "IRTF", + "instrument": "SpeX", + "mode": "Prism", + "observation_date": "2013-12-26T00:00:00", + "comments": null, + "reference": "Luhm14.126", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "esdL1", diff --git a/data/source/wisea_j045921.21+154059.2.json b/data/source/wisea_j045921.21+154059.2.json index 414972254..633b7dee5 100644 --- a/data/source/wisea_j045921.21+154059.2.json +++ b/data/source/wisea_j045921.21+154059.2.json @@ -259,6 +259,21 @@ "reference": "Maro21" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/spex-prism_NIR_J0459%2B1540_Kirkpatrick2014_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/spex-prism_NIR_J0459%2B1540_Kirkpatrick2014.txt", + "local_spectrum": null, + "regime": "nir", + "telescope": "IRTF", + "instrument": "SpeX", + "mode": "Prism", + "observation_date": "2013-11-22T00:00:00", + "comments": null, + "reference": "Kirk14", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "sdL0", diff --git a/data/source/wisea_j101329.72-724619.2.json b/data/source/wisea_j101329.72-724619.2.json index 52b2af20f..4f7431783 100644 --- a/data/source/wisea_j101329.72-724619.2.json +++ b/data/source/wisea_j101329.72-724619.2.json @@ -42,6 +42,21 @@ "reference": "Maro21" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/FIRE_1013m7246_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/FIRE_1013m7246.txt", + "local_spectrum": null, + "regime": "nir", + "telescope": "Magellan I Baade", + "instrument": "FIRE", + "mode": "Prism", + "observation_date": "2015-02-08T00:00:00", + "comments": null, + "reference": "Kirk16", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "sdL2", diff --git a/data/source/wisea_j204027.30+695924.1.json b/data/source/wisea_j204027.30+695924.1.json index eac4fb8ae..bdfc32db5 100644 --- a/data/source/wisea_j204027.30+695924.1.json +++ b/data/source/wisea_j204027.30+695924.1.json @@ -265,6 +265,21 @@ "reference": "Maro21" } ], + "Spectra": [ + { + "access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/spex-prism_NIR_J2040%2B6959_Luhman2014_SIMPLE.fits", + "original_spectrum": "https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/spex-prism_NIR_J2040%2B6959_Luhman2014.txt", + "local_spectrum": null, + "regime": "nir", + "telescope": "IRTF", + "instrument": "SpeX", + "mode": "Prism", + "observation_date": "2013-12-28T00:00:00", + "comments": null, + "reference": "Luhm14.126", + "other_references": null + } + ], "SpectralTypes": [ { "spectral_type_string": "esdL0.5", diff --git a/scripts/ingests/bones_archive/ingest_BONES_spectra.py b/scripts/ingests/bones_archive/ingest_BONES_spectra.py new file mode 100644 index 000000000..7ff9fb420 --- /dev/null +++ b/scripts/ingests/bones_archive/ingest_BONES_spectra.py @@ -0,0 +1,171 @@ +import logging +import csv +from datetime import datetime +import pandas as pd +from pathlib import Path +from astropy.io import fits +from astrodb_utils.spectra import ingest_spectrum +from astrodb_utils.instruments import ingest_instrument +from astrodb_utils.publications import ingest_publication +from simple import REFERENCE_TABLES +from astrodb_utils import AstroDBError, load_astrodb + +""" +This script ingest new created spectra FITS files into the SIMPLE database +""" + +# Set the loggging level of the astrodb_utils logger +astrodb_utils_logger = logging.getLogger("astrodb_utils") +astrodb_utils_logger.setLevel(logging.INFO) + +# Set up the logging for this ingest script. +logger = logging.getLogger("astrodb_utils.bones") +logger.setLevel(logging.INFO) + +# Load Database +SAVE_DB = True +RECREATE_DB = True +SCHEMA_PATH = "simple/schema.yaml" +db = load_astrodb( + "SIMPLE.sqlite", + recreatedb=RECREATE_DB, + reference_tables=REFERENCE_TABLES, + felis_schema=SCHEMA_PATH, +) + +# Paths +spreadsheet_url = "https://docs.google.com/spreadsheets/d/e/2PACX-1vRtZ_Sl9hSi-JdIimRxbRLSTTYozlLOStmlzzcoAM7yB-duaMtzSqAIITI2ioMqlSIc6en8eiZDnUGe/pub?gid=0&single=true&output=csv" +data = pd.read_csv(spreadsheet_url) +fits_file = "/Users/guanying/SIMPLE db/SIMPLE-db/scripts/spectra_convert/BONES Archive/Processed BONES/" +SKIP_FILES = [ + "2MASS J12270506-0447207", + "WISEA J135501.90−825838.9", + "ULAS J124947.04+095019.8", + "SDSS J133837.01-022908.4", + "LHS 377", + "2MASS J16262034+3925190", + "2MASS J06453153−6646120", + "SDSS J010448.46+153501.8", + "ULAS J020858.62+020657.0", + "ULAS J021642.96+004005.7", + "ULAS J024035.36+060629.3", + "ULAS J130710.22+151103.4", + "ULAS J135058.86+081506.8", + "2MASS J14120397+1216100", + "ULAS J151913.03-000030.0", + "ULAS J223302.03+062030.8", + "ULAS J230711.01+014447.1", +] +def add_instruments(): + INSTRUMENT=[ + { + "name": "BCSpec", + "mode": "spectroscopy", + "telescope": "LCO du Pont", + }, + { + "name": "DSpec", + "mode":"spectroscopy", + "telescope": "Palomar Hale", + }, + { + "name":"MOSFIRE", + "mode":"Imaging", + "telescope":"Keck I", + }, + { + "name":"OSIRIS", + "mode":"spectroscopy", + "telescope":"SOAR", + } + ] + for inst in INSTRUMENT: + try: + ingest_instrument( + db, + instrument=inst["name"], + mode=inst["mode"], + telescope=inst["telescope"] + ) + except AstroDBError as e: + logger.error(f"Failed to ingest instrument {inst['name']}: {e}") + + +def add_publications(): + try: + ingest_publication( + db, + reference="Burg25.79", + bibcode="2025ApJ...982...79B", + doi="10.3847/1538-4357/adb39f", + description="New Cold Subdwarf Discoveries from Backyard Worlds and a Metallicity Classification System for T Subdwarfs" + ) + except AstroDBError as e: + logger.error(f"Failed to ingest publication Burg25.79: {e}") + +def modify_date(obs_date): + if not obs_date: + return None + + return datetime.fromisoformat(str(obs_date)) # example: 2004-04-17 04:40:11.761000 + +def add_access_url(filename): + if "SIMPLE" in filename: + file_url = ("https://bdnyc.s3.us-east-1.amazonaws.com/bones/" + filename) + else: + file_url = ("https://bdnyc.s3.us-east-1.amazonaws.com/bones/original/" + filename) + + access_url = file_url.replace('+', '%2B') + return access_url + +def ingest_spectra(): + added_files = 0 + failed_files = 0 + + for _, row in data.iloc[1:83].iterrows(): + + if row['NAME'] in SKIP_FILES: + logger.info(f"Skipping {row['Filename']} due to known issues.") + continue + + print(f"Processing {row['NAME']}...") + + original_spectrum = add_access_url(str(row['Filename'])) + access_url = add_access_url(str(row['SIMPLE Filename'])) + obs_date = modify_date(row['DATE-OBS']) + + print(f"Ingesting spectrum for {row['NAME']} \n access URL: {access_url} \n original spectrum URL: {original_spectrum}...") + + try: + ingest_spectrum( + db, + source=row['SIMPLE Name'], + spectrum=access_url, + original_spectrum=original_spectrum, + regime= row['Regime'], + instrument=row['INSTRUME'], + telescope=row['TELESCOP'], + mode=row['mode'], + obs_date=obs_date, + reference=row['Reference'], + ) + logger.info(f"Ingesting spectrum for {row['NAME']}...") + print(f"Successfully ingest spectrum for {row['NAME']}") + added_files += 1 + except AstroDBError as e: + logger.error(f"Failed to ingest spectrum for {row['NAME']}: {e}") + failed_files += 1 + print(f"Total spectra added: {added_files}") + print(f"Total failed spectra: {failed_files}") + +""" +Total spectra added: 66 +Total failed spectra: 0 +""" +add_instruments() +add_publications() +ingest_spectra() + +if SAVE_DB: + db.save_database(directory="data/") + logger.info("Database JSON files written to disk") \ No newline at end of file diff --git a/tests/scheduled_checks.py b/tests/scheduled_checks.py index f3ee968e9..06c331cde 100644 --- a/tests/scheduled_checks.py +++ b/tests/scheduled_checks.py @@ -91,7 +91,7 @@ def test_source_simbad(db): # with open("tests/not_in_simbad_25Jul1.txt", "w") as f: # f.write("\n".join(not_in_simbad)) - assert duplicate_count == 0, "Duplicate sources identified via Simbad queries" + assert duplicate_count == 3, "Duplicate sources identified via Simbad queries" assert ( len(not_in_simbad) == 370 diff --git a/tests/test_data_spectra.py b/tests/test_data_spectra.py index 40e025327..d6cd67605 100644 --- a/tests/test_data_spectra.py +++ b/tests/test_data_spectra.py @@ -4,14 +4,14 @@ def test_spectra_count(db): n_spectra = db.query(db.Spectra).count() - assert n_spectra == 1727, f"found {n_spectra} sources" + assert n_spectra == 1793, f"found {n_spectra} sources" @pytest.mark.parametrize( ("regime", "n_spectra"), [ - ("optical", 837), - ("nir", 663), + ("optical", 854), + ("nir", 712), ("mir", 227), ("unknown", 0), ], @@ -24,15 +24,15 @@ def test_spectra_regimes(db, regime, n_spectra): @pytest.mark.parametrize( ("telescope", "n_spectra"), [ - ("IRTF", 457), - ("Keck I", 65), - ("Keck II", 8), - ("Magellan I Baade", 12), + ("IRTF", 495), + ("Keck I", 67), + ("Keck II", 13), + ("Magellan I Baade", 14), ("Magellan II Clay", 11), - ("SOAR", 2), + ("SOAR", 3), ("Lick Shane 3m", 1), ("HST", 77), - ("Gemini North", 27), + ("Gemini North", 28), ("Gemini South", 34), ("GTC", 66), ("ESO VLT", 114), @@ -57,7 +57,7 @@ def test_spectra_telescope(db, telescope, n_spectra): ("ESO VLT", "XShooter", 88), ("GTC", "OSIRIS", 65), ("Magellan I Baade", "IMACS", 1), - ("Magellan I Baade", "FIRE", 11), + ("Magellan I Baade", "FIRE", 13), ("SDSS", "BOSS", 1), ], ) @@ -82,7 +82,7 @@ def test_spectra_instrument(db, telescope, instrument, n_spectra): ("Cruz03", 191), ("Cruz18", 186), ("Cruz07", 158), - ("Bard14", 57), + ("Bard14", 63), ("Burg10.1142", 46), ("Manj20", 20), ("Roth24", 34), From c9dbf3727bb972b2a3bd5f23417f87826110008d Mon Sep 17 00:00:00 2001 From: ying2212 Date: Tue, 14 Apr 2026 16:04:31 -0400 Subject: [PATCH 6/8] fix schema path --- tests/conftest.py | 5 +++-- tests/test_felis.py | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 7b0b3f6f9..34d90e811 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -3,14 +3,15 @@ import sys import pytest -from astrodb_utils.loaders import build_db_from_json +from astrodb_utils.loaders import build_db_from_json, DatabaseSettings from astrodbkit.astrodb import Database, create_database sys.path.append("./") # needed for github actions to find the simple module logger = logging.getLogger("AstroDB") - +db_settings=DatabaseSettings(settings_file="database.toml") +SCHEMA_PATH = db_settings.felis_path # Create a fresh SIMPLE database for the data and integrity tests @pytest.fixture(scope="session", autouse=True) diff --git a/tests/test_felis.py b/tests/test_felis.py index 3048100da..d2d62f852 100644 --- a/tests/test_felis.py +++ b/tests/test_felis.py @@ -2,11 +2,11 @@ import yaml from pydantic import ValidationError - +from astrodb_utils.loaders import DatabaseSettings from felis.datamodel import Schema -SCHEMA_PATH = "schema.yaml" - +db_settings=DatabaseSettings(settings_file="database.toml") +SCHEMA_PATH = db_settings.felis_path def test_schema(): data = yaml.safe_load(open(SCHEMA_PATH, "r")) From 7c4a5819578ac8568d66ddc94b6e2647ed72a42c Mon Sep 17 00:00:00 2001 From: ying2212 Date: Tue, 14 Apr 2026 16:13:32 -0400 Subject: [PATCH 7/8] update version table --- data/reference/Versions.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/data/reference/Versions.json b/data/reference/Versions.json index f3ff339dd..822d52de4 100644 --- a/data/reference/Versions.json +++ b/data/reference/Versions.json @@ -185,6 +185,12 @@ "end_date": "2026-04-14", "description": "Spectra provided by BONES Archive" }, + { + "version": "5.4.2026.02", + "start_date": "2026-03-24", + "end_date": "2026-04-14", + "description": "Add database.toml" + }, { "version": "latest", "start_date": "2026-04-14", From 9e0cbee0fdf28a0434ccdf708ccf44ad2e89eac1 Mon Sep 17 00:00:00 2001 From: ying2212 Date: Tue, 14 Apr 2026 16:14:34 -0400 Subject: [PATCH 8/8] fix version start_date --- data/reference/Versions.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/reference/Versions.json b/data/reference/Versions.json index 822d52de4..37aab10b6 100644 --- a/data/reference/Versions.json +++ b/data/reference/Versions.json @@ -187,7 +187,7 @@ }, { "version": "5.4.2026.02", - "start_date": "2026-03-24", + "start_date": "2026-04-14", "end_date": "2026-04-14", "description": "Add database.toml" },