make use of plpython Global GD specific to rd and ob