function bal_partitions = cosmo_balance_partitions(partitions, ds, varargin)
cosmo balance dataset hdr
cosmo cartprod hdr