Skip to content

Commit

Permalink
Update _get_data.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sshah1502 committed Apr 17, 2023
1 parent 359a7a3 commit ec8bee6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/irgsctool/_get_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from astroquery.ukidss import Ukidss
from astroquery.gaia import Gaia
from astropy.coordinates import SkyCoord
from astropy.coordinates import ICRS
import astropy.units as u

header = ['objid, RAMean, RAMeanErr, DecMean, DecMeanErr, gPSFMag, \
Expand Down Expand Up @@ -106,6 +107,8 @@ def get_gaia_data(self):
#for table in (tables):
#print (table.get_qualified_name())
coord = SkyCoord(ra=self.ra, dec=self.dec, unit=(u.degree, u.degree), frame='icrs')
sc = SkyCoord(ra=self.ra, dec=self.dec, unit=(u.degree, u.degree), frame='icrs', equinox='J2000.0')
coord.transform_to(sc)
Gaia.MAIN_GAIA_TABLE = "gaiadr3.gaia_source"
Gaia.ROW_LIMIT = -1
try:
Expand Down

0 comments on commit ec8bee6

Please sign in to comment.