Grdgradient: -S output

Try this to get a slope grid in degrees.

    gmt grdmath $GRD ATAND = $SLP