Changeset 9574 for trunk/psastro/src/psastroLoadReferences.c
- Timestamp:
- Oct 13, 2006, 5:10:34 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psastro/src/psastroLoadReferences.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastroLoadReferences.c
r9368 r9574 42 42 # if ELIXIR_MODE 43 43 if (CATDIR) { 44 sprintf (tempLine, "getstar -D CATDIR %s -D CATFORMAT elixir -D CATMODE mef -region %f %f %f %f >%s", CATDIR, RAmin, DECmin, RAmax, DECmax, tempFile);44 sprintf (tempLine, "getstar -D CATDIR %s -D CATFORMAT elixir -D CATMODE mef -region %f %f %f %f -o %s", CATDIR, RAmin, DECmin, RAmax, DECmax, tempFile); 45 45 } else { 46 sprintf (tempLine, "getstar -D CATFORMAT elixir -D CATMODE mef -region %f %f %f %f >%s", RAmin, DECmin, RAmax, DECmax, tempFile);46 sprintf (tempLine, "getstar -D CATFORMAT elixir -D CATMODE mef -region %f %f %f %f -o %s", RAmin, DECmin, RAmax, DECmax, tempFile); 47 47 } 48 48 # else 49 49 if (CATDIR) { 50 sprintf (tempLine, "getstar -D CATDIR %s -D CATFORMAT panstarrs -D CATMODE mef -region %f %f %f %f >%s", CATDIR, RAmin, DECmin, RAmax, DECmax, tempFile);50 sprintf (tempLine, "getstar -D CATDIR %s -D CATFORMAT panstarrs -D CATMODE mef -region %f %f %f %f -o %s", CATDIR, RAmin, DECmin, RAmax, DECmax, tempFile); 51 51 } else { 52 sprintf (tempLine, "getstar -D CATFORMAT panstarrs -D CATMODE mef -region %f %f %f %f >%s", RAmin, DECmin, RAmax, DECmax, tempFile);52 sprintf (tempLine, "getstar -D CATFORMAT panstarrs -D CATMODE mef -region %f %f %f %f -o %s", RAmin, DECmin, RAmax, DECmax, tempFile); 53 53 } 54 54 # endif 55 55 56 psTrace ( __func__, 3, "%s\n", tempLine);56 psTrace ("psastro", 3, "%s\n", tempLine); 57 57 status = system (tempLine); 58 58 if (status) { … … 99 99 psFree (table); 100 100 101 psTrace ( __func__, 3, "loaded %ld reference stars from (%10.6f,%10.6f) - (%10.6f,%10.6f)\n",101 psTrace ("psastro", 3, "loaded %ld reference stars from (%10.6f,%10.6f) - (%10.6f,%10.6f)\n", 102 102 refs->n, RAmin, DECmin, RAmax, DECmax); 103 103 return refs;
Note:
See TracChangeset
for help on using the changeset viewer.
