def METHOD_NAME(args):
    '''
    Helper fcn for checking argument compatibility and returns the
    correct variables
    '''
    #########################################################################################################################
    # Directories
    if args.weather_model_directory is None:
        args.weather_model_directory = os.path.join(args.output_directory, 'weather_files')
    os.makedirs(args.output_directory, exist_ok=True)
    os.makedirs(args.weather_model_directory, exist_ok=True)
    args['weather_model'].set_wmLoc(args.weather_model_directory)
    #########################################################################################################################
    # Date and Time parsing
    args.date_list = [datetime.combine(d, args.time) for d in args.date_list]
    if (len(args.date_list) > 1) & (args.orbit_file is not None):
        logger.warning('Only one orbit file is being used to get the '
                        'look vectors for all requested times, if you '
                        'want to use separate orbit files you will '
                        'need to run raider separately for each time.')
    args.los.setTime(args.date_list[0])
    #########################################################################################################################
    # filenames
    wetNames, hydroNames = [], []
    for d in args.date_list:
        if (args.aoi.type() != 'bounding_box'):
            # Handle the GNSS station file
            if (args.aoi.type()=='station_file'):
                wetFilename = os.path.join(
                    args.output_directory,
                    f'{args.weather_model._dataset.upper()}_Delay'\
                    f'_{d.strftime("%Y%m%dT%H%M%S")}_ztd.csv'
                )
                hydroFilename = '' # only the 'wetFilename' is used for the station_file
                # copy the input station file to the output location for editing
                indf = pd.read_csv(args.aoi._filename).drop_duplicates(subset=["Lat", "Lon"])
                indf.to_csv(wetFilename, index=False)
            else:
                # This implies rasters
                fmt = get_raster_ext(args.file_format)
                wetFilename, hydroFilename = makeDelayFileNames(
                    d,
                    args.los,
                    fmt,
                    args.weather_model._dataset.upper(),
                    args.output_directory,
                )
        else:
            # In this case a cube file format is needed
            if args.file_format not in '.nc .h5 h5 hdf5 .hdf5 nc'.split():
                fmt = 'nc'
                logger.debug('Invalid extension %s for cube. Defaulting to .nc', args.file_format)
            else:
                fmt = args.file_format.strip('.').replace('df', '')
            wetFilename, hydroFilename = makeDelayFileNames(
                d,
                args.los,
                fmt,
                args.weather_model._dataset.upper(),
                args.output_directory,
            )
        wetNames.append(wetFilename)
        hydroNames.append(hydroFilename)
    args.wetFilenames = wetNames
    args.hydroFilenames = hydroNames
    return args