Skip to content

Commit

Permalink
Add CAI description & Fix close approach parsing for impacted objects
Browse files Browse the repository at this point in the history
  • Loading branch information
XePeleato committed Dec 9, 2024
1 parent 0d13652 commit c3398f0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion astroquery/esa/neocc/lists.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,9 @@ def parse_clo(resp_str):
neocc_lst['Date'] = Time(neocc_lst['Date'], scale="utc")
neocc_lst["Diameter in m"] = neocc_lst["Diameter in m"].astype(float)

neocc_lst['Max Bright'] = [np.nan if val == '-' else val for val in neocc_lst['Max Bright']]
neocc_lst['Max Bright'] = neocc_lst['Max Bright'].astype(float)

neocc_lst.meta = {'Object Name': 'name of the NEA',
'Date': 'close approach date in datetime format',
'Miss distance in km': 'miss distance in kilometers with precision of 1 km',
Expand All @@ -244,7 +247,8 @@ def parse_clo(resp_str):
'*=Yes': 'recording an asterisk if the value has been estimated from the absolute magnitude',
'H': 'Absolute Magnitude',
'Max Bright': 'Maximum brightness at close approach',
'Rel. vel in km/s': 'relative velocity in km/s'}
'Rel. vel in km/s': 'relative velocity in km/s',
'CAI Index': 'Close Approach Index, indicating how rare the close approach is'}

return neocc_lst

Expand Down

0 comments on commit c3398f0

Please sign in to comment.