def METHOD_NAME(inputs, mosaic_dir=config.directory.mosaic_dir):
    """
    :param inputs: a dictionary with lon, lat, vs30, siteid
    Build the job.ini parameters for the given lon, lat extracting them
    from the mosaic files.
    """
    getter = mosaic.MosaicGetter()
    model = getter.get_model_by_lon_lat(inputs['lon'], inputs['lat'])
    ini = os.path.join(mosaic_dir, model, 'in', 'job_vs30.ini')
    params = readinput.get_params(ini)
    if 'siteid' in inputs:
        params['description'] = 'AELO for ' + inputs['siteid']
    else:
        params['description'] += ' (%(lon)s, %(lat)s)' % inputs
    params['ps_grid_spacing'] = '0.'  # required for disagg_by_src
    params['pointsource_distance'] = '100.'
    params['disagg_by_src'] = 'true'
    params['use_rates'] = 'true'
    params['sites'] = '%(lon)s %(lat)s' % inputs
    if 'vs30' in inputs:
        params['override_vs30'] = '%(vs30)s' % inputs
    params['distance_bin_width'] = '25'
    params['num_epsilon_bins'] = '3'
    params['postproc_func'] = 'compute_rtgm.main'
    # params['cachedir'] = datastore.get_datadir()
    return params