Changeset 34342 for trunk/Ohana/src/opihi/cmd.astro
- Timestamp:
- Aug 23, 2012, 10:04:31 AM (14 years ago)
- Location:
- trunk/Ohana/src/opihi
- Files:
-
- 5 edited
- 1 copied
-
. (modified) (1 prop)
-
cmd.astro (modified) (1 prop)
-
cmd.astro/Makefile (modified) (1 diff)
-
cmd.astro/csystem.c (modified) (4 diffs)
-
cmd.astro/getcoords.c (copied) (copied from branches/eam_branches/ipp-20120805/Ohana/src/opihi/cmd.astro/getcoords.c )
-
cmd.astro/init.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi
- Property svn:mergeinfo set to
-
trunk/Ohana/src/opihi/cmd.astro
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20120805/Ohana/src/opihi/cmd.astro (added) merged: 34339,34341
- Property svn:mergeinfo changed
-
trunk/Ohana/src/opihi/cmd.astro/Makefile
r33963 r34342 43 43 $(SRC)/galsectors.$(ARCH).o \ 44 44 $(SRC)/galprofiles.$(ARCH).o \ 45 $(SRC)/getcoords.$(ARCH).o \ 45 46 $(SRC)/elliprofile.$(ARCH).o \ 46 47 $(SRC)/ringflux.$(ARCH).o \ -
trunk/Ohana/src/opihi/cmd.astro/csystem.c
r20936 r34342 11 11 CoordTransform *transform; 12 12 13 if (argc != 5) { 14 gprint (GP_ERR, "USAGE: csystems [C/G/E/H] [C/G/E/H] X Y\n"); 15 return (FALSE); 16 } 13 if (argc != 5) goto syntax; 17 14 18 15 switch (argv[1][0]) { … … 20 17 case 'G': input = COORD_GALACTIC; break; 21 18 case 'E': input = COORD_ECLIPTIC; break; 22 default: abort();19 default: goto syntax; 23 20 } 24 21 … … 27 24 case 'G': output = COORD_GALACTIC; break; 28 25 case 'E': output = COORD_ECLIPTIC; break; 29 default: abort();26 default: goto syntax; 30 27 } 31 28 … … 66 63 return (TRUE); 67 64 65 syntax: 66 gprint (GP_ERR, "USAGE: csystems [C/G/E/H] [C/G/E/H] X Y\n"); 67 return (FALSE); 68 68 } -
trunk/Ohana/src/opihi/cmd.astro/init.c
r33963 r34342 29 29 int galradius PROTO((int, char **)); 30 30 int galradbins PROTO((int, char **)); 31 int getcoords PROTO((int, char **)); 31 32 int elliprofile PROTO((int, char **)); 32 33 int ringflux PROTO((int, char **)); … … 86 87 {1, "galradius", galradius, "generate radial vectors with interpolation along paths"}, 87 88 {1, "galradbins", galradbins, "generate radial vectors with interpolation along paths"}, 89 {1, "getcoords", getcoords, "generate images containing the RA,DEC coord for each pixel"}, 88 90 {1, "elliprofile", elliprofile, "generate radial vectors with interpolation along paths"}, 89 91 {1, "ringflux", ringflux, "mean flux in a ring"},
Note:
See TracChangeset
for help on using the changeset viewer.
