Take account of subsampling in exported array

In get_read/write_array take account of the width's subsampling.