Changeset 17958 for branches/eam_branch_20080511/ppSim/src/ppSimArguments.c
- Timestamp:
- Jun 5, 2008, 5:16:44 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20080511/ppSim/src/ppSimArguments.c
r17901 r17958 125 125 ppSimArgToRecipeF32(&status, options, "PIXEL.SCALE", arguments, "-scale"); // Plate scale 126 126 127 // XXX we need to be more flexible: get this from the input image header or WCS 128 float ra0 = psMetadataLookupF32(NULL, arguments, "-ra"); // Right Ascension of boresight 129 float dec0 = psMetadataLookupF32(NULL, arguments, "-dec"); // Declination of boresight 130 psMetadataAddF32(options, PS_LIST_TAIL, "RA", 0, "Boresight RA (radians)", ra0 * M_PI / 180.0); 131 psMetadataAddF32(options, PS_LIST_TAIL, "DEC", 0, "Boresight Declination (radians)", dec0 * M_PI / 180.0); 132 127 133 psFree (arguments); 128 134 return true;
Note:
See TracChangeset
for help on using the changeset viewer.
