Changeset 37807 for trunk/Ohana/src/relastro/src/select_images.c
- Timestamp:
- Jan 11, 2015, 2:14:39 PM (12 years ago)
- Location:
- trunk/Ohana
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/relastro/src/select_images.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana
- Property svn:mergeinfo changed
-
trunk/Ohana/src/relastro/src/select_images.c
r36630 r37807 23 23 int InRange, found; 24 24 double Ri[5], Di[5], Xi[5], Yi[5], dx, dy; 25 Coords tcoords;26 25 SkyRegionCoords *skycoords; 27 26 … … 46 45 47 46 // the comparison is made in the catalog local projection. below we set crval1,2 48 tcoords.crpix1 = tcoords.crpix2 = 0.0; 47 Coords tcoords; 48 InitCoords (&tcoords, "DEC--TAN"); 49 49 tcoords.cdelt1 = tcoords.cdelt2 = 1.0 / 3600.0; 50 tcoords.pc1_1 = tcoords.pc2_2 = 1.0;51 tcoords.pc1_2 = tcoords.pc2_1 = 0.0;52 strcpy (tcoords.ctype, "DEC--TAN");53 50 54 51 ALLOCATE (skycoords, SkyRegionCoords, skylist[0].Nregions); … … 104 101 105 102 if (VERBOSE) fprintf (stderr, "finding images\n"); 106 BuildChipMatch (timage, Ntimage);107 MARKTIME("build chip match: %f sec\n", dtime);108 103 109 104 nimage = 0; … … 148 143 } 149 144 150 // this adds 1.3 sec for 3M images151 if (!FindMosaicForImage (timage, Ntimage, i)) {152 fprintf (stderr, "cannot find mosaic for "OFF_T_FMT"\n", i);153 continue;154 }155 156 145 /* define image corners - note the DIS images (mosaic phu) are special */ 157 146 if (!strcmp(&timage[i].coords.ctype[4], "-DIS")) {
Note:
See TracChangeset
for help on using the changeset viewer.
