Three things.

Make blocksize an option. Improve pyramid script. And
get_spatial_reference now accepts an epsg code even if it is a string.