- Timestamp:
- Feb 22, 2021, 8:56:29 AM (5 years ago)
- Location:
- trunk/Ohana/src/dvosplit
- Files:
-
- 3 deleted
- 1 edited
-
src/dvosplit.c (modified) (3 diffs)
-
test/.dvo (deleted)
-
test/catdir.example/.dvo (deleted)
-
test/catdir.example/.mana (deleted)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/dvosplit/src/dvosplit.c
r41429 r41501 9 9 int i, j, OUT_DEPTH; 10 10 SkyTable *sky; 11 SkyList *skylist, *outlist; 11 SkyList *skylist = NULL; 12 SkyList *outlist = NULL; 12 13 Catalog incatalog, *outcatalogs; 13 14 char *filename, *CATDIR; … … 70 71 if (LocalCopy && (skylist[0].regions[i][0].depth == OUT_DEPTH)) continue; 71 72 73 // find the list of output filenames (do not yet open) 74 // we need to check if we have already done the split 75 76 // change sky.regions[i].depth for these regions 77 // outlist = SkyListByPatch (sky, OUT_DEPTH, skylist[0].regions[i]); 78 outlist = SkyListChildrenByBounds (sky, skylist[0].regions[i][0].index, OUT_DEPTH, 79 skylist[0].regions[i][0].Rmin + 0.01, skylist[0].regions[i][0].Rmax - 0.01, 80 skylist[0].regions[i][0].Dmin + 0.01, skylist[0].regions[i][0].Dmax - 0.01 ); 81 82 // Modify the outlist filenames to match the output directory. Note that the 83 // filenames are now owned by the list (and are not freed by SkyListFree) 84 SkyListSetFilenames (outlist, OUTDIR, "cpt"); 85 72 86 if (SKIP_EXIST) { 73 87 int allFound = TRUE; … … 105 119 continue; 106 120 } 107 108 // find the list of output filenames (do not yet open)109 // we need to check if we have already done the split110 111 // change sky.regions[i].depth for these regions112 // outlist = SkyListByPatch (sky, OUT_DEPTH, skylist[0].regions[i]);113 outlist = SkyListChildrenByBounds (sky, skylist[0].regions[i][0].index, OUT_DEPTH,114 skylist[0].regions[i][0].Rmin + 0.01, skylist[0].regions[i][0].Rmax - 0.01,115 skylist[0].regions[i][0].Dmin + 0.01, skylist[0].regions[i][0].Dmax - 0.01 );116 117 // Modify the outlist filenames to match the output directory. Note that the118 // filenames are now owned by the list (and are not freed by SkyListFree)119 SkyListSetFilenames (outlist, OUTDIR, "cpt");120 121 121 122 // inherit the input catalog's format and mode (unless overridden)
Note:
See TracChangeset
for help on using the changeset viewer.
