ps1_setup
Last updated: Jul 04,2018

Step through the process of setting up the gri data file in ./local_red/ZPTAB for use in the derivation of photometric ZP values.

  
% rd_repeats_ps1_setup.sh --help

Usage: ps1_setup Y
arg1 - run in debug mode (Y/N)

IMPOTANT NOTE: 
You must run this routine at the ./local_red level. For example, if I 
am running photcal_fitslist at /home/sco/N3379/T2, then this where I 
will execute ps1_setup so that the ./local_red archive files can be 
accessed. 


PS1 refers to the first data release of PanSTARRS. I will send the file "find.PanSTARRS" to a PS1 webtool to collect available gri photometry in the aperture positions marked in the previous section. The figure below gives the URL for this PS1 tool. I show some typical seetings. It is my goal to eventually find a puely command-line driven method for this step.



The query page I used to pull data in a find.PanSTARRS file. The returned file is shown below.

URL for this page is: https://archive.stsci.edu/panstarrs/search.php?form=fuf
I used the Browse button to navigate to my "find.PanSTARRS" file.

Important points to note:
  - use "Suppress null result message"
  - use degree ra,dec
  - use space spearated values on output
  - use search radius (per star) of 0.0333' (2")

After I hit the "Search" button I usually have to wait a few seconds before
a downloads pop-up box appears.  I can retrieve the retruned PS1 data file
with a command like:
% mv ~sco/Downloads/panstarrs_search.txt panstarrs_search.list 
% cat panstarrs_search.list 
raMean decMean gMeanPSFMag gMeanPSFMagErr rMeanPSFMag rMeanPSFMagErr iMeanPSFMag iMeanPSFMagErr
ra dec float float float float float float
163.7663291 5.4600063 17.349 0.005 16.139 0.005 15.100 0.002
163.7837866 5.4121244 14.138 0.005 13.822 0.004 13.749 0.001
163.7675708 5.4584708 17.430 0.006 17.542 0.006 17.716 0.004
163.7684212 5.4411560 18.733 0.009 17.988 0.005 17.705 0.003
163.7817986 5.4379801 18.826 0.005 17.946 0.004 17.582 0.003
163.7818405 5.4569644 19.953 0.011 18.757 0.005 17.669 0.006
163.7963309 5.4358980 19.543 0.010 18.362 0.005 17.770 0.004
163.7991610 5.4381320 18.665 0.010 17.513 0.005 16.686 0.002


The next step will be to take the above PanSTARRS file (panstarrs_search.list) and create a cdfp file. Then I can use this to cross-match to my image.cdfp files stored in the ./local_red/ZPTAB storgae directory. I have a routine for positionally cross-matching two cdfp files (cdfpmatI.sh is a pretty fast OTW code).

Hoepfully I will develop a fully autometed meand of performing this query. For now, here is a quick list of things to remember as you make the manual query.

  1. Use the "Browse" button to navigate to the "find.PanSTARRS" file.
  2. Set the "Delemiter" value to ","
  3. Set the "Radius (arcmin)" to a value near 0.03333 (2 arcsec).
  4. Set "Diplsay Coordinates" to "Degrees".
  5. Set "Search Output Format" to "File: space-separated values"
  6. Click the button for "Suppress null result message"



Back to SCO code page