File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments