IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 2, 2009, 3:15:42 PM (17 years ago)
Author:
eugene
Message:

various dvo and other improvements from gene@dev branch

File:
1 edited

Legend:

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

    r24750 r25757  
    2424  // the first input define the photcode table & db layout
    2525  sprintf (filename, "%s/Photcodes.dat", input1);
    26   if (!LoadPhotcodes (filename, NULL)) {
     26  if (!LoadPhotcodes (filename, NULL, FALSE)) {
    2727    fprintf (stderr, "error loading photcode table %s\n", filename);
    2828    exit (1);
     
    3030  // save the photcodes in the output catdir
    3131  sprintf (filename, "%s/Photcodes.dat", output);
    32   if (!check_file_access (filename, TRUE, TRUE)) {
     32  if (!check_file_access (filename, TRUE, TRUE, TRUE)) {
    3333    fprintf (stderr, "error creating output catdir %s\n", output);
    3434    exit (1);
     
    4040
    4141  // load the sky table for the existing database
    42   insky1 = SkyTableLoadOptimal (input1, NULL, NULL, SKY_DEPTH_HST, VERBOSE);
     42  insky1 = SkyTableLoadOptimal (input1, NULL, NULL, FALSE, SKY_DEPTH_HST, VERBOSE);
    4343  SkyTableSetFilenames (insky1, input1, "cpt");
    4444
    45   insky2 = SkyTableLoadOptimal (input2, NULL, NULL, SKY_DEPTH_HST, VERBOSE);
     45  insky2 = SkyTableLoadOptimal (input2, NULL, NULL, FALSE, SKY_DEPTH_HST, VERBOSE);
    4646  SkyTableSetFilenames (insky2, input2, "cpt");
    4747
    4848  // generate an output table populated at the desired depth
    49   outsky = SkyTableLoadOptimal (output, NULL, GSCFILE, SKY_DEPTH, VERBOSE);
     49  outsky = SkyTableLoadOptimal (output, NULL, GSCFILE, TRUE, SKY_DEPTH, VERBOSE);
    5050  SkyTableSetFilenames (outsky, output, "cpt");
    5151
     
    117117  // save the output sky table copy
    118118  sprintf (filename, "%s/SkyTable.fits", output);
    119   check_file_access (filename, TRUE, VERBOSE);
     119  check_file_access (filename, TRUE, TRUE, VERBOSE);
    120120  if (!SkyTableSave (outsky, filename)) {
    121121    fprintf (stderr, "ERROR: failed to save sky table for %s\n", output);
Note: See TracChangeset for help on using the changeset viewer.