IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 20, 2006, 5:36:41 PM (20 years ago)
Author:
eugene
Message:

updated to the new DVO APIs; minor cleanups (unused variables, etc)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/dvo/photometry.c

    r8132 r8427  
    324324  char PhotCodeFile[256];
    325325
    326   if (VarConfig ("ZERO_PT", "%lf", &ZERO_POINT) == (char *) NULL) return (FALSE);
     326  if (VarConfig ("ZERO_PT", "%lf", &ZERO_POINT) == (char *) NULL) {
     327      gprint (GP_ERR, "ZERO_PT undefined in config\n");
     328      return (FALSE);
     329  }
    327330  SetZeroPoint (ZERO_POINT);
    328331
    329   if (VarConfig ("PHOTCODE_FILE", "%s", PhotCodeFile) == (char *) NULL) return (FALSE);
     332  if (VarConfig ("PHOTCODE_FILE", "%s", PhotCodeFile) == (char *) NULL) {
     333      gprint (GP_ERR, "PHOTCODE_FILE undefined in config\n");
     334      return (FALSE);
     335  }
    330336  if (!LoadPhotcodes (PhotCodeFile)) {
    331337    gprint (GP_ERR, "error loading photcodes\n");
     
    354360  gprint (GP_ERR, "NcodeSelect: %d, %d - %d\n",     NcodeSelect, NcodeSign, NcodeValue);
    355361  gprint (GP_ERR, "FWHMSelect: %d, %d %f %f\n",     FWHMSelect, FWHMsign, FWHMvalue, FWHMfrac);
     362  return (TRUE);
    356363}
    357364
Note: See TracChangeset for help on using the changeset viewer.