File tree 1 file changed +5
-1
lines changed
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):
235
235
neocc_lst ['Date' ] = Time (neocc_lst ['Date' ], scale = "utc" )
236
236
neocc_lst ["Diameter in m" ] = neocc_lst ["Diameter in m" ].astype (float )
237
237
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
+
238
241
neocc_lst .meta = {'Object Name' : 'name of the NEA' ,
239
242
'Date' : 'close approach date in datetime format' ,
240
243
'Miss distance in km' : 'miss distance in kilometers with precision of 1 km' ,
@@ -244,7 +247,8 @@ def parse_clo(resp_str):
244
247
'*=Yes' : 'recording an asterisk if the value has been estimated from the absolute magnitude' ,
245
248
'H' : 'Absolute Magnitude' ,
246
249
'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' }
248
252
249
253
return neocc_lst
250
254
You can’t perform that action at this time.
0 commit comments