IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 28, 2015, 8:14:21 PM (11 years ago)
Author:
eugene
Message:

do not load skytable readwrite

Location:
branches/eam_branches/ipp-20150112/Ohana/src/photdbc/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20150112/Ohana/src/photdbc/src/photdbc.c

    r37807 r38044  
    1010
    1111  // the output catalog needs to inherit the SKY_DEPTH of the input catalog
    12   sky = SkyTableLoadOptimal (CATDIR, NULL, NULL, TRUE, 0, VERBOSE);
     12  sky = SkyTableLoadOptimal (CATDIR, NULL, NULL, FALSE, 0, VERBOSE);
     13  if (!sky) {
     14      fprintf (stderr, "ERROR loading sky table from %s\n", CATDIR);
     15      exit (2);
     16  }
     17
    1318  SkyTableSetFilenames (sky, CATDIR, "cpt");
    1419  skylist = SkyListByPatch (sky, -1, &REGION);
  • branches/eam_branches/ipp-20150112/Ohana/src/photdbc/src/photdbc_client.c

    r33655 r38044  
    66
    77  // load the current sky table (layout of all SkyRegions)
    8   SkyTable *sky = SkyTableLoadOptimal (CATDIR, NULL, NULL, TRUE, -1, VERBOSE);
     8  SkyTable *sky = SkyTableLoadOptimal (CATDIR, NULL, NULL, FALSE, -1, VERBOSE);
    99  if (!sky) {
    10       fprintf (stderr, "ERROR running loading sky table from %s\n", CATDIR);
     10      fprintf (stderr, "ERROR loading sky table from %s\n", CATDIR);
    1111      exit (2);
    1212  }
Note: See TracChangeset for help on using the changeset viewer.