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/imextract.c

    r20872 r20873  
    3939  if ((selection = SetRegionSelection (&argc, argv)) == NULL) {
    4040    gprint (GP_ERR, "invalid sky region selection\n");
    41     return FALSE;
     41    goto escape;
    4242  }
    4343
     
    4646  // parse the fields to be extracted and returned
    4747  fields = dbCmdlineFields (argc, argv, DVO_TABLE_IMAGE, &last, &Nfields);
    48   if (fields == NULL) return (FALSE);
     48  if (fields == NULL) goto escape;
     49  if (Nfields == 0) {
     50    FreeSkyRegionSelection (selection);
     51    dbFreeFields (fields, Nfields);
     52    goto help;
     53  }
    4954
    5055  // examine line for 'where' or 'match to'.  'match to' is forbidden
     
    158163    gprint (GP_ERR, "  RA : right ascension of field center (J2000)\n");
    159164    gprint (GP_ERR, "  DEC : declination of field center\n");
     165    gprint (GP_ERR, "  Xm : chisq of photometry calibration\n");
     166    gprint (GP_ERR, "  airmass : mean airmass of exposure\n");
     167    gprint (GP_ERR, "  Mcal : photometry calibration (mags)\n");
     168    gprint (GP_ERR, "  dMcal : photometry calibration error (mags)\n");
     169    gprint (GP_ERR, "  photcode : numeric photcode value for image\n");
     170    gprint (GP_ERR, "  time : time of exposure\n");
     171    gprint (GP_ERR, "  FWHM : mean fwhm of exposure\n");
     172    gprint (GP_ERR, "  exptime : exposure duration (seconds)\n");
     173    gprint (GP_ERR, "  nstar : number of stars detected in exposure\n");
     174    gprint (GP_ERR, "  ncal : number of stars used for photometry calibration\n");
     175    gprint (GP_ERR, "  sky : mean background flux\n");
     176    gprint (GP_ERR, "  flag : processing bit flags\n");
     177    gprint (GP_ERR, "  NX : image dimensions\n");
     178    gprint (GP_ERR, "  NY : image dimensions\n");
     179    gprint (GP_ERR, "  theta : position angle of image\n");
     180    gprint (GP_ERR, "  skew : distortion from rectangle\n");
     181    gprint (GP_ERR, "  scale : pixel scale\n");
     182    gprint (GP_ERR, "  dscale : pixel-scale error (or variation?)\n");
     183    gprint (GP_ERR, "  imageID : unique image identifier\n");
     184    gprint (GP_ERR, "  X_LL_CHIP : chip x-pixel coordinate of lower left corner\n");
     185    gprint (GP_ERR, "  X_LR_CHIP : chip x-pixel coordinate of lower right corner\n");
     186    gprint (GP_ERR, "  X_UL_CHIP : chip x-pixel coordinate of upper left corner\n");
     187    gprint (GP_ERR, "  X_UR_CHIP : chip x-pixel coordinate of upper right corner\n");
     188    gprint (GP_ERR, "  Y_LL_CHIP : chip y-pixel coordinate of lower left corner\n");
     189    gprint (GP_ERR, "  Y_LR_CHIP : chip y-pixel coordinate of lower right corner\n");
     190    gprint (GP_ERR, "  Y_UL_CHIP : chip y-pixel coordinate of upper left corner\n");
     191    gprint (GP_ERR, "  Y_UR_CHIP : chip y-pixel coordinate of upper right corner\n");
     192    gprint (GP_ERR, "  X_LL_FP   : focal-plane x-pixel coordinate of lower left corner\n");
     193    gprint (GP_ERR, "  X_LR_FP   : focal-plane x-pixel coordinate of lower right corner\n");
     194    gprint (GP_ERR, "  X_UL_FP   : focal-plane x-pixel coordinate of upper left corner\n");
     195    gprint (GP_ERR, "  X_UR_FP   : focal-plane x-pixel coordinate of upper right corner\n");
     196    gprint (GP_ERR, "  Y_LL_FP   : focal-plane y-pixel coordinate of lower left corner\n");
     197    gprint (GP_ERR, "  Y_LR_FP   : focal-plane y-pixel coordinate of lower right corner\n");
     198    gprint (GP_ERR, "  Y_UL_FP   : focal-plane y-pixel coordinate of upper left corner\n");
     199    gprint (GP_ERR, "  Y_UR_FP   : focal-plane y-pixel coordinate of upper right corner\n");
    160200    return (FALSE);
    161201  }
Note: See TracChangeset for help on using the changeset viewer.