raise ConfigurationError for unknonw grid base