get_header_viewr function

Extract header info from imported viewr object