# Path: giscube/config.py
# MEDIA_ROOT = '{0}/giscube_app/static/'.format(current_dir)
# 
# MEDIA_URL = 'uploaded_files/'


from pydap.client import open_url
from netcdftime import utime
from giscube.config import MEDIA_ROOT, MEDIA_URL
import numpy as np
import urllib


def opendap_metadata(opendap_url):
    response = urllib.urlopen(opendap_url + ".das")
    return response.read()


# Path: giscube/config.py
# MEDIA_ROOT = '{0}/giscube_app/static/'.format(current_dir)
# 
# MEDIA_URL = 'uploaded_files/'


# Path: giscube_app/scripts/opendap.py
from pydap.client import open_url
from netcdftime import utime
from giscube.config import MEDIA_ROOT, MEDIA_URL
import numpy as np
import urllib



def opendap_metadata(opendap_url):
    response = urllib.urlopen(opendap_url + ".das")
    return response.read()


def load(url, frm, name):