def decodeDegreesStr(valStr):
    """
    Return a signed latitude/longitude value from a string. Only copes with the integer 
    values used in grid cell names. 
    """
    val = int(valStr[:-1])
    if valStr[-1] in ("S", "W"):
        val = -val
    return val