def geocode_conf(config):
    """
    Returns a dictionary of additional parameters for :func:`pyroSAR.snap.util.geocode` based on processing
    configurations provided by the config file.
    
    Parameters
    ----------
    config: dict
        Dictionary of the parsed config parameters for the current process.
    
    Returns
    -------
    dict
        Dictionary of parameters that can be passed to :func:`pyroSAR.snap.util.geocode`
    """
    return {'spacing': {'IW': 10,
                        'SM': 10,
                        'EW': 20}[config['acq_mode']],
            'scaling': 'linear',
            'groupsize': 1,
            'allow_RES_OSV': True,
            'alignToStandardGrid': True,
            'export_extra': ['localIncidenceAngle', 'incidenceAngleFromEllipsoid',
                             'scatteringArea', 'layoverShadowMask', 'gammaSigmaRatio'],
            'refarea': ['sigma0', 'gamma0'],
            'externalDEMApplyEGM': False,
            'demResamplingMethod': 'BILINEAR_INTERPOLATION',
            'clean_edges': True,
            'clean_edges_npixels': 4,
            'test': False,
            'cleanup': True}