IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 4, 2007, 11:47:30 AM (19 years ago)
Author:
Paul Price
Message:

Have been running into problems because various write functions (i.e., sources, psf) aren't updating the headers before they write. Attempting to aggregate the functions that update the headers in pmFPAfileWrite, since that will be called by everything. This is an attempt; not sure if it works yet or not.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPAConstruct.c

    r15099 r15218  
    10981098        const char *currentName = psMetadataLookupStr(&mdok, fpa->concepts, "FPA.NAME"); // Current name
    10991099        if (mdok && currentName && strlen(currentName) > 0 && strcmp(currentName, fpaname) != 0) {
    1100             psLogMsg(__func__, PS_LOG_WARN, "FPA.NAME for new source (%s) doesn't match FPA.NAME for current "
     1100            psWarning("FPA.NAME for new source (%s) doesn't match FPA.NAME for current "
    11011101                     "fpa (%s).\n", fpaname, currentName);
    11021102        }
     
    13561356    psString fpaname = phuNameFromHeader("FPA.NAME", fileInfo, phu); // New name for the FPA
    13571357    if (!fpaname || strlen(fpaname) == 0) {
    1358         psError(PS_ERR_IO, true, "Unable to determine FPA.NAME: check for FPA.NAME in FILE in camera format");
    1359         return NULL;
     1358        psWarning("Unable to determine FPA.NAME: check for FPA.NAME in FILE in camera format");
    13601359    }
    13611360
Note: See TracChangeset for help on using the changeset viewer.