Function for generating often used NcDims