sexform_cleanup
Last updated: Jan05,2020

Takes as input an Ra,Dec in sexigecimal format. Print theses values out in a uniform format (using 4 decimal places in the seconds values). Also see cdsex.sh and sexcd.sh.


Usage: sexform_cleanup 01:17:31.166640 +53:20:41.748000  
arg1 - RA in sexigecimal format 
arg2 - DEC in sexigecimal format 

% sexform_cleanup 01:17:31.166640 +53:20:41.748000 -v  
Debug option is ON in sexform_cleanup 
RA  in sexigecimal format = 01:17:31.166640 
DEC in sexigecimal format = +53:20:41.748000 
Enter any key to continue:
rsex,rf = 01:17:31.166640     1.291990733     
dsex,df = +53:20:41.748000    53.344930000     
Uniform Ra,Dec:  01:17:31.1666 +53:20:41.7480 
Enter any key to continue:
  01:17:31.1666 +53:20:41.7480 

% sexform_cleanup 01:17:31.166640 +53:20:41.748000   
  01:17:31.1666 +53:20:41.7480 





Back to calling page