Convert 3 letter survey, ra, dec in degrees to extended IAU name with a specified number of decimal places. |
Will create a IAU name as @survey Jhhmmss.ss+ddmmss.s Example usages: SELECT dbo.fIAUNameGen('VHS', 182.25, -12.5,3,2) => VHS J120900.000-123000.00 SELECT top 10 dbo.fIAUNameGen('VHS',ra,dec,3,2),sourceID FROM vhsSource |
Name | Type | Length | inout | pnum |
@survey | varchar | 6 | input | 1 |
@ra | float | 8 | input | 2 |
@dec | float | 8 | input | 3 |
@radp | int | 4 | input | 4 |
@decdp | int | 4 | input | 5 | varchar | 40 | output | 1 |