File tree Expand file tree Collapse file tree 1 file changed +3
-13
lines changed
Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change 7070obs_times = Time (obs_df ['obsTime' ].to_list (), format = 'isot' , scale = 'utc' )
7171obs_df ['obsTimeMJD' ] = obs_times .utc .mjd
7272obs_df ['obsTimeMJDTDB' ] = obs_times .tdb .mjd
73- if 'deprecated' in obs_df :
74- # drop rows with deprecated discovery observations
75- obs_df .query ("deprecated != 'x' and deprecated != 'X'" , inplace = True )
76- # # add columns if they are not present
77- # str_cols = ['trx', 'rcv', 'sys', 'selAst']
78- # for col in str_cols:
79- # if col not in obs_df:
80- # obs_df[col] = str(np.nan)
81- # for col in ades_column_types:
82- # if col not in obs_df:
83- # obs_df[col] = np.nan
84- # # remove any columns that are not in ades_column_types
85- # obs_df = obs_df[ades_column_types.keys()]
73+ # if 'deprecated' in obs_df:
74+ # # drop rows with deprecated discovery observations
75+ # obs_df.query("deprecated != 'x' and deprecated != 'X'", inplace=True)
You can’t perform that action at this time.
0 commit comments