IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 24, 2012, 4:07:40 PM (14 years ago)
Author:
eugene
Message:

delstar seems to work now for images and measures

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20120905/Ohana/src/delstar/src/delete_photcodes.c

    r34690 r34693  
    11# include "delstar.h"
    22
    3 int delete_photcodes (SkyList *skylist, int hostID, char *hostpath) {
     3int delete_photcodes (int hostID, char *hostpath) {
    44
    55  int i;
    66  Catalog catalog;
     7
     8  // load the current sky table (layout of all SkyRegions)
     9  SkyTable *sky = SkyTableLoadOptimal (CATDIR, NULL, NULL, TRUE, -1, VERBOSE);
     10  if (!sky) {
     11    fprintf (stderr, "ERROR running loading sky table from %s\n", CATDIR);
     12    exit (2);
     13  }
     14  SkyTableSetFilenames (sky, CATDIR, "cpt");
     15
     16  SkyList *skylist = SkyListByPatch (sky, -1, &UserPatch);
     17  if (!skylist) {
     18    fprintf (stderr, "ERROR setting up skylist for %s\n", CATDIR);
     19    exit (2);
     20  }
    721
    822  // launch the remote jobs
Note: See TracChangeset for help on using the changeset viewer.