mommermi / photometrypipeline

automated photometry pipeline for small to medium-sized observatories
GNU General Public License v3.0
62 stars 26 forks source link

APASS9 to z' fails #9

Closed boada closed 7 years ago

boada commented 7 years ago

Photometric calibration fails on the z' band.

----- run photometric calibration

(26152, 25) (sources, columns) read from Hilt3z.fits query Vizier for SDSS-R9 at 6.988/ +64.096 in a 0.82 deg radius no data available from SDSS-R9 0 sources downloaded from SDSS-R9 query Vizier for APASS9 at 6.988/ +64.096 in a 0.82 deg radius 1403 sources retrieved. 1403 sources downloaded from APASS9 ERROR: no transformation from APASS9 to z available Traceback (most recent call last): File "/home/boada/Projects/photometrypipeline/pp_run", line 392, in fixed_aprad, source_tolerance) File "/home/boada/Projects/photometrypipeline/pp_run", line 276, in run_the_pipeline diagnostics=True) File "/home/boada/Projects/photometrypipeline/pp_calibrate.py", line 421, in calibrate max_sources=2e4, display=display) File "/home/boada/Projects/photometrypipeline/pp_calibrate.py", line 107, in create_photometrycatalog cat['e'+filtername+'mag'] > mag_accuracy) File "/home/boada/Projects/photometrypipeline/catalog.py", line 101, in getitem return self.data[ident] File "/home/boada/.local/lib/python2.7/site-packages/astropy/table/table.py", line 1196, in getitem return self.columns[item] File "/home/boada/.local/lib/python2.7/site-packages/astropy/table/table.py", line 109, in getitem return OrderedDict.getitem(self, item) KeyError: '_e_zmag'

mommermi commented 7 years ago

The problem is that there is no transformation between griBV to z band. However, there is a transformation from 2MASS to UKIRT Z band (also known as MKO Z). I am not sure if UKIRT Z is the same as SDSS z; if so, I could implement that...


Michael Mommert, Research Associate Northern Arizona University, Department of Physics and Astronomy PO Box 6010 Flagstaff, AZ 86011 michaelmommert.wordpress.com +1-928-523-5595

On Fri, Feb 10, 2017 at 2:16 PM, Steven Boada notifications@github.com wrote:

`----- run photometric calibration

(26152, 25) (sources, columns) read from Hilt3z.fits query Vizier for SDSS-R9 at 6.988/ +64.096 in a 0.82 deg radius no data available from SDSS-R9 0 sources downloaded from SDSS-R9 query Vizier for APASS9 at 6.988/ +64.096 in a 0.82 deg radius 1403 sources retrieved. 1403 sources downloaded from APASS9 ERROR: no transformation from APASS9 to z available Traceback (most recent call last): File "/home/boada/Projects/photometrypipeline/pp_run", line 392, in fixed_aprad, source_tolerance) File "/home/boada/Projects/photometrypipeline/pp_run", line 276, in run_the_pipeline diagnostics=True) File "/home/boada/Projects/photometrypipeline/pp_calibrate.py", line 421, in calibrate max_sources=2e4, display=display) File "/home/boada/Projects/photometrypipeline/pp_calibrate.py", line 107, in create_photometrycatalog cat['e'+filtername+'mag'] > mag_accuracy) File "/home/boada/Projects/photometrypipeline/catalog.py", line 101, in getitem return self.data[ident] File "/home/boada/.local/lib/python2.7/site-packages/astropy/table/table.py", line 1196, in getitem return self.columns[item] File "/home/boada/.local/lib/python2.7/site-packages/astropy/table/table.py", line 109, in getitem return OrderedDict.getitem(self, item) KeyError: '_e_zmag' `

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mommermi/photometrypipeline/issues/9, or mute the thread https://github.com/notifications/unsubscribe-auth/APzIPdiTJMvcaZoHwxOy9vPtg99yhoFoks5rbNOlgaJpZM4L93M9 .

boada commented 7 years ago

Hmmm.. I'll look into the difference between UKIRT Z and SDSS z'.

boada commented 7 years ago

The UKIRT z' band is quite a bit different that the SDSS z' band. I suppose I'll just have to figure out some other way of getting my stuff calibrated for that band. Something that might be worth considering is PanSTARRS. They have released their 1st set of data, and they include an SDSS z'. It doesn't look like their catalog is available on ViZIER. I think it's on MAST.

http://archive.stsci.edu/panstarrs/search.php

With a quick look, I didn't see any way of remote SQL searches. But that doesn't mean it isn't there.

mommermi commented 7 years ago

There is an API to access the MAST data and I started working on a script to download Pan-STARRS data: https://michaelmommert.wordpress.com/2017/02/13/accessing-the-gaia-and-pan-starrs-catalogs-using-python/

However, the download takes forever and is limited to 0.5 deg radius queries. I was hoping that vizier would duplicate the Pan-STARRS catalog, but is probably not going to happen. I will look into this as I would like to use Pan-STARRS as a default photometric catalog in the future.

boada commented 7 years ago

This can be closed.