Changeset 42501 for branches/eam_branches/ipp-20230313/psModules/test/astrom/tap_pmAstrometryWCS_DVO4.c
- Timestamp:
- Aug 16, 2023, 8:42:18 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20230313/psModules/test/astrom/tap_pmAstrometryWCS_DVO4.c
r21220 r42501 23 23 void test2x(); // small rotation with central offset 24 24 void test3x(); // 2nd order term in WRP with central offset 25 26 bool RegisterMosaic (Coords *in) { 27 return true; 28 } 25 29 26 30 int main (void) … … 898 902 psMetadata *header = psMetadataAlloc(); 899 903 900 sprintf (name, "RA--%s", &coords[0].ctype[4]);904 ps_snprintf_nowarn (name, 16, "RA--%s", &coords[0].ctype[4]); 901 905 psMetadataAddStr (header, PS_LIST_TAIL, "CTYPE1", PS_META_REPLACE, "", name); 902 sprintf (name, "DEC-%s", &coords[0].ctype[4]);906 ps_snprintf_nowarn (name, 16, "DEC-%s", &coords[0].ctype[4]); 903 907 psMetadataAddStr (header, PS_LIST_TAIL, "CTYPE2", PS_META_REPLACE, "", name); 904 908
Note:
See TracChangeset
for help on using the changeset viewer.
