Exporing the NASA Exoplanet Archive Tables¶
The NASA Exoplanet Archive thoughtfully and painstakingly describes the data columns it contains, as well as how they merge the bazillions of different measurements from different references.
Here, we explore some visualizations of how the Planetary Systems (one row per reference) and Planetary Systems Composite (one row per planet) tables compare to one another, and how the data within those tables fits together. The plots here are designed mostly to help with weird nitty gritty internal decision making for the exoatlas
. These plots are made with love and should not be seen as criticisms of the NASA Exoplanet Archive; the fine folks there do a herculean task to wrangle data from thousands of different papers.
We include these in the documentation because it's useful to see these plots generated regularly as the Exoplanet Archive grows, but we hide it away at the end because we don't explain things particularly well (yet?).
from exoatlas import *
explorer = NASAExoplanetArchiveComparison()
Attempting to freshly download data from https://exoplanetarchive.ipac.caltech.edu/TAP/sync?query=select+*+from+pscomppars+&format=csv This may take a long time, and we're dreadully sorry that we haven't coded in a clever way to tell you how long. Archive tables might be up to a few 100MB, so however long it takes your computer to download that is probably a reasonable-ish amount of time to wait before getting stressed out.
Download successful! Saved file to /Users/zabe0091/Dropbox/zach/code/exoatlas/docs/details/downloads-for-exoatlas/data/nasa-exoplanet-archive-from+pscomppars.txt
Attempting to freshly download data from https://exoplanetarchive.ipac.caltech.edu/TAP/sync?query=select+*+from+ps+&format=csv This may take a long time, and we're dreadully sorry that we haven't coded in a clever way to tell you how long. Archive tables might be up to a few 100MB, so however long it takes your computer to download that is probably a reasonable-ish amount of time to wait before getting stressed out.
Download successful! Saved file to /Users/zabe0091/Dropbox/zach/code/exoatlas/docs/details/downloads-for-exoatlas/data/nasa-exoplanet-archive-from+ps.txt
Are there weird unit problems?¶
Weirdly, for some planets we'll get different answers whether we ingest the planet quantities like mass and radius in Earth units or in Jupiter units. This might be caused by units and/or rounding errors in the papers that got ingested into the archive. It's probably good to be aware of!
explorer.do_units_check()
The parameter 'rad' is off by more than 5.000000% for the 0 planets pl_name ------- simply because of weird rounding and/or Earth-Jupiter unit conversions. []
The parameter 'bmass' is off by more than 5.000000% for the 10 planets pl_name ----------------------- Kepler-51 b Kepler-62 b HR 8799 c Kepler-101 c GJ 667 C f HR 8799 b GJ 667 C e Kepler-406 c 1RXS J160929.1-210524 b HR 8799 d simply because of weird rounding and/or Earth-Jupiter unit conversions. [np.str_('Kepler-51 b'), np.str_('Kepler-62 b'), np.str_('HR 8799 c'), np.str_('Kepler-101 c'), np.str_('GJ 667 C f'), np.str_('HR 8799 b'), np.str_('GJ 667 C e'), np.str_('Kepler-406 c'), np.str_('1RXS J160929.1-210524 b'), np.str_('HR 8799 d')]
Do masses and radii make sense?¶
In the Planetary Systems Composite Parameters table, the archive calculates mass and radius estimates for planets that don't have measurements from an empirical mass-radius relationship. An easy way to remove those theoretical estimates, is to eliminate values that don't have finite uncertainties associated with them. All measurements should have uncertainties! I believe this cut also removes some upper/lower limits (but don't quote me on that, yet).
explorer.do_mass_radius_check()
Are stellar luminosities, radii, and effective temperatures consistent?¶
By definition, it should be the case that for all stars the luminosity $L$ is exactly linked to its radius $R$ and effective temperature $T_{eff}$ as $$L = 4\pi R^2 \sigma T_{eff}^4$$ Is that true? No! Fascinatingly, there are a bunch of stars (mostly in the ps
tables) that have $log_{10}(L/L_\odot)$ listed as exactly 1, regardless of reasonable radii and effective temperatures defined. Fortunately, most of those disappear when we filter out values that don't have uncertainties associated with them (= likely values from the TESS or Kepler input catalogs, one might wonder?).
However, there are lots of stars that apparently have measurements (= existing uncertainties) of all three of $L, R, T_{eff}$ but yet have inconsistencies that amount to a factor of 2 in the inferred luminosity. It might be worth digging in a little more to see what sorts of systems they are and if there's anything we can do to improve the situation. In the meantime, we should probably be a smidge wary of exact stellar parameters!
explorer.do_luminosity_check()
What's in which table?¶
First, let's take a few parameters to see how the contents of the Planetary Systems Composite Parameters table to the complete contents of the Planetary Systems table from which it is derived. Entirely (and foolishly) negelecting uncertainties on values and which values are limits, let's make some plots indicating the complete set of values that appear in ps
for each planet + parameter in pscomppars
.
explorer.do_completeness_check()
/Users/zabe0091/Dropbox/zach/code/exoatlas/exoatlas/populations/exoplanets/exoplanet_archive_comparisons.py:95: RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`). Consider using `matplotlib.pyplot.close()`. fi, ax = plt.subplots(