def load_table(table): """ loads a cmor table Usage: load_table(table) """ if not isinstance(table, str): raise Exception("Error, must pass a string") # if not os.path.exists(table): # raise Exception, "Error, the table you specified (%s) does not exists" % table return _cmip6_cv.load_table(table)
def load_table(table): """ loads a cmor table Usage: load_table(table) """ if not isinstance(table, str): raise Exception, "Error, must pass a string" # if not os.path.exists(table): # raise Exception, "Error, the table you specified (%s) does not exists" % table return _cmip6_cv.load_table(table)