IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 13323


Ignore:
Timestamp:
May 9, 2007, 6:30:36 PM (19 years ago)
Author:
eugene
Message:

error handling for missing sky table

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/addstar/src/addstar.c

    r13143 r13323  
    2626
    2727  sky = SkyTableLoadOptimal (CATDIR, SKY_TABLE, GSCFILE, SKY_DEPTH, VERBOSE);
     28  if (sky == NULL) {
     29      fprintf (stderr, "ERROR: unable to load sky table data\n");
     30      exit (2);
     31  }
    2832  SkyTableSetFilenames (sky, CATDIR, "cpt");
    2933 
Note: See TracChangeset for help on using the changeset viewer.