pyroSAR/S1/auxil.py
def init_parser():
    """
    initialize argument parser for S1 processing utilities
    """
    parser = argparse.ArgumentParser()
    parser.add_argument('-t', '--transform', action='store_true', help='transform the final DEM to UTM coordinates')
    parser.add_argument('-l', '--logfiles', action='store_true', help='create logfiles of the executed GAMMA commands')
    parser.add_argument('-i', '--intermediates', action='store_true', help='keep intermediate files')
    parser.add_argument('-q', '--quiet', action='store_true', help='suppress standard console prints')
    parser.add_argument('-tr', '--targetresolution', default=20, help='the target resolution in meters for x and y',
                        type=int)
    parser.add_argument('-fg', '--func_geoback', default=2, help='backward geocoding interpolation function; '
                                                                 '0 - Nearest Neighbor, 1 - Bicubic Spline, 2 - Bicubic Spline-Log; '
                                                                 'method 1: negative values possible (e.g. in urban areas) - use method 2 to avoid this',
                        type=int)
    parser.add_argument('-fi', '--func_interp', default=0,
                        help='function for interpolation of layover/shadow/foreshortening/DEM gaps; '
                             '0 - set to 0, 1 - linear interpolation, 2 - actual value, 3 - nn-thinned', type=int)
    parser.add_argument('-poe', '--poedir', default=None,
                        help='directory containing aux_poeorb (precise orbit ephemerides) orbit state vector files')
    parser.add_argument('-res', '--resdir', default=None,
                        help='directory containing aux_resorb (restituted orbit) orbit state vector files')
    parser.add_argument('zipfile', help='S1 zipped scene archive to be used')
    parser.add_argument('tempdir', help='temporary directory for intermediate files')
    parser.add_argument('outdir', help='output directory')
    parser.add_argument('srtmdir', help='directory containing SRTM hgt tiles (subdirectories possible)')
    return parser

    initialize argument parser for S1 processing utilities
    
initialize argument parser for S1 processing utilities
initialize argument parser for S1 processing utilities
def init_parser():
    parser = argparse.ArgumentParser()
    parser.add_argument('-t', '--transform', action='store_true', help='transform the final DEM to UTM coordinates')
    parser.add_argument('-l', '--logfiles', action='store_true', help='create logfiles of the executed GAMMA commands')
    parser.add_argument('-i', '--intermediates', action='store_true', help='keep intermediate files')
    parser.add_argument('-q', '--quiet', action='store_true', help='suppress standard console prints')
    parser.add_argument('-tr', '--targetresolution', default=20, help='the target resolution in meters for x and y',
                        type=int)
    parser.add_argument('-fg', '--func_geoback', default=2, help='backward geocoding interpolation function; '
                                                                 '0 - Nearest Neighbor, 1 - Bicubic Spline, 2 - Bicubic Spline-Log; '
                                                                 'method 1: negative values possible (e.g. in urban areas) - use method 2 to avoid this',
                        type=int)
    parser.add_argument('-fi', '--func_interp', default=0,
                        help='function for interpolation of layover/shadow/foreshortening/DEM gaps; '
                             '0 - set to 0, 1 - linear interpolation, 2 - actual value, 3 - nn-thinned', type=int)
    parser.add_argument('-poe', '--poedir', default=None,
                        help='directory containing aux_poeorb (precise orbit ephemerides) orbit state vector files')
    parser.add_argument('-res', '--resdir', default=None,
                        help='directory containing aux_resorb (restituted orbit) orbit state vector files')
    parser.add_argument('zipfile', help='S1 zipped scene archive to be used')
    parser.add_argument('tempdir', help='temporary directory for intermediate files')
    parser.add_argument('outdir', help='output directory')
    parser.add_argument('srtmdir', help='directory containing SRTM hgt tiles (subdirectories possible)')
    return parser
def init_parser ( ) : parser = argparse . ArgumentParser ( ) parser . add_argument ( '-t' , '--transform' , action = 'store_true' , help = 'transform the final DEM to UTM coordinates' ) parser . add_argument ( '-l' , '--logfiles' , action = 'store_true' , help = 'create logfiles of the executed GAMMA commands' ) parser . add_argument ( '-i' , '--intermediates' , action = 'store_true' , help = 'keep intermediate files' ) parser . add_argument ( '-q' , '--quiet' , action = 'store_true' , help = 'suppress standard console prints' ) parser . add_argument ( '-tr' , '--targetresolution' , default = 20 , help = 'the target resolution in meters for x and y' , type = int ) parser . add_argument ( '-fg' , '--func_geoback' , default = 2 , help = 'backward geocoding interpolation function; ' '0 - Nearest Neighbor, 1 - Bicubic Spline, 2 - Bicubic Spline-Log; ' 'method 1: negative values possible (e.g. in urban areas) - use method 2 to avoid this' , type = int ) parser . add_argument ( '-fi' , '--func_interp' , default = 0 , help = 'function for interpolation of layover/shadow/foreshortening/DEM gaps; ' '0 - set to 0, 1 - linear interpolation, 2 - actual value, 3 - nn-thinned' , type = int ) parser . add_argument ( '-poe' , '--poedir' , default = None , help = 'directory containing aux_poeorb (precise orbit ephemerides) orbit state vector files' ) parser . add_argument ( '-res' , '--resdir' , default = None , help = 'directory containing aux_resorb (restituted orbit) orbit state vector files' ) parser . add_argument ( 'zipfile' , help = 'S1 zipped scene archive to be used' ) parser . add_argument ( 'tempdir' , help = 'temporary directory for intermediate files' ) parser . add_argument ( 'outdir' , help = 'output directory' ) parser . add_argument ( 'srtmdir' , help = 'directory containing SRTM hgt tiles (subdirectories possible)' ) return parser
initialize argument parser for S1 processing utilities
initialize argument parser for S1 processing utilities
"""
    initialize argument parser for S1 processing utilities
    """