Changeset 15743 for trunk/Ohana/src/relastro
- Timestamp:
- Dec 5, 2007, 3:29:29 PM (19 years ago)
- Location:
- trunk/Ohana/src/relastro/src
- Files:
-
- 3 edited
-
bcatalog.c (modified) (2 diffs)
-
load_catalogs.c (modified) (2 diffs)
-
reload_catalogs.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/relastro/src/bcatalog.c
r15130 r15743 6 6 int NAVERAGE, NMEASURE, Naverage, Nmeasure, Nm; 7 7 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); 8 13 9 14 /* we are moving only the subset of measurements from catalog[0] to subcatalog[0] */ … … 104 109 subcatalog[0].Nmeasure = Nmeasure; 105 110 subcatalog[0].Nsecfilt = catalog[0].Nsecfilt; 111 subcatalog[0].Nsecf_mem = Naverage * PhotNsec; 112 assert (PhotNsec == catalog[0].Nsecfilt); 106 113 107 114 if (VERBOSE) { -
trunk/Ohana/src/relastro/src/load_catalogs.c
r15130 r15743 13 13 for (i = 0; i < skylist[0].Nregions; i++) { 14 14 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 15 17 pcatalog = subselect ? &tcatalog : &catalog[i]; 16 18 … … 26 28 exit (1); 27 29 } 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); 29 31 30 32 // select only the brighter stars -
trunk/Ohana/src/relastro/src/reload_catalogs.c
r12332 r15743 29 29 exit (1); 30 30 } 31 if (VERBOSE && (catalog.Nave _disk == 0)) {31 if (VERBOSE && (catalog.Naves_disk == 0)) { 32 32 fprintf (stderr, "no data in %s, skipping\n", catalog.filename); 33 33 dvo_catalog_unlock (&catalog);
Note:
See TracChangeset
for help on using the changeset viewer.
