Changeset 23412 for trunk/psastro/src/psastroLoadRefstars.c
- Timestamp:
- Mar 18, 2009, 4:36:31 PM (17 years ago)
- Location:
- trunk/psastro
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/psastroLoadRefstars.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro
- Property svn:mergeinfo changed
/branches/eam_branches/eam_branch_20090312/psastro (added) merged: 23321-23322,23335-23337,23407
- Property svn:mergeinfo changed
-
trunk/psastro/src/psastroLoadRefstars.c
r21422 r23412 14 14 # define ELIXIR_MODE 1 15 15 16 char *psastroSetMagLimit (float *minMag, float *maxRho, pmConfig *config); 17 18 psArray *psastroLoadRefstars (pmConfig *config) { 16 psArray *psastroLoadRefstars (pmConfig *config, const char *source) { 19 17 20 18 int fd; … … 69 67 float minMag; 70 68 float maxRho; 71 char *photcode = psastroSetMagLimit (&minMag, &maxRho, config );69 char *photcode = psastroSetMagLimit (&minMag, &maxRho, config, source); 72 70 PS_ASSERT (photcode, NULL); 73 71 … … 240 238 goto escape; } 241 239 242 char *psastroSetMagLimit (float *minMag, float *maxRho, pmConfig *config ) {240 char *psastroSetMagLimit (float *minMag, float *maxRho, pmConfig *config, const char *source) { 243 241 244 242 bool status; … … 249 247 250 248 // select the input data sources 251 pmFPAfile *input = psMetadataLookupPtr (NULL, config->files, "PSASTRO.INPUT");249 pmFPAfile *input = psMetadataLookupPtr (NULL, config->files, source); 252 250 if (!input) { 253 251 psLogMsg ("psastro", PS_LOG_DETAIL, "no supplied reference header data");
Note:
See TracChangeset
for help on using the changeset viewer.
