[UrbanSim-Users] invoking computation on a new variable

From: Galen Justus Wilkerson <gwilkers_at_uvm.edu>
Date: Thu, 20 Dec 2007 13:53:51 -0500

The following page describes how to compute a variable:

http://www.urbansim.org/docs/opus-userguide/node75.html

I'm just trying to understand when I would call this, and what
packages I need to load beforehand.

So, I have created a variable "roads_sqft", which is dependent on our
chittenden.gridcell variable "percent_roads" that is stored in the
cache.

Just gradually understanding all of this-

At the moment, I'm trying to invoke this within an indicator script,
then make a map of roads_sqft, similar to the examples in
"make_indicators_example.py".

Looks like I just need to load the appropriate dataset and set
dataset_pool, then call something like:

gridcell.compute_variables("chittenden.gridcell.roads_sqft",
                                    dataset_pool=dataset_pool)

thanks for any help,
Galen
Received on Thu Dec 20 2007 - 10:53:51 PST

This archive was generated by hypermail 2.2.0 : Thu Dec 20 2007 - 10:53:53 PST