#NEWLINE# def selectRasters( self , tlc , shape , props ) : #NEWLINE# #INDENT# cellSize = props [ 'cellSize' ] #NEWLINE# v = ( 0.5 * ( cellSize [ 0 ] + cellSize [ 1 ] ) ) #NEWLINE# if ( v < shape . threshold ) : #NEWLINE# #INDENT# return ( 'r1' , ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return ( 'r2' , )