def __my_configuration(self): tables_to_cache = Baseline()['creating_baseyear_cache_configuration'].tables_to_cache tables_to_cache.append('workers_for_estimation') return { 'cache_directory' : 'D:/urbansim_cache/psrc/estimation', # change or leave out 'creating_baseyear_cache_configuration':CreatingBaseyearCacheConfiguration( # cache_directory_root = '/tmp/urbcache/sandbox_runs/estimation', unroll_gridcells = True, cache_from_database = True, baseyear_cache = BaseyearCacheConfiguration( existing_cache_to_copy = r'D:/urbansim_cache/full_psrc', ), cache_scenario_database = 'urbansim.model_coordinators.cache_scenario_database', tables_to_cache = tables_to_cache, tables_to_cache_nchunks = { 'parcels':4, 'gridcells':5 }, tables_to_copy_to_previous_years = {}, ), 'scenario_database_configuration': ScenarioDatabaseConfiguration( database_name = 'GSPSRC_2000_baseyear_change_20070102', ), 'dataset_pool_configuration': DatasetPoolConfiguration( package_order=['psrc', 'urbansim', 'opus_core'], ), 'base_year': 2000, }
def __my_configuration(self): tables_to_cache = Baseline( )['creating_baseyear_cache_configuration'].tables_to_cache tables_to_cache.append('workers_for_estimation') return { 'cache_directory': 'D:/urbansim_cache/psrc/estimation', # change or leave out 'creating_baseyear_cache_configuration': CreatingBaseyearCacheConfiguration( # cache_directory_root = '/tmp/urbcache/sandbox_runs/estimation', unroll_gridcells=True, cache_from_database=True, baseyear_cache=BaseyearCacheConfiguration( existing_cache_to_copy=r'D:/urbansim_cache/full_psrc', ), cache_scenario_database= 'urbansim.model_coordinators.cache_scenario_database', tables_to_cache=tables_to_cache, tables_to_cache_nchunks={ 'parcels': 4, 'gridcells': 5 }, tables_to_copy_to_previous_years={}, ), 'scenario_database_configuration': ScenarioDatabaseConfiguration( database_name='GSPSRC_2000_baseyear_change_20070102', ), 'dataset_pool_configuration': DatasetPoolConfiguration( package_order=['psrc', 'urbansim', 'opus_core'], ), 'base_year': 2000, }