Changeset 25757 for trunk/Ohana/src/dvomerge
- Timestamp:
- Oct 2, 2009, 3:15:42 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/dvomerge/src/dvomerge.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/dvomerge/src/dvomerge.c
r24750 r25757 24 24 // the first input define the photcode table & db layout 25 25 sprintf (filename, "%s/Photcodes.dat", input1); 26 if (!LoadPhotcodes (filename, NULL )) {26 if (!LoadPhotcodes (filename, NULL, FALSE)) { 27 27 fprintf (stderr, "error loading photcode table %s\n", filename); 28 28 exit (1); … … 30 30 // save the photcodes in the output catdir 31 31 sprintf (filename, "%s/Photcodes.dat", output); 32 if (!check_file_access (filename, TRUE, TRUE )) {32 if (!check_file_access (filename, TRUE, TRUE, TRUE)) { 33 33 fprintf (stderr, "error creating output catdir %s\n", output); 34 34 exit (1); … … 40 40 41 41 // 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); 43 43 SkyTableSetFilenames (insky1, input1, "cpt"); 44 44 45 insky2 = SkyTableLoadOptimal (input2, NULL, NULL, SKY_DEPTH_HST, VERBOSE);45 insky2 = SkyTableLoadOptimal (input2, NULL, NULL, FALSE, SKY_DEPTH_HST, VERBOSE); 46 46 SkyTableSetFilenames (insky2, input2, "cpt"); 47 47 48 48 // 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); 50 50 SkyTableSetFilenames (outsky, output, "cpt"); 51 51 … … 117 117 // save the output sky table copy 118 118 sprintf (filename, "%s/SkyTable.fits", output); 119 check_file_access (filename, TRUE, VERBOSE);119 check_file_access (filename, TRUE, TRUE, VERBOSE); 120 120 if (!SkyTableSave (outsky, filename)) { 121 121 fprintf (stderr, "ERROR: failed to save sky table for %s\n", output);
Note:
See TracChangeset
for help on using the changeset viewer.
