Changeset 38308
- Timestamp:
- May 22, 2015, 8:08:59 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20150419/Ohana/src/addstar/src/grefstars.c
r38268 r38308 24 24 InitStar (&stars[N]); 25 25 26 dparse (&stars[N].average.R, 1, line); 27 dparse (&stars[N].average.D, 2, line); 26 int status = sscanf (line, "%lf %lf %f %f %x", 27 &stars[N].average.R, &stars[N].average.D, 28 &stars[N].measure.M, &stars[N].measure.dM, 29 &stars[N].measure.photFlags); 30 if ((status != 4) && (status != 5)) { 31 fprintf (stderr, "error reading line: %s\n", line); 32 N --; 33 continue; 34 } 28 35 stars[N].average.R = ohana_normalize_angle (stars[N].average.R); 29 30 fparse (&stars[N].measure.M, 3, line);31 fparse (&stars[N].measure.dM, 4, line);32 36 33 37 stars[N].measure.R = stars[N].average.R;
Note:
See TracChangeset
for help on using the changeset viewer.
