Changeset 18176 for trunk/psastro/src/psastroLoadRefstars.c
- Timestamp:
- Jun 18, 2008, 12:35:11 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psastro/src/psastroLoadRefstars.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastroLoadRefstars.c
r18061 r18176 30 30 // grab the PSASTRO.CATDIR name from the PSASTRO recipe 31 31 char *catdir_recipe = psMetadataLookupStr(&status, recipe, "PSASTRO.CATDIR"); 32 psAssert (catdir_recipe, NULL);32 psAssert (catdir_recipe, "Need a recipe for the catdir!"); 33 33 34 34 // substitute abstract name with concrete name, if present in PSASTRO.CATDIRS … … 41 41 char *catdir = (catdir_virtual == NULL) ? catdir_recipe : catdir_virtual; 42 42 43 // convert the uri to a real filename (ie, path://foobar) 43 // convert the uri to a real filename (ie, path://foobar) 44 44 psString CATDIR = pmConfigConvertFilename(catdir, config, false, false); // Resolved filename 45 45 PS_ASSERT (CATDIR, NULL); … … 84 84 // supply the max magnitude, the output format, and the photcode 85 85 if (strcasecmp (photcode, "NONE")) { 86 psStringAppend (&getstarCommand, " -maglim %f", MAGmax);86 psStringAppend (&getstarCommand, " -maglim %f", MAGmax); 87 87 } 88 88 if (strcasecmp (photcode, "NONE")) { 89 psStringAppend (&getstarCommand, " -photcode %s", photcode);89 psStringAppend (&getstarCommand, " -photcode %s", photcode); 90 90 } 91 91 psStringAppend (&getstarCommand, " -format %s", outformat);
Note:
See TracChangeset
for help on using the changeset viewer.
