Hi,
How can we specify the configuration to use the mysql tables for input
before caching the data? The eugene/estimation/my_estimation_config.py
looks like this:
my_configuration = {
'cache_directory':'/urbansim_cache/eugene', # change or leave out
'input_configuration':DatabaseConfiguration(
host_name = os.environ.get('MYSQLHOSTNAME','localhost'),
user_name = os.environ.get('MYSQLUSERNAME',''),
password = os.environ.get('MYSQLPASSWORD',''),
database_name = 'eugene_1980_baseyear',
),
'output_configuration':DatabaseConfiguration(
host_name = os.environ.get('MYSQLHOSTNAME','localhost'),
user_name = os.environ.get('MYSQLUSERNAME',''),
password = os.environ.get('MYSQLPASSWORD',''),
database_name = 'eugene_1980_baseyear_estimation',
),
but it seems the input_configuration is not used at all:
data for the estimation are read from the cache, then output data
are written to both the cache and the database.
Is it possible to specify in the config to first dump
the required mysql tables (as for simulation?)
Thanks
Fabrice
=====================================================
Fabrice
Marchal
http://marchal.let.fr
CNRS Associate researcher +33
472 72 79 44
Lab of Transportation Economics (LET), Berthelot 14, F-69363 Lyon
=====================================================
Received on Tue Nov 27 2007 - 03:18:44 PST
This archive was generated by hypermail 2.2.0 : Tue Nov 27 2007 - 03:18:46 PST