Changeset 37394
- Timestamp:
- Sep 13, 2014, 8:59:46 AM (12 years ago)
- Location:
- branches/eam_branches/ipp-20140904/Ohana/src/addstar/src
- Files:
-
- 2 added
- 1 edited
-
args_loadstarpar.c (added)
-
loadstarpar.c (modified) (3 diffs)
-
loadstarpar_rawdata.c (added)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140904/Ohana/src/addstar/src/loadstarpar.c
r37392 r37394 3 3 4 4 /* This is the DVO program to upload Greg Green's stellar parametersq into a DVO database. 5 It is modeled on the load 2mass program, but unlike that case, it is expected to be run only6 rarely (once?). The WISE data are delivered as *.bz2 files. This program assumes the files7 have been decompressed. It does not allow a subset of the sky to be uploaded; entire WISE8 files are loaded if supplied on thecommand 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. 9 9 10 USAGE: loadwise -D CATDIR (catdir) (wisefile) [...more files] 11 10 USAGE: loadstarpar -D CATDIR (catdir) (file.fits) [...more files] 12 11 */ 13 12 … … 19 18 AddstarClientOptions options; 20 19 21 // need to construct these options with args_load WISE...20 // need to construct these options with args_loadstarpar... 22 21 options = ConfigInit (&argc, argv); 23 options = args_load wise(argc, argv, options);22 options = args_loadstarpar (argc, argv, options); 24 23 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); 27 26 SkyTableSetFilenames (sky, CATDIR, "cpt"); 28 27 … … 40 39 for (i = 1; i < argc; i++) { 41 40 fprintf (stderr, "loading %s\n", argv[i]); 42 load wise_rawdata (skylist, argv[i], options, ALLSKY);41 loadstarpar_rawdata (skylist, argv[i], options, ALLSKY); 43 42 } 44 43 exit (0);
Note:
See TracChangeset
for help on using the changeset viewer.
