lizardsystem/lizard-waterbalance — Issue #10: add a function for coupling timeseries to area/bucket/pumpingstation objects
Author: mfrasca
Created: 2011-11-04 11:22:05+00:00
State: open

the result of reading a `Parameters.xml` file is a shallow tree of objects, the root is the `Area` (the first object in the file) and the root has groups of leaves (in our case two of them: bucket and pumpingstation).

after reading this structure, we will want to associate time series to the objects in the structure.

time series come from a `Tijdreeksen.xml` file and reading it with our `TimeSeries.as_dict` makes them fit in a dictionary, with keys equal to their (location_id, parameter_id) 2-tuples.

each object has a `location_id` field, and for each type of object we expect a specific set of time series.

what we miss is some functionality for selecting objects from the dictionary and associating them in a recognizable way to the correct objects.