def METHOD_NAME(self, ds_id, ds_info):
    """Get dataset."""
    data = self[ds_id['name']]
    data.attrs = self.get_metadata(data, ds_info)
    data = self._remove_time_coordinate(data)
    data = self._roll_dataset_lon_coord(data)
    data = self._rename_coords(data)
    data = self._mask_dataset(data)
    if len(data.dims) >= 2 and all([dim in data.dims for dim in ['x', 'y']]):
        # Remove the first and last row as these values extends beyond +-90 latitude
        # if the dataset contains the y dimmension.
        # As this is data over open sea these has no values.
        data = data.where((data.y > -90.0) & (data.y < 90.0), drop=True)
    elif len(data.dims) == 1 and 'y' in data.dims:
        data = data.where((data.y > 0) & (data.y < len(data.y) - 1), drop=True)
    return data