Changeset 38986 for trunk/Ohana/src/addstar/src/loadsupercos.c
- Timestamp:
- Oct 27, 2015, 4:49:06 PM (11 years ago)
- Location:
- trunk/Ohana
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/addstar/src/loadsupercos.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana
-
Property svn:mergeinfo
set to
/branches/eam_branches/ipp-20150625/Ohana merged eligible
-
Property svn:mergeinfo
set to
-
trunk/Ohana/src/addstar/src/loadsupercos.c
r38441 r38986 15 15 int i, status; 16 16 SkyTable *sky; 17 SkyList *skylist = NULL;18 17 AddstarClientOptions options; 19 18 FITS_DB db; 20 19 21 20 // need to construct these options with args_loadWISE... 21 SetSignals (); 22 22 options = ConfigInit (&argc, argv); 23 23 options = args_loadsupercos (&argc, argv, options); … … 27 27 SkyTableSetFilenames (sky, CATDIR, "cpt"); 28 28 29 // generate the subset matching the user-selected region30 skylist = SkyListByPatch (sky, -1, &UserPatch);31 32 // if we only match to existing (already populated) regions, limit the select to those regions:33 if (options.existing_regions) {34 SkyList *tmp;35 tmp = SkyListExistingSubset (skylist, CATDIR);36 SkyListFree (skylist);37 skylist = tmp;38 }39 40 29 // load the images table (needed regardless) 41 30 int Nsurvey = 0; … … 68 57 for (i = 3; i < argc; i++) { 69 58 fprintf (stderr, "loading %s\n", argv[i]); 70 loadsupercos_rawdata (image, imlist, Nimage, sky list, argv[i], options);59 loadsupercos_rawdata (image, imlist, Nimage, sky, argv[i], options); 71 60 } 72 61 exit (0);
Note:
See TracChangeset
for help on using the changeset viewer.
