start with nan-filled array and decide whether to create a new amoc_index-file or to fill the existing one)