pyroSAR/gamma/parser_demo.py
def par_S1_GRD(GeoTIFF, annotation_XML, calibration_XML, noise_XML, MLI_par, MLI, GRD_par='-', GRD='-', eflg='-', rps='-', noise_pwr='-', logpath=None):
    """
    | Generate MLI and GRD images and parameter files from a Sentinel-1 GRD product
    | Copyright 2016, Gamma Remote Sensing, v2.8 17-Aug-2016 awi/clw/ts
    
    Parameters
    ----------
    GeoTIFF:
        (input) image data file in GeoTIFF format (\*.tiff)
    annotation_XML:
        (input) Sentinel-1 L1 XML annotation file
    calibration_XML:
        (input) Sentinel-1 L1 radiometric calibration XML file (enter - for no radiometric calibration)
    noise_XML:
        (input) Sentinel-1 L1 noise XML file (enter - to not add back thermal noise)
            * NOTE: The L1 GRD product has thermal noise subtracted, enter noise_XML to add back thermal noise
    
    MLI_par:
        (output) MLI parameter file (example: yyyymmdd_pp.MLI.par)
    MLI:
        (output) MLI data file in slant range geometry (example: yyyymmdd_pp.MLI)
    GRD_par:
        (output) GRD parameter file (example: yyyymmdd_pp.GRD.par, enter - for none)
    GRD:
        (output) GRD data file (example: yyyymmdd_pp.GRD, enter - for none)
    eflg:
        GR-SR grid extrapolation flag:
            * 0: no extrapolation of the GR-SR grid beyond the grid boundaries
            * 1: permit extrapolation of the GR-SR grid to cover the entire image (default)
            * NOTE: extrapolation of the GR-SR grid may introduce geocoding errors
    
    rps:
        slant range pixel spacing (m) (enter - for default: calculated from ground-range parameters)
    noise_pwr:
        noise intensity for each MLI sample in slant range using data from noise_XML
            * NOTE:  when the noise_pwr file is specified, noise power correction will NOT be applied to the MLI data values
    
    logpath: str or None
        a directory to write command logfiles to
    """
    process(['/cluster/GAMMA_SOFTWARE-20161207/ISP/bin/par_S1_GRD', GeoTIFF, annotation_XML, calibration_XML, noise_XML, MLI_par, MLI, GRD_par, GRD, eflg, rps, noise_pwr], logpath=logpath)

    | Generate MLI and GRD images and parameter files from a Sentinel-1 GRD product
    | Copyright 2016, Gamma Remote Sensing, v2.8 17-Aug-2016 awi/clw/ts
    
    Parameters
    ----------
    GeoTIFF:
        (input) image data file in GeoTIFF format (\*.tiff)
    annotation_XML:
        (input) Sentinel-1 L1 XML annotation file
    calibration_XML:
        (input) Sentinel-1 L1 radiometric calibration XML file (enter - for no radiometric calibration)
    noise_XML:
        (input) Sentinel-1 L1 noise XML file (enter - to not add back thermal noise)
            * NOTE: The L1 GRD product has thermal noise subtracted, enter noise_XML to add back thermal noise
    
    MLI_par:
        (output) MLI parameter file (example: yyyymmdd_pp.MLI.par)
    MLI:
        (output) MLI data file in slant range geometry (example: yyyymmdd_pp.MLI)
    GRD_par:
        (output) GRD parameter file (example: yyyymmdd_pp.GRD.par, enter - for none)
    GRD:
        (output) GRD data file (example: yyyymmdd_pp.GRD, enter - for none)
    eflg:
        GR-SR grid extrapolation flag:
            * 0: no extrapolation of the GR-SR grid beyond the grid boundaries
            * 1: permit extrapolation of the GR-SR grid to cover the entire image (default)
            * NOTE: extrapolation of the GR-SR grid may introduce geocoding errors
    
    rps:
        slant range pixel spacing (m) (enter - for default: calculated from ground-range parameters)
    noise_pwr:
        noise intensity for each MLI sample in slant range using data from noise_XML
            * NOTE:  when the noise_pwr file is specified, noise power correction will NOT be applied to the MLI data values
    
    logpath: str or None
        a directory to write command logfiles to
    
| Generate MLI and GRD images and parameter files from a Sentinel-1 GRD product
| Copyright 2016, Gamma Remote Sensing, v2.8 17-Aug-2016 awi/clw/ts

Parameters





slant range pixel spacing (m) (enter - for default: calculated from ground-range parameters)
noise_pwr:
noise intensity for each MLI sample in slant range using data from noise_XML
NOTE:  when the noise_pwr file is specified, noise power correction will NOT be applied to the MLI data values

str or None
a directory to write command logfiles to
| Generate MLI and GRD images and parameter files from a Sentinel - 1 GRD product | Copyright 2016 Gamma Remote Sensing v2 . 8 17 - Aug - 2016 awi / clw / ts Parameters slant range pixel spacing ( m ) ( enter - for default : calculated from ground - range parameters ) noise_pwr : noise intensity for each MLI sample in slant range using data from noise_XML NOTE : when the noise_pwr file is specified noise power correction will NOT be applied to the MLI data values str or None a directory to write command logfiles to
def par_S1_GRD(GeoTIFF, annotation_XML, calibration_XML, noise_XML, MLI_par, MLI, GRD_par='-', GRD='-', eflg='-', rps='-', noise_pwr='-', logpath=None):
    process(['/cluster/GAMMA_SOFTWARE-20161207/ISP/bin/par_S1_GRD', GeoTIFF, annotation_XML, calibration_XML, noise_XML, MLI_par, MLI, GRD_par, GRD, eflg, rps, noise_pwr], logpath=logpath)
def par_S1_GRD ( GeoTIFF , annotation_XML , calibration_XML , noise_XML , MLI_par , MLI , GRD_par = '-' , GRD = '-' , eflg = '-' , rps = '-' , noise_pwr = '-' , logpath = None ) : process ( [ '/cluster/GAMMA_SOFTWARE-20161207/ISP/bin/par_S1_GRD' , GeoTIFF , annotation_XML , calibration_XML , noise_XML , MLI_par , MLI , GRD_par , GRD , eflg , rps , noise_pwr ] , logpath = logpath )
| Generate MLI and GRD images and parameter files from a Sentinel-1 GRD product
| Copyright 2016, Gamma Remote Sensing, v2.8 17-Aug-2016 awi/clw/ts
| Generate MLI and GRD images and parameter files from a Sentinel - 1 GRD product | Copyright 2016 Gamma Remote Sensing v2 . 8 17 - Aug - 2016 awi / clw / ts
"""
    | Generate MLI and GRD images and parameter files from a Sentinel-1 GRD product
    | Copyright 2016, Gamma Remote Sensing, v2.8 17-Aug-2016 awi/clw/ts
    
    Parameters
    ----------
    GeoTIFF:
        (input) image data file in GeoTIFF format (\*.tiff)
    annotation_XML:
        (input) Sentinel-1 L1 XML annotation file
    calibration_XML:
        (input) Sentinel-1 L1 radiometric calibration XML file (enter - for no radiometric calibration)
    noise_XML:
        (input) Sentinel-1 L1 noise XML file (enter - to not add back thermal noise)
            * NOTE: The L1 GRD product has thermal noise subtracted, enter noise_XML to add back thermal noise
    
    MLI_par:
        (output) MLI parameter file (example: yyyymmdd_pp.MLI.par)
    MLI:
        (output) MLI data file in slant range geometry (example: yyyymmdd_pp.MLI)
    GRD_par:
        (output) GRD parameter file (example: yyyymmdd_pp.GRD.par, enter - for none)
    GRD:
        (output) GRD data file (example: yyyymmdd_pp.GRD, enter - for none)
    eflg:
        GR-SR grid extrapolation flag:
            * 0: no extrapolation of the GR-SR grid beyond the grid boundaries
            * 1: permit extrapolation of the GR-SR grid to cover the entire image (default)
            * NOTE: extrapolation of the GR-SR grid may introduce geocoding errors
    
    rps:
        slant range pixel spacing (m) (enter - for default: calculated from ground-range parameters)
    noise_pwr:
        noise intensity for each MLI sample in slant range using data from noise_XML
            * NOTE:  when the noise_pwr file is specified, noise power correction will NOT be applied to the MLI data values
    
    logpath: str or None
        a directory to write command logfiles to
    """
GeoTIFF
annotation_XML
calibration_XML
noise_XML
MLI_par
MLI
GRD_par
GRD
eflg
rps
noise_pwr
logpath