added NaN detection when prepare to write a fits table row to db, send db value of 'NaN'
added NaN detection when prepare to write a fits table row to db, send db value of 'NaN'

desihub/desitarget,desihub/desitarget