IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 31173


Ignore:
Timestamp:
Apr 5, 2011, 11:14:11 AM (15 years ago)
Author:
bills
Message:

Set photcode table to the output photcodes before saving the new file.
Remove commented out old code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/dvomerge/src/dvomergeCreate.c

    r29938 r31173  
    9393
    9494  // save the output photcodes in the output catdir
    95   // SetPhotcodeTable(outputPhotcodes);
     95  SetPhotcodeTable(outputPhotcodes);
    9696  sprintf (filename, "%s/Photcodes.dat", output);
    9797  if (!check_file_access (filename, TRUE, TRUE, VERBOSE)) {
     
    129129    if (VERBOSE) fprintf (stderr, "output: %s\n", outsky[0].regions[i].name);
    130130
    131     // if (outputPhotcodes) {
    132     //     SetPhotcodeTable(outputPhotcodes);
    133     // }
    134131    // load / create output catalog
    135132    LoadCatalog (&outcatalog, &outsky[0].regions[i], outsky[0].filename[i], "w", NsecfiltOutput);
    136133
    137     // if (input1Photcodes) {
    138     // SetPhotcodeTable(input1Photcodes);
    139     // }
    140134    // combine only tables at equal or larger depth
    141135     
     
    161155    SkyListFree (inlist);
    162156
    163     // if (input2Photcodes) {
    164     //   SetPhotcodeTable(input2Photcodes);
    165     // }
    166 
    167157    // load in all of the tables from input2 for this region
    168158    inlist = SkyListByBounds (insky2, depth2, outsky[0].regions[i].Rmin, outsky[0].regions[i].Rmax, outsky[0].regions[i].Dmin, outsky[0].regions[i].Dmax);
Note: See TracChangeset for help on using the changeset viewer.