IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 5133


Ignore:
Timestamp:
Sep 25, 2005, 10:28:50 PM (21 years ago)
Author:
eugene
Message:

slightly sleazy change to set CATDIR for 2MASS

Location:
trunk/Ohana/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/gastro2/src/greference2.c

    r2442 r5133  
    1010
    1111  Ref[0].N = 0;
    12   /* get stars from the USNO catalog for the given region */
     12  /* get stars from the USNO A catalog for the given region */
    1313  if (!strcmp (REFCAT, "USNO")) {
    1414    getusno (&catstats, Ref);
     
    2121  }
    2222 
    23   /* get stars from the HST GSC catalog for the given region */
     23  /* get stars from 2MASS for the given region -- add PHOTCODE check? */
    2424  if (!strcmp (REFCAT, "2MASS")) {
    25     get2mass (&catstats, Ref);
     25    strcpy (CATDIR, TWO_MASS_DIR);
     26    getptolemy (&catstats, Ref);
     27    /* get2mass (&catstats, Ref); */
    2628  }
    2729 
    28   /* get stars from the HST GSC catalog for the given region */
     30  /* get stars from the DVO CATDIR for the given region */
    2931  if (!strcmp (REFCAT, "PTOLEMY")) {
    3032    getptolemy (&catstats, Ref);
  • trunk/Ohana/src/mosastro/src/greference.c

    r3401 r5133  
    2323  }
    2424
    25   /* get stars from the USNO catalog for the given region */
     25  /* get stars from the USNO A catalog for the given region */
    2626  if (!strcmp (REFCAT, "USNO")) {
    2727    stars = getusno (&catstats, &Nstars);
     
    3333  }
    3434 
    35   /* get stars from the HST GSC catalog for the given region */
     35  /* get stars from 2MASS for the given region -- add PHOTCODE check? */
    3636  if (!strcmp (REFCAT, "2MASS")) {
    37     stars = get2mass (&catstats, &Nstars);
     37    strcpy (CATDIR, TWO_MASS_DIR);
     38    stars = getptolemy (&catstats, &Nstars);
     39    /* stars = get2mass (&catstats, &Nstars); */
    3840  }
    3941 
    40   /* get stars from the HST GSC catalog for the given region */
     42  /* get stars from the DVO CATDIR for the given region */
    4143  if (!strcmp (REFCAT, "PTOLEMY")) {
    4244    stars = getptolemy (&catstats, &Nstars);
Note: See TracChangeset for help on using the changeset viewer.