IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 27, 2022, 10:14:37 AM (4 years ago)
Author:
eugene
Message:

fpcamera now builds, but does it run?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20220316/fpcamera/src/fpcameraLoadRefstars.c

    r42175 r42178  
    22# define ELIXIR_MODE 1
    33
    4 # define ESCAPE(ERROR,FORMAT,...) { psError(ERROR, false, FORMAT, __VA_ARGS__); return false; }
    5 
     4# define ESCAPE(ERROR,...) { p_psError(__FILE__,__LINE__,__func__,ERROR,false,__VA_ARGS__); return false; }
     5
     6/* \brief this loop saves the photometry/astrometry data files */
    67bool fpcameraLoadRefstars (pmFPAfile *input, pmConfig *config) {
    78
     
    4243    // substitute abstract name with concrete name, if present in FPCAMERA.CATDIRS
    4344    psMetadata *catdirs = psMetadataLookupMetadata(&status, config->site, "FPCAMERA.CATDIRS"); // List of cameras
    44     if (!catdir) ESCAPE(FPCAMERA_ERR_CONFIG, "Unable to find FPCAMERA.CATDIRS in the system configuration.\n");
     45    if (!catdirs) ESCAPE(FPCAMERA_ERR_CONFIG, "Unable to find FPCAMERA.CATDIRS in the system configuration.\n");
    4546
    4647    // the name in the recipe may be one of:
     
    140141        ESCAPE(FPCAMERA_ERR_REFSTARS, "error reading reference data");
    141142    }
    142     if (refstars->n == 0) ESCAPE(PSASTRO_ERR_REFSTARS, "no reference stars found");
     143    if (refstars->n == 0) ESCAPE(FPCAMERA_ERR_REFSTARS, "no reference stars found");
    143144
    144145    psLogMsg ("fpcamera", 3, "loaded %ld reference stars : %f sec\n", refstars->n, psTimerMark ("fpcamera"));
Note: See TracChangeset for help on using the changeset viewer.