def get_url(url):
    try:
        response = urllib2.urlopen(url)
    except urllib2.URLError:
        raise urllib2.URLError('Cannot access URL: ' + url)
    return response
Grabs and returns a file from a url.
dataset/ETHPy150Open nasa-gibs/onearth/src/test/oe_test_utils.py/get_url