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 _cmor.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 _cmor.load_table(table)