Skip to content

Commit

Permalink
Rename spectrum to access_url (#494)
Browse files Browse the repository at this point in the history
* Rename spectrum to access_url; closes #477

* Adding modified JSON files

* Updating tests and utils.spectra module

* Updating scheduled_checks

* Updating Versions table
  • Loading branch information
dr-rodriguez authored Apr 30, 2024
1 parent 0d1f28f commit 7560428
Show file tree
Hide file tree
Showing 1,112 changed files with 4,551 additions and 4,523 deletions.
16 changes: 8 additions & 8 deletions data/2mass_0441+2301_aab.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,22 @@
],
"SpectralTypes": [
{
"spectral_type_string": "M4.5",
"spectral_type_code": 64.5,
"spectral_type_string": "M3",
"spectral_type_code": 63.0,
"spectral_type_error": null,
"regime": "nir",
"regime": "optical",
"adopted": null,
"comments": null,
"reference": "Luhm09.399"
"reference": "Krau09.1511"
},
{
"spectral_type_string": "M3",
"spectral_type_code": 63.0,
"spectral_type_string": "M4.5",
"spectral_type_code": 64.5,
"spectral_type_error": null,
"regime": "optical",
"regime": "nir",
"adopted": null,
"comments": null,
"reference": "Krau09.1511"
"reference": "Luhm09.399"
}
]
}
10 changes: 5 additions & 5 deletions data/2mass_j00001354+2554180.json
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@
],
"Spectra": [
{
"spectrum": "https://s3.amazonaws.com/bdnyc/IRS/0000%2B2554%20%285-14.5um%29.txt",
"access_url": "https://s3.amazonaws.com/bdnyc/IRS/0000%2B2554%20%285-14.5um%29.txt",
"original_spectrum": null,
"local_spectrum": "$BDNYC_spectra/IRS/0000+2554 (5-14.5um).txt",
"regime": "mir",
Expand All @@ -208,7 +208,7 @@
"other_references": null
},
{
"spectrum": "https://bdnyc.s3.amazonaws.com/IRS/0000%252B2554_IRS_spectrum.fits",
"access_url": "https://bdnyc.s3.amazonaws.com/IRS/0000%252B2554_IRS_spectrum.fits",
"original_spectrum": "https://bdnyc.s3.amazonaws.com/IRS/0000%2B2554_IRS_spectrum.dat",
"local_spectrum": null,
"regime": "mir",
Expand All @@ -221,7 +221,7 @@
"other_references": null
},
{
"spectrum": "https://s3.amazonaws.com/bdnyc/0000%2B2554.txt",
"access_url": "https://s3.amazonaws.com/bdnyc/0000%2B2554.txt",
"original_spectrum": null,
"local_spectrum": "$BDNYC_spectra/IRS/0000+2554.txt",
"regime": "mir",
Expand All @@ -234,7 +234,7 @@
"other_references": null
},
{
"spectrum": "https://s3.amazonaws.com/bdnyc/spex-prism_SDSSJ000013.54%2B255418.6_20040724_BUR06C.txt",
"access_url": "https://s3.amazonaws.com/bdnyc/spex-prism_SDSSJ000013.54%2B255418.6_20040724_BUR06C.txt",
"original_spectrum": null,
"local_spectrum": "$BDNYC_spectra/SpeX/Prism/spex-prism_SDSSJ000013.54+255418.6_20040724_BUR06C.txt",
"regime": "nir",
Expand All @@ -247,7 +247,7 @@
"other_references": null
},
{
"spectrum": "https://bdnyc.s3.amazonaws.com/WFC3/J0000%2B25.csv",
"access_url": "https://bdnyc.s3.amazonaws.com/WFC3/J0000%2B25.csv",
"original_spectrum": null,
"local_spectrum": null,
"regime": "nir",
Expand Down
2 changes: 1 addition & 1 deletion data/2mass_j00002867-1245153.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
],
"Spectra": [
{
"spectrum": "https://s3.amazonaws.com/bdnyc/optical_spectra/U10001.fits",
"access_url": "https://s3.amazonaws.com/bdnyc/optical_spectra/U10001.fits",
"original_spectrum": null,
"local_spectrum": "$BDNYC_spectra/optical_spectra/U10001.fits",
"regime": "optical",
Expand Down
2 changes: 1 addition & 1 deletion data/2mass_j00011217+1535355.json
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
],
"Spectra": [
{
"spectrum": "https://s3.amazonaws.com/bdnyc/nir_spectra/U20001.fits",
"access_url": "https://s3.amazonaws.com/bdnyc/nir_spectra/U20001.fits",
"original_spectrum": null,
"local_spectrum": "$BDNYC_spectra/nir_spectra/U20001.fits",
"regime": "nir",
Expand Down
20 changes: 10 additions & 10 deletions data/2mass_j00034227-2822410.json
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@
],
"Spectra": [
{
"spectrum": "https://s3.amazonaws.com/bdnyc/spex_prism_0003-2822_U10002.fits",
"access_url": "https://s3.amazonaws.com/bdnyc/spex_prism_0003-2822_U10002.fits",
"original_spectrum": null,
"local_spectrum": "$BDNYC_spectra/SpeX/Prism/spex_prism_0003-2822_U10002.fits",
"regime": "nir",
Expand All @@ -224,7 +224,7 @@
"other_references": null
},
{
"spectrum": "https://s3.amazonaws.com/bdnyc/U10002_0003-2822.fits",
"access_url": "https://s3.amazonaws.com/bdnyc/U10002_0003-2822.fits",
"original_spectrum": null,
"local_spectrum": "$BDNYC_spectra/optical_spectra/U10002_0003-2822.fits",
"regime": "optical",
Expand All @@ -239,22 +239,22 @@
],
"SpectralTypes": [
{
"spectral_type_string": "M7: FLD-G",
"spectral_type_code": 67.0,
"spectral_type_string": "M7.5",
"spectral_type_code": 67.5,
"spectral_type_error": null,
"regime": "nir",
"regime": "optical",
"adopted": null,
"comments": null,
"reference": "Alle13"
"reference": "Cruz07"
},
{
"spectral_type_string": "M7.5",
"spectral_type_code": 67.5,
"spectral_type_string": "M7: FLD-G",
"spectral_type_code": 67.0,
"spectral_type_error": null,
"regime": "optical",
"regime": "nir",
"adopted": null,
"comments": null,
"reference": "Cruz07"
"reference": "Alle13"
}
]
}
18 changes: 9 additions & 9 deletions data/2mass_j00040288-6410358.json
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
],
"Spectra": [
{
"spectrum": "https://s3.amazonaws.com/bdnyc/Y0004-6410.fits",
"access_url": "https://s3.amazonaws.com/bdnyc/Y0004-6410.fits",
"original_spectrum": null,
"local_spectrum": "$BDNYC_spectra/FIRE/Y0004-6410_F-140911.fits",
"regime": "nir",
Expand All @@ -177,22 +177,22 @@
],
"SpectralTypes": [
{
"spectral_type_string": "L2.3 VL-G",
"spectral_type_code": 72.3,
"spectral_type_string": "L1 gamma",
"spectral_type_code": 71.0,
"spectral_type_error": null,
"regime": "nir",
"regime": "optical",
"adopted": null,
"comments": null,
"reference": "Fahe16"
"reference": "Kirk10"
},
{
"spectral_type_string": "L1 gamma",
"spectral_type_code": 71.0,
"spectral_type_string": "L2.3 VL-G",
"spectral_type_code": 72.3,
"spectral_type_error": null,
"regime": "optical",
"regime": "nir",
"adopted": null,
"comments": null,
"reference": "Kirk10"
"reference": "Fahe16"
}
]
}
10 changes: 5 additions & 5 deletions data/2mass_j00043484-4044058.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
],
"Spectra": [
{
"spectrum": "https://s3.amazonaws.com/bdnyc/LHS102B.txt",
"access_url": "https://s3.amazonaws.com/bdnyc/LHS102B.txt",
"original_spectrum": null,
"local_spectrum": "$BDNYC_spectra/IRS/LHS102B.txt",
"regime": "mir",
Expand All @@ -157,7 +157,7 @@
"other_references": null
},
{
"spectrum": "https://bdnyc.s3.amazonaws.com/IRS/2MASS+J00043484-4044058.fits",
"access_url": "https://bdnyc.s3.amazonaws.com/IRS/2MASS+J00043484-4044058.fits",
"original_spectrum": "https://bdnyc.s3.amazonaws.com/IRS/0004-4044_IRS_spectrum.dat",
"local_spectrum": null,
"regime": "mir",
Expand All @@ -170,7 +170,7 @@
"other_references": null
},
{
"spectrum": "http://academicworks.cuny.edu/context/hc_pubs/article/1109/type/native/viewcontent",
"access_url": "http://academicworks.cuny.edu/context/hc_pubs/article/1109/type/native/viewcontent",
"original_spectrum": null,
"local_spectrum": "$BDNYC_spectra/SpeX/Prism/spex_prism_lhs102bc_040907.fits",
"regime": "nir",
Expand All @@ -183,7 +183,7 @@
"other_references": null
},
{
"spectrum": "https://bdnyc.s3.amazonaws.com/xshooter/LHS102B_total.fits",
"access_url": "https://bdnyc.s3.amazonaws.com/xshooter/LHS102B_total.fits",
"original_spectrum": null,
"local_spectrum": null,
"regime": "nir",
Expand All @@ -196,7 +196,7 @@
"other_references": null
},
{
"spectrum": "https://bdnyc.s3.amazonaws.com/xshooter/LHS102B_total.fits",
"access_url": "https://bdnyc.s3.amazonaws.com/xshooter/LHS102B_total.fits",
"original_spectrum": null,
"local_spectrum": null,
"regime": "optical",
Expand Down
16 changes: 8 additions & 8 deletions data/2mass_j00045753-1709369.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,22 +135,22 @@
],
"SpectralTypes": [
{
"spectral_type_string": "M5.6 FLD-G",
"spectral_type_code": 65.6,
"spectral_type_string": "M5.5",
"spectral_type_code": 65.5,
"spectral_type_error": null,
"regime": "nir",
"regime": "optical",
"adopted": null,
"comments": null,
"reference": "Gagn15.33"
"reference": "Crif05"
},
{
"spectral_type_string": "M5.5",
"spectral_type_code": 65.5,
"spectral_type_string": "M5.6 FLD-G",
"spectral_type_code": 65.6,
"spectral_type_error": null,
"regime": "optical",
"regime": "nir",
"adopted": null,
"comments": null,
"reference": "Crif05"
"reference": "Gagn15.33"
}
]
}
2 changes: 1 addition & 1 deletion data/2mass_j00070787-2458042.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
],
"Spectra": [
{
"spectrum": "https://s3.amazonaws.com/bdnyc/optical_spectra/U10003_0007-2458.fits",
"access_url": "https://s3.amazonaws.com/bdnyc/optical_spectra/U10003_0007-2458.fits",
"original_spectrum": null,
"local_spectrum": "$BDNYC_spectra/optical_spectra/U10003_0007-2458.fits",
"regime": "optical",
Expand Down
2 changes: 1 addition & 1 deletion data/2mass_j00085931+2911521.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
],
"Spectra": [
{
"spectrum": "https://s3.amazonaws.com/bdnyc/optical_spectra/U20009.fits",
"access_url": "https://s3.amazonaws.com/bdnyc/optical_spectra/U20009.fits",
"original_spectrum": null,
"local_spectrum": "$BDNYC_spectra/optical_spectra/U20009.fits",
"regime": "optical",
Expand Down
20 changes: 10 additions & 10 deletions data/2mass_j00100009-2031122.json
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
],
"Spectra": [
{
"spectrum": "https://s3.amazonaws.com/bdnyc/SpeX/Prism/spex_prism_0010-2031_080714.fits",
"access_url": "https://s3.amazonaws.com/bdnyc/SpeX/Prism/spex_prism_0010-2031_080714.fits",
"original_spectrum": null,
"local_spectrum": "$BDNYC_spectra/SpeX/Prism/spex_prism_0010-2031_080714.fits",
"regime": "nir",
Expand All @@ -184,7 +184,7 @@
"other_references": null
},
{
"spectrum": "https://s3.amazonaws.com/bdnyc/optical_spectra/U10006_0010-2031.fits",
"access_url": "https://s3.amazonaws.com/bdnyc/optical_spectra/U10006_0010-2031.fits",
"original_spectrum": null,
"local_spectrum": "$BDNYC_spectra/optical_spectra/U10006_0010-2031.fits",
"regime": "optical",
Expand All @@ -199,22 +199,22 @@
],
"SpectralTypes": [
{
"spectral_type_string": "M8.8:",
"spectral_type_code": 68.8,
"spectral_type_string": "L0",
"spectral_type_code": 70.0,
"spectral_type_error": null,
"regime": "nir",
"regime": "optical",
"adopted": null,
"comments": null,
"reference": "Bard14"
"reference": "Cruz07"
},
{
"spectral_type_string": "L0",
"spectral_type_code": 70.0,
"spectral_type_string": "M8.8:",
"spectral_type_code": 68.8,
"spectral_type_error": null,
"regime": "optical",
"regime": "nir",
"adopted": null,
"comments": null,
"reference": "Cruz07"
"reference": "Bard14"
}
]
}
2 changes: 1 addition & 1 deletion data/2mass_j00110940+5149236.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
],
"Spectra": [
{
"spectrum": "https://s3.amazonaws.com/bdnyc/nir_spectra/U13005.fits",
"access_url": "https://s3.amazonaws.com/bdnyc/nir_spectra/U13005.fits",
"original_spectrum": null,
"local_spectrum": "$BDNYC_spectra/nir_spectra/U13005.fits",
"regime": "nir",
Expand Down
16 changes: 8 additions & 8 deletions data/2mass_j00135882-1816462.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,22 +59,22 @@
],
"SpectralTypes": [
{
"spectral_type_string": "L5 pec",
"spectral_type_code": 75.0,
"spectral_type_string": "L1",
"spectral_type_code": 71.0,
"spectral_type_error": null,
"regime": "nir",
"regime": "optical",
"adopted": null,
"comments": null,
"reference": "Best15"
"reference": "Baro15"
},
{
"spectral_type_string": "L1",
"spectral_type_code": 71.0,
"spectral_type_string": "L5 pec",
"spectral_type_code": 75.0,
"spectral_type_error": null,
"regime": "optical",
"regime": "nir",
"adopted": null,
"comments": null,
"reference": "Baro15"
"reference": "Best15"
}
]
}
Loading

0 comments on commit 7560428

Please sign in to comment.