Hello,
I'm trying to estimate the
residential_development_project_location_choice_model. I'm getting
the following error in the compute method of
total_maximum_development_SSS.py. Before I spent too much time
digging, I wanted to see if anyone had encountered something like this.
Thanks,
Brian Miles
Graduate Assistant
Spatial Analysis Lab - Rubenstein School of Environment and Natural
Resources
University of Vermont
excerpt from stack trace:
File "C:\opusworkspace-svn\urbansim\gridcell
\total_maximum_development_SSS.py"
, line 40, in compute
index=where(is_developable)[0])[self.type][:,
1]).astype(self._return_type)
File "C:\opusworkspace-svn\urbansim\datasets\gridcell_dataset.py",
line 56, in
get_development_constrained_capacity
constraints.get_attribute_names(), ["min", "max"])
File "C:\opusworkspace-svn\opus_core\misc.py", line 325, in
remove_elements_wi
th_matched_prefix_from_list
m = apply_along_axis(match_prefix, 1, pl.reshape(pl.size,1),
array(valuelist
))
File "C:\Python25\lib\site-packages\numpy-1.0.3-py2.5-win32.egg
\numpy\lib\shap
e_base.py", line 30, in apply_along_axis
res = func1d(arr[tuple(i.tolist())],*args)
File "C:\opusworkspace-svn\opus_core\misc.py", line 320, in
match_prefix
t = apply_along_axis(match_single_element, 1,
arr.reshape(arr.size,1), prefi
x[0])
File "C:\Python25\lib\site-packages\numpy-1.0.3-py2.5-win32.egg
\numpy\lib\shap
e_base.py", line 30, in apply_along_axis
res = func1d(arr[tuple(i.tolist())],*args)
IndexError: invalid index
Received on Tue Jan 08 2008 - 09:22:21 PST
This archive was generated by hypermail 2.2.0 : Tue Jan 08 2008 - 09:22:23 PST