IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 7, 2007, 2:31:50 PM (19 years ago)
Author:
Paul Price
Message:

Adding automatically-generated skycell pseudo-cameras, constructed from the user-defined cameras. This gives a couple of benefits: (1) skycells inherit the recipes of their original camera; (2) skycells use the same FILERULES as their original camera.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/config/pmConfig.c

    r13355 r13704  
    44 *  @author EAM (IfA)
    55 *
    6  *  @version $Revision: 1.94 $ $Name: not supported by cvs2svn $
    7  *  @date $Date: 2007-05-11 23:28:15 $
     6 *  @version $Revision: 1.95 $ $Name: not supported by cvs2svn $
     7 *  @date $Date: 2007-06-08 00:31:50 $
    88 *
    99 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    533533                                  "Camera specified on command line", config->camera);
    534534
     535            if (!pmConfigCameraSkycellVersion(config->site, cameraFile)) {
     536                psError(PS_ERR_UNKNOWN, false,
     537                        "Unable to generate skycell versions of specified camera %s.\n",
     538                        cameraFile);
     539                psFree(config);
     540                return NULL;
     541            }
     542
    535543            if (!pmConfigCameraMosaickedVersions(config->site, cameraFile)) {
    536544                psError(PS_ERR_UNKNOWN, false,
     
    570578        psFree(iter);
    571579
     580        if (!pmConfigCameraSkycellVersionsAll(config->site)) {
     581            psError(PS_ERR_UNKNOWN, false, "Unable to generate skycell versions of cameras.\n");
     582            psFree(config);
     583            return NULL;
     584        }
    572585        if (!pmConfigCameraMosaickedVersionsAll(config->site)) {
    573586            psError(PS_ERR_UNKNOWN, false, "Unable to generate mosaicked versions of cameras.\n");
Note: See TracChangeset for help on using the changeset viewer.