need to independently define z layers from grid reading in