IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 14, 2015, 10:12:31 AM (11 years ago)
Author:
eugene
Message:

make sure the full catalog structure is initialized before calling dvo_catalog_open

Location:
trunk/Ohana/src/relastro/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/relastro/src/UpdateObjectOffsets.c

    r38441 r38471  
    2929    char hostfile[1024];
    3030    snprintf (hostfile, 1024, "%s/%s.cpt", hostpath, skylist[0].regions[i]->name);
     31
     32    dvo_catalog_init (&catalog, TRUE);
    3133    catalog.filename = hostID ? hostfile : skylist[0].filename[i];
    3234
  • trunk/Ohana/src/relastro/src/high_speed_catalogs.c

    r38441 r38471  
    2828    char hostfile[1024];
    2929    snprintf (hostfile, 1024, "%s/%s.cpt", hostpath, skylist[0].regions[i]->name);
     30
     31    dvo_catalog_init (&catalog, TRUE);
    3032    catalog.filename  = hostID ? hostfile : skylist[0].filename[i];
    3133    catalog.catformat = dvo_catalog_catformat (CATFORMAT);    // set the default catformat from config data
  • trunk/Ohana/src/relastro/src/hpm_catalogs.c

    r38441 r38471  
    2626    char hostfile[1024];
    2727    snprintf (hostfile, 1024, "%s/%s.cpt", hostpath, skylist[0].regions[i]->name);
     28
     29    dvo_catalog_init (&catalog, TRUE);
    2830    catalog.filename  = hostID ? hostfile : skylist[0].filename[i];
    2931    catalog.catformat = dvo_catalog_catformat (CATFORMAT);    // set the default catformat from config data
  • trunk/Ohana/src/relastro/src/load_catalogs.c

    r38441 r38471  
    3535    char hostfile[1024];
    3636    snprintf (hostfile, 1024, "%s/%s.cpt", hostpath, skylist[0].regions[i]->name);
     37
     38    dvo_catalog_init (pcatalog, TRUE);
    3739    pcatalog->filename = hostID ? hostfile : skylist[0].filename[i];
    3840
  • trunk/Ohana/src/relastro/src/relastro_objects.c

    r38441 r38471  
    3939    char hostfile[1024];
    4040    snprintf (hostfile, 1024, "%s/%s.cpt", hostpath, skylist[0].regions[i]->name);
     41
     42    dvo_catalog_init (&catalog, TRUE);
    4143    catalog.filename  = hostID ? hostfile : skylist[0].filename[i];
    4244
Note: See TracChangeset for help on using the changeset viewer.