import requests
import json


def site_catalog(site):
    
    """
    Returns a dictionary of CWMS data paths for a particular site
    
    Arguments:
        site -- cwms site name, example TDDO
    
    Returns: 
        json.loads(r.text) -- dictionary of available site data
        
    """
    
    url = r'http://www.nwd-wc.usace.army.mil/dd/common/web_service/webexec/getjson?tscatalog=%5B%22SITE%22%5D'
    url = url.replace('SITE', site.upper())
    r = requests.get(url)
    return json.loads(r.text)