From 945065ae56d9d9fdefdec66bd53f6d3f8c8f2d1a Mon Sep 17 00:00:00 2001 From: Ricky Nilsson Date: Thu, 23 Jan 2025 11:04:52 -0800 Subject: [PATCH 1/2] Add missing unit strings to unit mapper. --- astroquery/ipac/nexsci/nasa_exoplanet_archive/core.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/astroquery/ipac/nexsci/nasa_exoplanet_archive/core.py b/astroquery/ipac/nexsci/nasa_exoplanet_archive/core.py index ba04a76ede..0a23ebac80 100644 --- a/astroquery/ipac/nexsci/nasa_exoplanet_archive/core.py +++ b/astroquery/ipac/nexsci/nasa_exoplanet_archive/core.py @@ -39,6 +39,8 @@ "BKJD": None, # TODO: optionally support mapping columns to Time objects "D_L": u.pc, "D_S": u.pc, + "micron": u.um, + "microns": u.um, "Earth flux": u.L_sun / (4 * np.pi * u.au**2), "Earth Flux": u.L_sun / (4 * np.pi * u.au**2), "Fearth": u.L_sun / (4 * np.pi * u.au**2), @@ -73,6 +75,7 @@ "log(Solar)": u.dex(u.L_sun), "mags": u.mag, "microas": u.uas, + "uas": u.uas, "perc": u.percent, "pi_E": None, "pi_EE": None, From 24bcb2d1919abed9e765368ff72b1b08b841108d Mon Sep 17 00:00:00 2001 From: Ricky Nilsson Date: Thu, 23 Jan 2025 11:13:30 -0800 Subject: [PATCH 2/2] Update change log. --- CHANGES.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGES.rst b/CHANGES.rst index e2c387e131..07f7b054f2 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -69,6 +69,11 @@ simbad - Fixed non existing flux filters as votable fields would fail silently [#3186] +ipac.nexsci.nasa_exoplanet_archive +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +- Add missing unit strings to unit mapper. ``micron``, ``microns``, and ``uas``. [#3188] + Infrastructure, Utility and Other Changes and Additions -------------------------------------------------------