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

File:
1 edited

Legend:

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

    r38441 r38471  
    2424
    2525  // create an output catalog with the desired name and format options
     26  dvo_catalog_init (&output, TRUE);
     27
    2628  dvo_catalog_init (&output, TRUE);
    2729  output.filename  = OUTPUT;
     
    6163      for (i = 0; i < skylist[0].Nregions; i++) {
    6264        // set the parameters which guide catalog open/load/create
     65        dvo_catalog_init (&catalog, TRUE);
    6366        catalog.filename = skylist[0].filename[i];
    6467        catalog.Nsecfilt  = GetPhotcodeNsecfilt ();
     
    9396      for (i = 0; i < skylist[0].Nregions; i++) {
    9497        // set the parameters which guide catalog open/load/create
     98        dvo_catalog_init (&catalog, TRUE);
    9599        catalog.filename = skylist[0].filename[i];
    96100        catalog.Nsecfilt  = GetPhotcodeNsecfilt ();
Note: See TracChangeset for help on using the changeset viewer.