Changeset 14590 for trunk/Ohana/src/opihi/cmd.astro
- Timestamp:
- Aug 21, 2007, 2:10:20 PM (19 years ago)
- Location:
- trunk/Ohana/src/opihi/cmd.astro
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/cmd.astro/ctimes.c
r7917 r14590 29 29 value = atof (argv[2]); 30 30 time = TimeRef (value, TimeReference, TimeFormat); 31 date = sec_to_date (time);31 date = ohana_sec_to_date (time); 32 32 33 33 if (Variable != (char *) NULL) { … … 48 48 } 49 49 50 if (! str_to_time (argv[2], &time)) {50 if (!ohana_str_to_time (argv[2], &time)) { 51 51 gprint (GP_ERR, "syntax error\n"); 52 52 return (FALSE); -
trunk/Ohana/src/opihi/cmd.astro/getlst.c
r7964 r14590 16 16 if (argc != 3) goto syntax; 17 17 18 if (! str_to_time (argv[1], &time)) {18 if (!ohana_str_to_time (argv[1], &time)) { 19 19 if (Variable != NULL) free (Variable); 20 20 return (FALSE); … … 23 23 longitude = atof (argv[2]); 24 24 25 jd = sec_to_jd (time);25 jd = ohana_sec_to_jd (time); 26 26 fprintf (stderr, "jd: %f\n", jd); 27 27 -
trunk/Ohana/src/opihi/cmd.astro/region.c
r14501 r14590 58 58 } 59 59 60 if (! str_to_radec (&Ra, &Dec, argv[1], argv[2])) return (FALSE);60 if (!ohana_str_to_radec (&Ra, &Dec, argv[1], argv[2])) return (FALSE); 61 61 Radius = atof (argv[3]); 62 62 strcpy (graphmode.coords.ctype, "RA---TAN"); -
trunk/Ohana/src/opihi/cmd.astro/sexigesimal.c
r7917 r14590 23 23 24 24 if (HMS) { 25 if (! dms_to_ddd (&value, argv[1])) {25 if (!ohana_dms_to_ddd (&value, argv[1])) { 26 26 gprint (GP_ERR, "syntax error in input\n"); 27 27 return (FALSE);
Note:
See TracChangeset
for help on using the changeset viewer.
