def METHOD_NAME(self, key, info):
    res = self.nc[key['name']]
    if key['name'] in ['owiHs', 'owiWl', 'owiDirmet']:
        res = xr.DataArray(res, dims=['y', 'x', 'oswPartitions'])
    elif key['name'] in ['owiNrcs', 'owiNesz', 'owiNrcsNeszCorr']:
        res = xr.DataArray(res, dims=['y', 'x', 'oswPolarisation'])
    elif key['name'] in ['owiPolarisationName']:
        res = xr.DataArray(res, dims=['owiPolarisation'])
    elif key['name'] in ['owiCalConstObsi', 'owiCalConstInci']:
        res = xr.DataArray(res, dims=['owiIncSize'])
    elif key['name'].startswith('owi'):
        res = xr.DataArray(res, dims=['y', 'x'])
    else:
        res = xr.DataArray(res, dims=['y', 'x'])
    res.attrs.update(info)
    if '_FillValue' in res.attrs:
        res = res.where(res != res.attrs['_FillValue'])
        res.attrs['_FillValue'] = np.nan
    return res