You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: