def METHOD_NAME(self, key, info):
    """Get the dataset."""
    dims = ['y', 'x']
    if self[key['name']].ndim == 3:
        dims = ['y', 'x', 'selection']
    data = self[key['name']]
    if "valid range" in data.attrs:
        data.attrs.update({'valid_range': data.attrs.pop('valid range')})
    if key['name'] in 'wvc_row_time':
        data = data.rename({data.dims[0]: 'y'})
    else:
        dim_map = {curr_dim: new_dim for curr_dim, new_dim in zip(data.dims, dims)}
        data = data.rename(dim_map)
        data = self._mask_data(data)
        data = self._scale_data(data)
        if key['name'] in 'wvc_lon':
            _attrs = data.attrs
            data = xr.where(data > 180, data - 360., data)
            data.attrs.update(_attrs)
    data.attrs.update(info)
    data.attrs.update(self.get_metadata())
    data.attrs.update(self.get_variable_metadata())
    if "Platform_ShortName" in data.attrs:
        data.attrs.update({'platform_name': data.attrs['Platform_ShortName']})
    return data