adding some logic to ensure rgrid datasets are producted in CommonDataset.open if the axes have the same length, but cdm_data_type attribute is set to grid