def METHOD_NAME(iargs=None):
    # parse
    parser = create_parser()
    inps = parser.parse_args(args=iargs)
    # import
    from mintpy.objects import TIMESERIES_KEY_NAMES
    from mintpy.utils import readfile, utils as ut
    # check
    inps.work_dir = os.path.abspath(os.path.dirname(inps.file))
    atr = readfile.read_attribute(inps.file)
    # default + check: geom_file for file in radar coord
    if 'Y_FIRST' not in atr.keys():
        geom_ds_list = ['latitude', 'longitude']
        # default geom_file
        if not inps.geom_file:
            inps.geom_file = ut.get_geometry_file(
                geom_ds_list,
                work_dir=inps.work_dir,
                coord='radar')
        # check existence
        if not inps.geom_file or not os.path.isfile(inps.geom_file):
            msg = f'No geometry file with {geom_ds_list} in radar coord found!'
            raise FileNotFoundError(msg)
    # check: dset option (required for timeseries and ifgramStack files)
    ftype = atr['FILE_TYPE']
    if not inps.dset and ftype in TIMESERIES_KEY_NAMES + ['ifgramStack']:
        raise Exception(f'No date/date12 specified for {ftype} file!')
    return inps