Skip to content

Commit 6fe0dbb

Browse files
committed
Add CAI description & Fix close approach parsing for impacted objects
1 parent 0ea5403 commit 6fe0dbb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

astroquery/esa/neocc/lists.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,9 @@ def parse_clo(resp_str):
235235
neocc_lst['Date'] = Time(neocc_lst['Date'], scale="utc")
236236
neocc_lst["Diameter in m"] = neocc_lst["Diameter in m"].astype(float)
237237

238+
neocc_lst['Max Bright'] = [np.nan if val == '-' else val for val in neocc_lst['Max Bright']]
239+
neocc_lst['Max Bright'] = neocc_lst['Max Bright'].astype(float)
240+
238241
neocc_lst.meta = {'Object Name': 'name of the NEA',
239242
'Date': 'close approach date in datetime format',
240243
'Miss distance in km': 'miss distance in kilometers with precision of 1 km',
@@ -244,7 +247,8 @@ def parse_clo(resp_str):
244247
'*=Yes': 'recording an asterisk if the value has been estimated from the absolute magnitude',
245248
'H': 'Absolute Magnitude',
246249
'Max Bright': 'Maximum brightness at close approach',
247-
'Rel. vel in km/s': 'relative velocity in km/s'}
250+
'Rel. vel in km/s': 'relative velocity in km/s',
251+
'CAI Index': 'Close Approach Index, indicating how rare the close approach is'}
248252

249253
return neocc_lst
250254

0 commit comments

Comments
 (0)