ENH: more informative error message when missing fields in input
ENH: set chunks and targets in demos so that cosmo_stat is happy