Changeset 12806 for trunk/psastro/src/psastroLoadRefstars.c
- Timestamp:
- Apr 11, 2007, 1:59:28 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psastro/src/psastroLoadRefstars.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastroLoadRefstars.c
r12794 r12806 1 # include "psastro .h"1 # include "psastroInternal.h" 2 2 # define ELIXIR_MODE 1 3 3 … … 22 22 PS_ASSERT (CATDIR, NULL); 23 23 24 char *getstarCommand = psMe tadataLookupStr(NULL, recipe, "DVO.GETSTAR");24 char *getstarCommand = psMemIncrRefCounter(psMetadataLookupStr(NULL, recipe, "DVO.GETSTAR")); 25 25 PS_ASSERT (getstarCommand, NULL); 26 26 … … 44 44 } 45 45 46 // XXX check for a default name (use .ptolemyrc)?47 if ( CATDIR) {46 // check for default name (use .ptolemyrc), or use specified CATDIR 47 if (strcasecmp(CATDIR, "NONE")) { 48 48 psStringAppend (&getstarCommand, " -D CATDIR %s", CATDIR); 49 } 49 } 50 50 51 51 // psStringAppend (&getstarCommand, " -D CATMODE mef -maglim %f -region %f %f %f %f -o %s", MAGmax, RAmin, DECmin, RAmax, DECmax, tempFile); … … 89 89 // convert the Average table to the pmAstromObj entries 90 90 psTimerStart ("psastro"); 91 91 92 psArray *refstars = psArrayAllocEmpty (table->n); 92 93 for (int i = 0; i < table->n; i++) {
Note:
See TracChangeset
for help on using the changeset viewer.
