IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 37304


Ignore:
Timestamp:
Aug 25, 2014, 6:33:02 AM (12 years ago)
Author:
eugene
Message:

make getstar SkyTable access read only; dvopsps catalog access is read-only

Location:
tags/ipp-pv3-20140717/Ohana/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-pv3-20140717/Ohana/src/dvopsps/src/insert_detections_dvopsps.c

    r37048 r37304  
    6868    catalog.Nsecfilt  = GetPhotcodeNsecfilt ();
    6969
    70     if (!dvo_catalog_open (&catalog, skylist[0].regions[i], VERBOSE, "w")) {
     70    if (!dvo_catalog_open (&catalog, skylist[0].regions[i], VERBOSE, "r")) {
    7171      fprintf (stderr, "ERROR: failure reading catalog %s\n", catalog.filename);
    7272      exit (1);
  • tags/ipp-pv3-20140717/Ohana/src/dvopsps/src/insert_objects_dvopsps.c

    r35098 r37304  
    5656    catalog.Nsecfilt  = GetPhotcodeNsecfilt ();
    5757
    58     if (!dvo_catalog_open (&catalog, skylist[0].regions[i], VERBOSE, "w")) {
     58    if (!dvo_catalog_open (&catalog, skylist[0].regions[i], VERBOSE, "r")) {
    5959      fprintf (stderr, "ERROR: failure reading catalog %s\n", catalog.filename);
    6060      exit (1);
  • tags/ipp-pv3-20140717/Ohana/src/getstar/src/getstar.c

    r31669 r37304  
    1414  set_db (&db);
    1515
    16   sky = SkyTableLoadOptimal (CATDIR, SKY_TABLE, GSCFILE, TRUE, SKY_DEPTH, VERBOSE);
     16  sky = SkyTableLoadOptimal (CATDIR, SKY_TABLE, GSCFILE, FALSE, SKY_DEPTH, VERBOSE);
    1717  if (!sky) exit (1);
    1818   
Note: See TracChangeset for help on using the changeset viewer.