Sign, degrees, arcminutes, arcseconds to decimal degrees conversion
degs = CL_sdms2deg(sdms)
Conversion from sign, degrees, arcminutes, arcseconds to decimal degrees.
The input argument sdms is such that:
- The first row is the sign of the angle (0 or 1 => positive, -1 => negative).
- The second row is the number of degrees.
- The third row is the number of arcminutes.
- The fourth row is the number of arcseconds.
Notes:
- The number of degrees and arcminutes should be integers but non-integers are allowed as well.
- The function only checks that all values (except for the sign) are positive.
Sign, degrees, arcminutes and arcseconds (4xN)
Decimal degrees (1xN)
CNES - DCT/SB