list_parser.add_argument('-outdir',action='store',required=True,help='Output directory for slope image')
# Select wet or dry model for inversion from GPM data
list_parser=subparsers.add_parser('gpm',help="Downloads, extracts and computes synthesis of NASA GPM raster for TF model selection (wet or dry)")
list_parser.add_argument('-sardir',action='store',required=True,help='Snap DEM SRTM 1Sec HGT directory containing zip file')
list_parser=subparsers.add_parser('gpm',help="Downloads, extracts and computes synthesis of NASA Global Precipitation Model raster for TF model selection (wet or dry)")
list_parser.add_argument('-sardir',action='store',required=True,help='Directory to find Sentinel-1 images')
list_parser.add_argument('-sardirtype',choices=['snap','s2tile'],default='s2tile',required=False,help='[Optional] Choose between Sentinel-1 images processed by ESA-SNAP software ("Sigma0_VV.img" and "incidenceAngleFromEllipsoid.img" in .data directory) \
AND Sentinel-1 images processed by SoilMoistureBatchExtractAndMosaic2S2Tile.py')
list_parser.add_argument('-sarmode',choices=['vv','vh'],default='vv',required=False,help='[Optional] Choose between VV or VH mode for input SAR image, default vv')
list_parser.add_argument('-gpmdir',action='store',required=True,help='Directory where GPM data will be downloaded')
list_parser.add_argument('-gpmdir',action='store',required=True,help='Directory where GPM data will be downloaded, autodetect previous downloads')
list_parser.add_argument('-zone',action='store',required=True,help='Geographic zone reference for output files naming')
list_parser.add_argument('-outtxt',action='store',required=True,help='OUtput text file where each Sentinel-1 dates correspond their model dry or wet to use')
list_parser.add_argument('--no-resampling',dest='resampling',action='store_false',help='Resample GPM 100km to 10m')
list_parser.set_defaults(resampling=True)
list_parser.add_argument('-outtxt',action='store',required=True,help='Output text file where each Sentinel-1 dates correspond their model dry or wet to use')
list_parser.add_argument('--no-resampling',dest='resampling',action='store_false',help='[Optional] Resample GPM 100km to 10m, default false')