Skip to content

Commit

Permalink
Merge pull request #3188 from rickynilsson/fix_issue_3187
Browse files Browse the repository at this point in the history
Fix issue 3187: Missing unit strings in UNIT_MAPPER for ipac.nexsci.nasa_exoplanet_archive
  • Loading branch information
bsipocz authored Jan 23, 2025
2 parents 020702b + 24bcb2d commit ce23722
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
-------------------------------------------------------
Expand Down
3 changes: 3 additions & 0 deletions astroquery/ipac/nexsci/nasa_exoplanet_archive/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit ce23722

Please sign in to comment.