Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug related to transition from Orca 1.3 to 1.4 #8

Open
smmaurer opened this issue Sep 28, 2016 · 0 comments
Open

Bug related to transition from Orca 1.3 to 1.4 #8

smmaurer opened this issue Sep 28, 2016 · 0 comments

Comments

@smmaurer
Copy link
Member

On Sep 27, 2016, at 3:33 PM, Paul Sohn paulsohn@berkeley.edu wrote:

I found out what was getting me stuck. I was on Orca 1.4 (via git clone, setup.py). This was updated this past summer: UDST/orca@fa560ee.

There were several instances of columns passed initially as 0 (int) and updated to a float value in BAUS, and they were triggering this in my upgraded orca version. I rolled back to 1.3 and didn't get this error.

Do you think just sticking with old version 1.3 of orca would be a problem for running BAUS?

Paul

Paul Sohn
University of California, Berkeley, MCP/MS '16
City and Regional Planning / Transportation Engineering

On Thu, Sep 22, 2016 at 4:20 PM, Samuel Maurer maurer@berkeley.edu wrote:

Weird, i haven’t gotten that one in a while. Maybe one of the supporting libraries is out of date or has the wrong branch checked out?

Try updating everything that’s listed in this setup script, and see if your still get the error:
https://github.com/ual/bayarea_urbansim/blob/ual-development/ual_baus_install_template.sh

On Sep 22, 2016, at 2:47 PM, Paul Sohn paulsohn@berkeley.edu wrote:

Hi Sam,
Running into what looks like a familiar error and wondering if you have ideas- Looks like the error has to do with the ual_rsh_simulate function in ual.py. How should I get started debugging this kind of thing?

Running step 'ual_rsh_simulate'
count 2785868.000
mean 430.255
std 205.698
min -4326.398
25% 283.449
50% 397.186
75% 538.506
max 1343.483
dtype: float64
Traceback (most recent call last):
File "run.py", line 288, in
run_models(MODE, SCENARIO)
File "run.py", line 209, in run_models
], iter_vars=range(2010, 2010+1))
File "/home/pksohn/orca/orca/orca.py", line 1934, in run
step()
File "/home/pksohn/orca/orca/orca.py", line 791, in call
return self._func(**kwargs)
File "/home/pksohn/bayarea_urbansim/baus/ual.py", line 704, in ual_rsh_simulate
out_fname = 'unit_residential_price')
File "/home/pksohn/urbansim_defaults/urbansim_defaults/utils.py", line 268, in hedonic_simulate
tbl.update_col_from_series(out_fname, price_or_rent)
File "/home/pksohn/orca/orca/orca.py", line 343, in update_col_from_series
raise ValueError(err_msg)
ValueError: Data type mismatch, existing:int64, update:float64
None
Traceback (most recent call last):
File "run.py", line 298, in
raise e
ValueError: Data type mismatch, existing:int64, update:float64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant