IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 28, 2022, 12:17:32 PM (4 years ago)
Author:
eugene
Message:

add imresample, imcollapse functions; more usage documentation; option to catch failures in command when loading from shell command into queue; better handling of errors reading FITS table

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.data/imcut.c

    r33662 r42082  
    99  float *V;
    1010
    11   if (argc != 8) {
    12     gprint (GP_ERR, "USAGE: cut <buffer> <X vector> <Y vector> xs ys xe ye\n");
    13     return (FALSE);
    14   }
     11  if (argc != 8) goto usage;
    1512
    1613  if ((buf  = SelectBuffer (argv[1], OLDBUFFER, TRUE)) == NULL) goto missed;
     
    5148
    5249 usage:
    53   gprint (GP_ERR, "USAGE: circstats <buffer> x y radius\n");
     50  gprint (GP_ERR, "USAGE: imcut <buffer> <X vector> <Y vector> xs ys xe ye\n");
     51  gprint (GP_ERR, " extract pixels along the line from (xs,ys) to (xe,ye)\n");
     52  gprint (GP_ERR, " (see also imvector)\n");
    5453  return (FALSE);
    5554
Note: See TracChangeset for help on using the changeset viewer.