IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 27, 2015, 4:49:06 PM (11 years ago)
Author:
eugene
Message:

extensive work on relphot, relastro, uniphot, dvomerge aiming to the construction and calibration of PV3

Location:
trunk/Ohana
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana

  • trunk/Ohana/src/addstar/src/loadsupercos.c

    r38441 r38986  
    1515  int i, status;
    1616  SkyTable *sky;
    17   SkyList *skylist = NULL;
    1817  AddstarClientOptions options;
    1918  FITS_DB db;
    2019
    2120  // need to construct these options with args_loadWISE...
     21  SetSignals ();
    2222  options = ConfigInit (&argc, argv);
    2323  options = args_loadsupercos (&argc, argv, options);
     
    2727  SkyTableSetFilenames (sky, CATDIR, "cpt");
    2828 
    29   // generate the subset matching the user-selected region
    30   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 
    4029  // load the images table (needed regardless)
    4130  int Nsurvey = 0;
     
    6857  for (i = 3; i < argc; i++) {
    6958      fprintf (stderr, "loading %s\n", argv[i]);
    70       loadsupercos_rawdata (image, imlist, Nimage, skylist, argv[i], options);
     59      loadsupercos_rawdata (image, imlist, Nimage, sky, argv[i], options);
    7160  }
    7261  exit (0);
Note: See TracChangeset for help on using the changeset viewer.