def get_datacube_root():

    try:
        datacube_root = os.environ['DATACUBE_ROOT']
    except KeyError:
        this_file = inspect.getsourcefile(get_datacube_root)
        datacube_root = os.path.dirname(os.path.abspath(this_file))

    return datacube_root
Return the directory containing the datacube python source files.
dataset/ETHPy150Open GeoscienceAustralia/agdc/src/cube_util.py/get_datacube_root