AIFDR/riab — Issue #172: make scaling a property of get_data
Author: uniomni
Created: 2011-10-29 02:33:26+00:00
State: open

With scaling, resolution and keywords a bit messy, we can still make the plugins simple by adding python keyword scaling to get_data():

P = population.get_data(scaling=True)

will take care of differences in resolution and scale accordingly. The code for this is what is written in allen_fatality_function, but why not make it general. The user need only decide whether the layer should be scaled or not. Of course, this could also be a keyword in the .keywords file to be used in case scaling is None