IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 2 and Version 3 of 2MASS,_USNO-B,_SDSS_Merge


Ignore:
Timestamp:
Mar 8, 2009, 11:58:52 AM (17 years ago)
Author:
eugene
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • 2MASS,_USNO-B,_SDSS_Merge

    v2 v3  
    22The 2MASS ingest is the slowest of the bunch: most of the time is spent parsing the free-form catalog files.  We need to use the special 'load2mass' command to upload 2MASS data.  I ran for instances of this command on ipp000, each updating a separate region of the sky (this should be Dec-bands because of the way 2MASS data is stored).  Here is an example for dividing the load across 4 roughly equal area patches:
    33
    4 {{
    5  load2mass -D CATDIR catdir.2mass -v -replace -region 0.0 360.0 -90.0 -30.0
    6  load2mass -D CATDIR catdir.2mass -v -replace -region 0.0 360.0 -30.0   0.0
    7  load2mass -D CATDIR catdir.2mass -v -replace -region 0.0 360.0   0.0 +30.0
    8  load2mass -D CATDIR catdir.2mass -v -replace -region 0.0 360.0 +30.0 +90.0
    9 }}
     4
     5  load2mass -D CATDIR catdir.2mass -v -replace -region 0.0 360.0 -90.0 -30.0
     6  load2mass -D CATDIR catdir.2mass -v -replace -region 0.0 360.0 -30.0   0.0
     7  load2mass -D CATDIR catdir.2mass -v -replace -region 0.0 360.0   0.0 +30.0
     8  load2mass -D CATDIR catdir.2mass -v -replace -region 0.0 360.0 +30.0 +90.0
     9
    1010
    1111The -replace flag means that only a single 2MASS measurement per filter is associated with each object.  The -v flag increases the verbosity.
     
    1414
    1515{{
    16  addstar -D CATDIR 2mass/catdir.merge -cat USNOB -photcode USNO_BLUE -replace -v
    17  addstar -D CATDIR 2mass/catdir.merge -cat USNOB -photcode USNO_RED  -replace -v
    18  addstar -D CATDIR 2mass/catdir.merge -cat USNOB -photcode USNO_N    -replace -v
     16  addstar -D CATDIR 2mass/catdir.merge -cat USNOB -photcode USNO_BLUE -replace -v
     17  addstar -D CATDIR 2mass/catdir.merge -cat USNOB -photcode USNO_RED  -replace -v
     18  addstar -D CATDIR 2mass/catdir.merge -cat USNOB -photcode USNO_N    -replace -v
    1919}}