Changeset 14401 for trunk/Ohana/src/opihi/dvo/imdata.c
- Timestamp:
- Aug 4, 2007, 10:15:51 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/dvo/imdata.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/dvo/imdata.c
r12332 r14401 14 14 SkyList *skylist, *skyset; 15 15 Vector *vec; 16 SkyRegionSelection *selection; 17 18 // parse skyregion options 19 if ((selection = SetRegionSelection (&argc, argv)) == NULL) { 20 gprint (GP_ERR, "invalid sky region selection\n"); 21 return FALSE; 22 } 16 23 17 24 start = stop = 0; … … 78 85 79 86 if ((image = LoadImages (&Nimage)) == NULL) return (FALSE); 80 image_subset (image, Nimage, &subset, &Nsubset, (Graphdata *) NULL, FALSE, tzero, trange, TimeSelect);87 image_subset (image, Nimage, &subset, &Nsubset, selection, tzero, trange, TimeSelect); 81 88 BuildChipMatch (image, Nimage); 82 89 GetTimeFormat (&TimeReference, &TimeFormat); … … 89 96 ALLOCATE (skylist, SkyList, 1); 90 97 ALLOCATE (skylist[0].regions, SkyRegion *, NREGIONS); 98 skylist[0].ownElements = FALSE; 91 99 92 100 /* for each image of interest, find the appropriate region files */ … … 107 115 CHECK_REALLOCATE (skylist[0].regions, SkyRegion *, NREGIONS, Nregions, 10); 108 116 } 109 SkyListFree (skyset , FALSE);117 SkyListFree (skyset); 110 118 } 111 119 free (subset);
Note:
See TracChangeset
for help on using the changeset viewer.
