Changeset 14590 for trunk/Ohana/src/libdvo
- Timestamp:
- Aug 21, 2007, 2:10:20 PM (19 years ago)
- Location:
- trunk/Ohana/src/libdvo/src
- Files:
-
- 4 edited
-
SavePhotcodesFITS.c (modified) (1 diff)
-
SavePhotcodesText.c (modified) (3 diffs)
-
coordops.c (modified) (1 diff)
-
dvo_catalog_create.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/libdvo/src/SavePhotcodesFITS.c
r12332 r14590 7 7 8 8 PhotCodeData *table = NULL; 9 PhotCode *photcode;10 9 FITS_DB db; 11 12 int i, code, Ncode, Nsec;13 10 14 11 table = GetPhotcodeTable (); -
trunk/Ohana/src/libdvo/src/SavePhotcodesText.c
r12332 r14590 2 2 # define SCALE 0.001 3 3 4 static char *PHOT_PRI_NAME = "pri";5 4 static char *PHOT_SEC_NAME = "sec"; 6 5 static char *PHOT_ALT_NAME = "alt"; … … 14 13 15 14 PhotCodeData *table = NULL; 16 PhotCode *photcode;17 15 struct stat filestat; 18 16 char *type; … … 76 74 fprintf (f, " %f,", table[0].code[i].X[j]); 77 75 } 78 fprintf (f, "%f % f", table[0].code[i].X[j], table[0].code[i].dX);76 fprintf (f, "%f %d ", table[0].code[i].X[j], table[0].code[i].dX); 79 77 PrintPhotcodeNamebyCode (f, "%5d ", table[0].code[i].equiv); 80 78 fprintf (f, "\n"); -
trunk/Ohana/src/libdvo/src/coordops.c
r14288 r14590 735 735 case PROJ_PAR: 736 736 return PROJ_MODE_PSEUDOCYL; 737 default: PROJ_MODE_NONE; 737 default: 738 return PROJ_MODE_NONE; 738 739 } 739 740 return PROJ_MODE_NONE; -
trunk/Ohana/src/libdvo/src/dvo_catalog_create.c
r8429 r14590 97 97 98 98 /* write creation date in header */ 99 str_to_time ("now", &now);100 line = sec_to_date (now);99 ohana_str_to_time ("now", &now); 100 line = ohana_sec_to_date (now); 101 101 gfits_modify (&catalog[0].header, "DATE", "%s", 1, line); 102 102 free (line);
Note:
See TracChangeset
for help on using the changeset viewer.
