A possibly way to exclude sites that are MASKed to to use s.out.ascii | r.what MASK and eliminate the coordinate pairs that have catetory 0 in the MASK. Michael