updated example properties
improved error message
update - do not write files for empty grids