Skip to content

Instantly share code, notes, and snippets.

from modeling.run_model.GrowthModelUrbanTreeDatabase import _growth_data
results = []
for itree_region, otm_codes in _growth_data.iteritems():
for otm_code, (age_to_dbh, min_age, max_age) in otm_codes.iteritems():
key = '{} {}'.format(itree_region, otm_code)
min_dbh = age_to_dbh(min_age)
min_dbh1 = age_to_dbh(min_age + 1)
/*
* L.TileLayer is used for standard xyz-numbered tile layers.
*/
L.Google = L.Class.extend({
includes: L.Mixin.Events,
options: {
minZoom: 0,
maxZoom: 18,
tileSize: 256,