IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 37394


Ignore:
Timestamp:
Sep 13, 2014, 8:59:46 AM (12 years ago)
Author:
eugene
Message:

working on loadstarpar

Location:
branches/eam_branches/ipp-20140904/Ohana/src/addstar/src
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20140904/Ohana/src/addstar/src/loadstarpar.c

    r37392 r37394  
    33
    44/* This is the DVO program to upload Greg Green's stellar parametersq into a DVO database.
    5    It is modeled on the load2mass program, but unlike that case, it is expected to be run only
    6    rarely (once?).  The WISE data are delivered as *.bz2 files.  This program assumes the files
    7    have been decompressed.  It does not allow a subset of the sky to be uploaded; entire WISE
    8    files are loaded if supplied on the command line.
     5   It is modeled on the loadwise program and is expected to be run only rarely (once?).
     6   The stellar parameter data are delivered as *.fits files.  It does not allow a subset
     7   of the sky to be uploaded; entire stellar parameter files are loaded if supplied on the
     8   command line.
    99
    10    USAGE: loadwise -D CATDIR (catdir) (wisefile) [...more files]
    11 
     10   USAGE: loadstarpar -D CATDIR (catdir) (file.fits) [...more files]
    1211 */
    1312
     
    1918  AddstarClientOptions options;
    2019
    21   // need to construct these options with args_loadWISE...
     20  // need to construct these options with args_loadstarpar...
    2221  options = ConfigInit (&argc, argv);
    23   options = args_loadwise (argc, argv, options);
     22  options = args_loadstarpar (argc, argv, options);
    2423
    25   // load the full sky description table:
    26   sky = SkyTableLoadOptimal (CATDIR, SKY_TABLE, GSCFILE, TRUE, SKY_DEPTH, VERBOSE);
     24  // load the full sky description table (dvodb must exist)
     25  sky = SkyTableLoadOptimal (CATDIR, SKY_TABLE, GSCFILE, FALSE, SKY_DEPTH, VERBOSE);
    2726  SkyTableSetFilenames (sky, CATDIR, "cpt");
    2827 
     
    4039  for (i = 1; i < argc; i++) {
    4140      fprintf (stderr, "loading %s\n", argv[i]);
    42       loadwise_rawdata (skylist, argv[i], options, ALLSKY);
     41      loadstarpar_rawdata (skylist, argv[i], options, ALLSKY);
    4342  }
    4443  exit (0);
Note: See TracChangeset for help on using the changeset viewer.