Skip to content

Commit ce23722

Browse files
authored
Merge pull request #3188 from rickynilsson/fix_issue_3187
Fix issue 3187: Missing unit strings in UNIT_MAPPER for ipac.nexsci.nasa_exoplanet_archive
2 parents 020702b + 24bcb2d commit ce23722

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

CHANGES.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ simbad
6969

7070
- Fixed non existing flux filters as votable fields would fail silently [#3186]
7171

72+
ipac.nexsci.nasa_exoplanet_archive
73+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
74+
75+
- Add missing unit strings to unit mapper. ``micron``, ``microns``, and ``uas``. [#3188]
76+
7277

7378
Infrastructure, Utility and Other Changes and Additions
7479
-------------------------------------------------------

astroquery/ipac/nexsci/nasa_exoplanet_archive/core.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939
"BKJD": None, # TODO: optionally support mapping columns to Time objects
4040
"D_L": u.pc,
4141
"D_S": u.pc,
42+
"micron": u.um,
43+
"microns": u.um,
4244
"Earth flux": u.L_sun / (4 * np.pi * u.au**2),
4345
"Earth Flux": u.L_sun / (4 * np.pi * u.au**2),
4446
"Fearth": u.L_sun / (4 * np.pi * u.au**2),
@@ -73,6 +75,7 @@
7375
"log(Solar)": u.dex(u.L_sun),
7476
"mags": u.mag,
7577
"microas": u.uas,
78+
"uas": u.uas,
7679
"perc": u.percent,
7780
"pi_E": None,
7881
"pi_EE": None,

0 commit comments

Comments
 (0)