Skip to content

Commit 2c5b11c

Browse files
authored
Update on 2MASS J04151954-0935066 (#618)
* Update on 2MASS J04151954-0935066 * Fix * Add Photometry and Spectra * fix * add URL for Spectra JWST * update Version table
1 parent 61ab4dd commit 2c5b11c

File tree

5 files changed

+71
-9
lines changed

5 files changed

+71
-9
lines changed

data/reference/Instruments.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,13 @@
356356
"description": null,
357357
"reference": null
358358
},
359+
{
360+
"instrument": "NIRSpec",
361+
"mode": "F290LP.G395H",
362+
"telescope": "JWST",
363+
"description": null,
364+
"reference": null
365+
},
359366
{
360367
"instrument": "NIRSpec",
361368
"mode": "MOS",

data/reference/Versions.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,14 @@
138138
"description": "Spectra from Rothermich et. al. 2024, spectral types from BONES Archive, ingest_spectra and ingest_spectraltype changes"
139139
},
140140
{
141-
"version": "latest",
141+
"version": "2.3.2025.6",
142142
"start_date": "2025-05-22",
143+
"end_date": "2025-06-09",
144+
"description": "Added data for 0415-0935"
145+
},
146+
{
147+
"version": "latest",
148+
"start_date": "2025-06-09",
143149
"end_date": null,
144150
"description": "Version in development"
145151
}

data/source/2mass_j04151954-0935066.json

Lines changed: 50 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,16 @@
184184
"magnitude_error": 0.05,
185185
"telescope": "Keck II",
186186
"epoch": null,
187-
"comments": "From Parallax_Data.xlsx",
187+
"comments": "Actually was UKIRT/IRCAM. From Parallax_Data.xlsx",
188+
"reference": "Goli04.3516"
189+
},
190+
{
191+
"band": "NSFCam.Mp",
192+
"magnitude": 12.82,
193+
"magnitude_error": 0.15,
194+
"telescope": "Keck II",
195+
"epoch": null,
196+
"comments": "Actually was UKIRT/IRCAM",
188197
"reference": "Goli04.3516"
189198
},
190199
{
@@ -303,6 +312,33 @@
303312
"epoch": null,
304313
"comments": null,
305314
"reference": "Cutr12"
315+
},
316+
{
317+
"band": "JWST/MIRI.F1000W",
318+
"magnitude": 10.749,
319+
"magnitude_error": 0.002,
320+
"telescope": "JWST",
321+
"epoch": null,
322+
"comments": null,
323+
"reference": "Alej25"
324+
},
325+
{
326+
"band": "JWST/MIRI.F1280W",
327+
"magnitude": 10.669,
328+
"magnitude_error": 0.002,
329+
"telescope": "JWST",
330+
"epoch": null,
331+
"comments": null,
332+
"reference": "Alej25"
333+
},
334+
{
335+
"band": "JWST/MIRI.F1800W",
336+
"magnitude": 10.327,
337+
"magnitude_error": 0.002,
338+
"telescope": "JWST",
339+
"epoch": null,
340+
"comments": null,
341+
"reference": "Alej25"
306342
}
307343
],
308344
"ProperMotions": [
@@ -420,6 +456,19 @@
420456
"comments": null,
421457
"reference": "Kirk08",
422458
"other_references": null
459+
},
460+
{
461+
"access_url": "https://bdnyc.s3.us-east-1.amazonaws.com/JWST/NIRSpec/jw02124-o059_s00001_nirspec_f290lp-g395h-s200a1-subs200a1_x1d_manual.fits",
462+
"original_spectrum": null,
463+
"local_spectrum": null,
464+
"regime":"nir",
465+
"telescope": "JWST",
466+
"instrument": "NIRSpec",
467+
"mode": "F290LP.G395H",
468+
"observation_date": "2022-10-16T00:00:00",
469+
"comments": null,
470+
"reference": "Alej25",
471+
"other_references": null
423472
}
424473
],
425474
"SpectralTypes": [

tests/test_data_spectra.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44

55
def test_spectra_count(db):
66
n_spectra = db.query(db.Spectra).count()
7-
assert n_spectra == 1605, f"found {n_spectra} sources"
7+
assert n_spectra == 1606, f"found {n_spectra} sources"
88

99

1010
@pytest.mark.parametrize(
1111
("regime", "n_spectra"),
1212
[
1313
("optical", 743),
14-
("nir", 635),
14+
("nir", 636),
1515
("mir", 227),
1616
("unknown", 0),
1717
],
@@ -38,7 +38,7 @@ def test_spectra_regimes(db, regime, n_spectra):
3838
("Spitzer", 203),
3939
("KPNO 2.1m", 93),
4040
("KPNO 4m", 251),
41-
("JWST", 48),
41+
("JWST", 49),
4242
],
4343
)
4444
def test_spectra_telescope(db, telescope, n_spectra):
@@ -49,7 +49,7 @@ def test_spectra_telescope(db, telescope, n_spectra):
4949
@pytest.mark.parametrize(
5050
("telescope", "instrument", "n_spectra"),
5151
[
52-
("JWST", "NIRSpec", 24),
52+
("JWST", "NIRSpec", 25),
5353
("JWST", "MIRI", 24),
5454
("HST", "WFC3", 77),
5555
],

tests/test_photometry.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
("VISTA.J", 67),
3131
("VISTA.H", 39),
3232
("VISTA.Ks", 20),
33-
("JWST/MIRI.F1000W", 1),
34-
("JWST/MIRI.F1280W", 1),
35-
("JWST/MIRI.F1800W", 1),
33+
("JWST/MIRI.F1000W", 2),
34+
("JWST/MIRI.F1280W", 2),
35+
("JWST/MIRI.F1800W", 2),
3636
("IRAC.I1", 828),
3737
("IRAC.I2", 884),
3838
],

0 commit comments

Comments
 (0)