IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 5, 2007, 3:29:29 PM (19 years ago)
Author:
eugene
Message:

importing updates from eam_branch_20071130

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

Legend:

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

    r15130 r15743  
    66  int NAVERAGE, NMEASURE, Naverage, Nmeasure, Nm;
    77  float mag;
     8
     9  // XXX PhotNsec as a global is a bad idea; either get it from catalog
     10  // or get it from:
     11  // Nsecfilt = GetPhotcodeNsecfilt ();
     12  // assert (catalog[0].Nsecfilt == Nsecfilt);
    813
    914  /* we are moving only the subset of measurements from catalog[0] to subcatalog[0] */
     
    104109  subcatalog[0].Nmeasure = Nmeasure;
    105110  subcatalog[0].Nsecfilt = catalog[0].Nsecfilt;
     111  subcatalog[0].Nsecf_mem = Naverage * PhotNsec;
     112  assert (PhotNsec == catalog[0].Nsecfilt);
    106113
    107114  if (VERBOSE) {
  • trunk/Ohana/src/relastro/src/load_catalogs.c

    r15130 r15743  
    1313  for (i = 0; i < skylist[0].Nregions; i++) {
    1414
     15    // we only allow output if we do not use a subset.  in this case,
     16    // the output parameters are correctly set for catalog[i] via pcatalog
    1517    pcatalog = subselect ? &tcatalog : &catalog[i];
    1618
     
    2628      exit (1);
    2729    }
    28     if (VERBOSE && !pcatalog[0].Nave_disk) fprintf (stderr, "no data in %s, skipping\n", pcatalog[0].filename);
     30    if (VERBOSE && !pcatalog[0].Naves_disk) fprintf (stderr, "no data in %s, skipping\n", pcatalog[0].filename);
    2931
    3032    // select only the brighter stars
  • trunk/Ohana/src/relastro/src/reload_catalogs.c

    r12332 r15743  
    2929      exit (1);
    3030    }
    31     if (VERBOSE && (catalog.Nave_disk == 0)) {
     31    if (VERBOSE && (catalog.Naves_disk == 0)) {
    3232        fprintf (stderr, "no data in %s, skipping\n", catalog.filename);
    3333        dvo_catalog_unlock (&catalog);
Note: See TracChangeset for help on using the changeset viewer.