Skip to content

Automator Command Line Arguments and Features

Anna Kraft edited this page Apr 11, 2016 · 2 revisions

Automator Command Line Arguments and Features

Note: This isn't finished yet. Features are subject to change.

  • -d: Directory. Where you want to save the pictures the camera takes. Required parameter. String length currently capped at 100 characters.
  • -t: Template for file name. Default is "IMG%05d.fits"
  • -o: Observatory name. Recorded in the FITS header.
  • -e: Length of desired exposure time in seconds. Also recorded in the FITS header. Required parameter.
  • -s: Sleep time in between taking images. Not sure if this is implemented yet.
  • -n: Number of images to take. Required parameter.
  • -i: Initial index for the file name. Basically what number you want to start counting at in your file names. Default starts at zero.
  • -f: Overwrite. Defaults to false. Right now the program crashes if the name of the file the camera is currently writing matches the name of a file in the directory it's writing to (if set to false).
  • -v: Verbose. Not yet implemented.

Other Features

  • Automatically records the date and time the picture was taken in the FITS header. May later allow formatting options in command line.

Planned/Possible Future Features

  • Automatic adjustment of exposure time based on lighting levels in previously taken pictures.
  • Creation of new directory if input directory does not exist.
  • Multi-threading so pictures can be taken concurrently with the saving process.