cosmo dim match hdr

function msk = cosmo_dim_match(ds, varargin)