If we have periods > 10^9 days, the epochs array of results.plot_orbit is unable to convert from MJD to decimal error due to an issue with astropy.time. This is so far in the future that we should catch this error and limit the colorbar to be between some reasonable dates.
Reproduction:
Run the RV MCMC Tutorial Notebook and the plot_orbit will throw an error because we have some really long periods.
If we have periods > 10^9 days, the
epochs
array ofresults.plot_orbit
is unable to convert from MJD to decimal error due to an issue withastropy.time
. This is so far in the future that we should catch this error and limit the colorbar to be between some reasonable dates.Reproduction: Run the RV MCMC Tutorial Notebook and the plot_orbit will throw an error because we have some really long periods.