'Error,no dec data in the input galaxy data file ')
'Error,no ra or dec data in the input galaxy data file ')
raise ValueError(
'Error,no dec data in the input galaxy data file ')
'Error,no ra or dec data in the input galaxy data file ')
if srcs_cat[kkk].header['new_ra'] > 360 or srcs_cat[kkk].header['new_ra'] < 0 or srcs_cat[kkk].header['new_dec'] > 90 or srcs_cat[kkk].header['new_dec'] < -90: