IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 2, 2008, 6:24:28 PM (18 years ago)
Author:
eugene
Message:

fixes for interger-type vectors; finish imextract upgrade

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20081124/Ohana/src/opihi/dvo/dbFields.c

    r20872 r20873  
    197197  // check for code:mode in photcode name
    198198  code = ParsePhotcodeField (fieldName, &mode, MAG_REL);
    199   if (code == NULL) return (FALSE);
     199  if (code == NULL) {
     200    gprint (GP_ERR, "unknown field '%s' for measurement table in DVO database\n", fieldName);
     201    return (FALSE);
     202  }
    200203
    201204  field->ID = MEAS_MAG;
     
    257260  // check for code:mode in photcode name
    258261  code = ParsePhotcodeField (fieldName, &mode, MAG_AVE);
    259   if (code == NULL) return (FALSE);
     262  if (code == NULL) {
     263    gprint (GP_ERR, "unknown field '%s' for average table in DVO database\n", fieldName);
     264    return (FALSE);
     265  }
     266
    260267  if (code[0].type == PHOT_MAG) {
    261268    gprint (GP_ERR, "'mag' is ambiguous for avextract\n");
     
    337344
    338345  // for words that don't parse, try a photcode
    339   gprint (GP_ERR, "unknown image field %s\n", fieldName);
     346  gprint (GP_ERR, "unknown field '%s' for image table in DVO database\n", fieldName);
    340347  return (FALSE);
    341348}
Note: See TracChangeset for help on using the changeset viewer.