UDST / bayarea_urbansim

UrbanSim implementation for the San Francisco Bay Area
14 stars 26 forks source link

data regeneration->estimation.py->nrh_estimate: no object named costar in the file #46

Closed tbuckl closed 8 years ago

tbuckl commented 9 years ago

Is there a mismatch between data regeneration and what nrh_estimate as run in Estimation.py (or Estimation.ipynb) expects? I get the following error after running data regeneration and then Estimation.py.

[1] Standard Errors assume that the covariance matrix of the errors is correctly specified.
[2] The condition number is large, 1.87e+03. This might indicate that there are
strong multicollinearity or other numerical problems.
Time to execute model 'rsh_estimate': 11.39s
Total time to execute: 11.39s
Running model 'nrh_estimate'
Traceback (most recent call last):
  File "Estimation.py", line 29, in <module>
    sim.run(["nrh_estimate"])
  File "/vm_project_dir/urbansim/urbansim/sim/simulation.py", line 1526, in run
    model()
  File "/vm_project_dir/urbansim/urbansim/sim/simulation.py", line 680, in __call__
    expressions=self._argspec.defaults)
  File "/vm_project_dir/urbansim/urbansim/sim/simulation.py", line 827, in _collect_variables
    variables[label] = thing()
  File "/vm_project_dir/urbansim/urbansim/sim/simulation.py", line 419, in __call__
    return self._call_func()
  File "/vm_project_dir/urbansim/urbansim/sim/simulation.py", line 404, in _call_func
    frame = self._func(**kwargs)
  File "/vm_project_dir/bayarea_urbansim/datasources.py", line 61, in costar
    df = store['costar']
  File "/home/vagrant/anaconda/lib/python2.7/site-packages/pandas/io/pytables.py", line 410, in __getitem__
    return self.get(key)
  File "/home/vagrant/anaconda/lib/python2.7/site-packages/pandas/io/pytables.py", line 619, in get
    raise KeyError('No object named %s in the file' % key)
KeyError: 'No object named costar in the file'
Closing remaining open files:./data/osm_bayarea4326.h5...done./data/bayarea_v3.h5...done
fscottfoti commented 9 years ago

You definitely can't run non-res estimation right now with the new data.

tbuckl commented 9 years ago

got it, thanks!