GetThreddsURL

first commit
recursive function to retrieve the Threads url.
Input an url